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
){
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_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6884 PyObject
* obj0
= 0 ;
6886 (char *) "self", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (int)(arg1
)->GetItemHeight();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= SWIG_FromInt((int)result
);
6906 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6915 (char *) "self",(char *) "pt", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_FromInt((int)result
);
6939 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6945 PyObject
* obj0
= 0 ;
6946 PyObject
* obj1
= 0 ;
6947 PyObject
* obj2
= 0 ;
6949 (char *) "self",(char *) "x",(char *) "y", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6955 arg2
= (int) SWIG_AsInt(obj1
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6957 arg3
= (int) SWIG_AsInt(obj2
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_FromInt((int)result
);
6973 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6976 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6978 return Py_BuildValue((char *)"");
6980 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6981 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6986 static PyObject
*_wrap_TextCtrlNameStr_get() {
6991 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6993 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7000 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxColour
const &arg1_defvalue
= wxNullColour
;
7003 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7004 wxColour
const &arg2_defvalue
= wxNullColour
;
7005 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7006 wxFont
const &arg3_defvalue
= wxNullFont
;
7007 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7008 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7012 PyObject
* obj0
= 0 ;
7013 PyObject
* obj1
= 0 ;
7014 PyObject
* obj2
= 0 ;
7015 PyObject
* obj3
= 0 ;
7017 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7024 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7030 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7034 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7038 PyErr_SetString(PyExc_TypeError
,"null reference");
7043 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7060 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7062 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7063 PyObject
* obj0
= 0 ;
7065 (char *) "self", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 Py_INCREF(Py_None
); resultobj
= Py_None
;
7085 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7088 PyObject
* obj0
= 0 ;
7090 (char *) "self", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 Py_INCREF(Py_None
); resultobj
= Py_None
;
7110 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
;
7112 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7113 wxColour
*arg2
= 0 ;
7115 PyObject
* obj0
= 0 ;
7116 PyObject
* obj1
= 0 ;
7118 (char *) "self",(char *) "colText", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7126 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 Py_INCREF(Py_None
); resultobj
= Py_None
;
7142 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7145 wxColour
*arg2
= 0 ;
7147 PyObject
* obj0
= 0 ;
7148 PyObject
* obj1
= 0 ;
7150 (char *) "self",(char *) "colBack", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7158 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7178 long arg3
= (long) wxTEXT_ATTR_FONT
;
7179 PyObject
* obj0
= 0 ;
7180 PyObject
* obj1
= 0 ;
7181 PyObject
* obj2
= 0 ;
7183 (char *) "self",(char *) "font",(char *) "flags", NULL
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7193 PyErr_SetString(PyExc_TypeError
,"null reference");
7197 arg3
= (long) SWIG_AsLong(obj2
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7204 wxPyEndAllowThreads(__tstate
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7207 Py_INCREF(Py_None
); resultobj
= Py_None
;
7214 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
;
7216 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7221 (char *) "self",(char *) "alignment", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7227 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7246 wxArrayInt
*arg2
= 0 ;
7247 bool temp2
= False
;
7248 PyObject
* obj0
= 0 ;
7249 PyObject
* obj1
= 0 ;
7251 (char *) "self",(char *) "tabs", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7258 if (! PySequence_Check(obj1
)) {
7259 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7262 arg2
= new wxArrayInt
;
7264 int i
, len
=PySequence_Length(obj1
);
7265 for (i
=0; i
<len
; i
++) {
7266 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7267 PyObject
* number
= PyNumber_Int(item
);
7268 arg2
->Add(PyInt_AS_LONG(number
));
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 Py_INCREF(Py_None
); resultobj
= Py_None
;
7282 if (temp2
) delete arg2
;
7287 if (temp2
) delete arg2
;
7293 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7297 int arg3
= (int) 0 ;
7298 PyObject
* obj0
= 0 ;
7299 PyObject
* obj1
= 0 ;
7300 PyObject
* obj2
= 0 ;
7302 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7308 arg2
= (int) SWIG_AsInt(obj1
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 arg3
= (int) SWIG_AsInt(obj2
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 (arg1
)->SetLeftIndent(arg2
,arg3
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 Py_INCREF(Py_None
); resultobj
= Py_None
;
7328 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7332 PyObject
* obj0
= 0 ;
7333 PyObject
* obj1
= 0 ;
7335 (char *) "self",(char *) "indent", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7341 arg2
= (int) SWIG_AsInt(obj1
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 (arg1
)->SetRightIndent(arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7361 PyObject
* obj0
= 0 ;
7362 PyObject
* obj1
= 0 ;
7364 (char *) "self",(char *) "flags", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7370 arg2
= (long) SWIG_AsLong(obj1
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 (arg1
)->SetFlags(arg2
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 Py_INCREF(Py_None
); resultobj
= Py_None
;
7386 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7388 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7414 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7416 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7418 PyObject
* obj0
= 0 ;
7420 (char *) "self", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7442 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7446 PyObject
* obj0
= 0 ;
7448 (char *) "self", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7470 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7474 PyObject
* obj0
= 0 ;
7476 (char *) "self", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7498 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7504 (char *) "self", NULL
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7526 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7530 PyObject
* obj0
= 0 ;
7532 (char *) "self", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7554 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7558 PyObject
* obj0
= 0 ;
7560 (char *) "self", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7582 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7584 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7587 PyObject
* obj0
= 0 ;
7588 PyObject
* obj1
= 0 ;
7590 (char *) "self",(char *) "flag", NULL
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7596 arg2
= (long) SWIG_AsLong(obj1
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7600 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7614 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
;
7616 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7618 PyObject
* obj0
= 0 ;
7620 (char *) "self", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7630 result
= (wxColour
*) &_result_ref
;
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7643 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7649 (char *) "self", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7659 result
= (wxColour
*) &_result_ref
;
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7672 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7678 (char *) "self", NULL
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7688 result
= (wxFont
*) &_result_ref
;
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7695 wxFont
* resultptr
= new wxFont(*result
);
7696 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7704 static PyObject
*_wrap_TextAttr_GetAlignment(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_GetAlignment",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();
7718 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_FromInt((int)result
);
7730 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7736 (char *) "self", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7746 result
= (wxArrayInt
*) &_result_ref
;
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= PyList_New(0);
7755 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7756 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7757 PyList_Append(resultobj
, val
);
7767 static PyObject
*_wrap_TextAttr_GetLeftIndent(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_GetLeftIndent",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
)->GetLeftIndent();
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_FromLong((long)result
);
7793 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(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_GetLeftSubIndent",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
)->GetLeftSubIndent();
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_FromLong((long)result
);
7819 static PyObject
*_wrap_TextAttr_GetRightIndent(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_GetRightIndent",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
)->GetRightIndent();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_FromLong((long)result
);
7845 static PyObject
*_wrap_TextAttr_GetFlags(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_GetFlags",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
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_FromLong((long)result
);
7871 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7877 (char *) "self", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7899 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxTextAttr
*arg1
= 0 ;
7902 wxTextAttr
*arg2
= 0 ;
7903 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7907 PyObject
* obj2
= 0 ;
7909 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7917 PyErr_SetString(PyExc_TypeError
,"null reference");
7920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7924 PyErr_SetString(PyExc_TypeError
,"null reference");
7927 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7937 wxTextAttr
* resultptr
;
7938 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7947 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7950 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7952 return Py_BuildValue((char *)"");
7954 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxWindow
*arg1
= (wxWindow
*) 0 ;
7957 int arg2
= (int) -1 ;
7958 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7959 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7960 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7961 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7962 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7963 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7964 long arg6
= (long) 0 ;
7965 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7966 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7967 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7968 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7970 bool temp3
= False
;
7973 bool temp8
= False
;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7976 PyObject
* obj2
= 0 ;
7977 PyObject
* obj3
= 0 ;
7978 PyObject
* obj4
= 0 ;
7979 PyObject
* obj5
= 0 ;
7980 PyObject
* obj6
= 0 ;
7981 PyObject
* obj7
= 0 ;
7983 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7990 arg2
= (int) SWIG_AsInt(obj1
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7995 arg3
= wxString_in_helper(obj2
);
7996 if (arg3
== NULL
) SWIG_fail
;
8003 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8009 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8013 arg6
= (long) SWIG_AsLong(obj5
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8017 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8021 PyErr_SetString(PyExc_TypeError
,"null reference");
8027 arg8
= wxString_in_helper(obj7
);
8028 if (arg8
== NULL
) SWIG_fail
;
8033 if (!wxPyCheckForApp()) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8063 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8072 if (!wxPyCheckForApp()) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= (wxTextCtrl
*)new wxTextCtrl();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8086 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
;
8088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8089 wxWindow
*arg2
= (wxWindow
*) 0 ;
8090 int arg3
= (int) -1 ;
8091 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8092 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8093 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8094 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8095 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8096 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8097 long arg7
= (long) 0 ;
8098 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8099 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8100 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8101 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8103 bool temp4
= False
;
8106 bool temp9
= False
;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8109 PyObject
* obj2
= 0 ;
8110 PyObject
* obj3
= 0 ;
8111 PyObject
* obj4
= 0 ;
8112 PyObject
* obj5
= 0 ;
8113 PyObject
* obj6
= 0 ;
8114 PyObject
* obj7
= 0 ;
8115 PyObject
* obj8
= 0 ;
8117 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8126 arg3
= (int) SWIG_AsInt(obj2
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8131 arg4
= wxString_in_helper(obj3
);
8132 if (arg4
== NULL
) SWIG_fail
;
8139 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8145 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8149 arg7
= (long) SWIG_AsLong(obj6
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8153 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8157 PyErr_SetString(PyExc_TypeError
,"null reference");
8163 arg9
= wxString_in_helper(obj8
);
8164 if (arg9
== NULL
) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8200 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8204 PyObject
* obj0
= 0 ;
8206 (char *) "self", NULL
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8232 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8235 wxString
*arg2
= 0 ;
8236 bool temp2
= False
;
8237 PyObject
* obj0
= 0 ;
8238 PyObject
* obj1
= 0 ;
8240 (char *) "self",(char *) "value", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8247 arg2
= wxString_in_helper(obj1
);
8248 if (arg2
== NULL
) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 (arg1
)->SetValue((wxString
const &)*arg2
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 Py_INCREF(Py_None
); resultobj
= Py_None
;
8273 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8279 PyObject
* obj0
= 0 ;
8280 PyObject
* obj1
= 0 ;
8281 PyObject
* obj2
= 0 ;
8283 (char *) "self",(char *) "from",(char *) "to", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8289 arg2
= (long) SWIG_AsLong(obj1
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8291 arg3
= (long) SWIG_AsLong(obj2
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8313 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8321 (char *) "self",(char *) "lineNo", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8327 arg2
= (long) SWIG_AsLong(obj1
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_FromInt((int)result
);
8343 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
;
8345 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8351 (char *) "self",(char *) "lineNo", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 arg2
= (long) SWIG_AsLong(obj1
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8379 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(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_GetNumberOfLines",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
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= SWIG_FromInt((int)result
);
8405 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8409 PyObject
* obj0
= 0 ;
8411 (char *) "self", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8433 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8437 PyObject
* obj0
= 0 ;
8439 (char *) "self", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8461 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
*resultobj
;
8463 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8465 PyObject
* obj0
= 0 ;
8467 (char *) "self", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8489 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8493 PyObject
* obj0
= 0 ;
8495 (char *) "self", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8517 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8520 long *arg2
= (long *) 0 ;
8521 long *arg3
= (long *) 0 ;
8524 PyObject
* obj0
= 0 ;
8526 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 Py_INCREF(Py_None
); resultobj
= Py_None
;
8543 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8544 resultobj
= t_output_helper(resultobj
,o
);
8547 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8548 resultobj
= t_output_helper(resultobj
,o
);
8556 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
*resultobj
;
8558 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8560 PyObject
* obj0
= 0 ;
8562 (char *) "self", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8588 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8591 PyObject
* obj0
= 0 ;
8593 (char *) "self", NULL
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8606 Py_INCREF(Py_None
); resultobj
= Py_None
;
8613 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
*resultobj
;
8615 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8618 wxString
*arg4
= 0 ;
8619 bool temp4
= False
;
8620 PyObject
* obj0
= 0 ;
8621 PyObject
* obj1
= 0 ;
8622 PyObject
* obj2
= 0 ;
8623 PyObject
* obj3
= 0 ;
8625 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8631 arg2
= (long) SWIG_AsLong(obj1
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8633 arg3
= (long) SWIG_AsLong(obj2
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 arg4
= wxString_in_helper(obj3
);
8637 if (arg4
== NULL
) SWIG_fail
;
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 Py_INCREF(Py_None
); resultobj
= Py_None
;
8662 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8669 PyObject
* obj2
= 0 ;
8671 (char *) "self",(char *) "from",(char *) "to", NULL
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8677 arg2
= (long) SWIG_AsLong(obj1
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8679 arg3
= (long) SWIG_AsLong(obj2
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 (arg1
)->Remove(arg2
,arg3
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 Py_INCREF(Py_None
); resultobj
= Py_None
;
8695 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8698 wxString
*arg2
= 0 ;
8700 bool temp2
= False
;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8704 (char *) "self",(char *) "file", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8711 arg2
= wxString_in_helper(obj1
);
8712 if (arg2
== NULL
) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8739 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8742 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8743 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8745 bool temp2
= False
;
8746 PyObject
* obj0
= 0 ;
8747 PyObject
* obj1
= 0 ;
8749 (char *) "self",(char *) "file", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8757 arg2
= wxString_in_helper(obj1
);
8758 if (arg2
== NULL
) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8786 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8789 PyObject
* obj0
= 0 ;
8791 (char *) "self", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 (arg1
)->MarkDirty();
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 Py_INCREF(Py_None
); resultobj
= Py_None
;
8811 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8816 (char *) "self", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 (arg1
)->DiscardEdits();
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 Py_INCREF(Py_None
); resultobj
= Py_None
;
8836 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8839 unsigned long arg2
;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8843 (char *) "self",(char *) "len", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8849 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 (arg1
)->SetMaxLength(arg2
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 Py_INCREF(Py_None
); resultobj
= Py_None
;
8865 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8868 wxString
*arg2
= 0 ;
8869 bool temp2
= False
;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8873 (char *) "self",(char *) "text", NULL
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8880 arg2
= wxString_in_helper(obj1
);
8881 if (arg2
== NULL
) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 (arg1
)->WriteText((wxString
const &)*arg2
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 Py_INCREF(Py_None
); resultobj
= Py_None
;
8906 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
;
8908 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8909 wxString
*arg2
= 0 ;
8910 bool temp2
= False
;
8911 PyObject
* obj0
= 0 ;
8912 PyObject
* obj1
= 0 ;
8914 (char *) "self",(char *) "text", NULL
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8921 arg2
= wxString_in_helper(obj1
);
8922 if (arg2
== NULL
) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 (arg1
)->AppendText((wxString
const &)*arg2
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8950 wxKeyEvent
*arg2
= 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8955 (char *) "self",(char *) "event", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8965 PyErr_SetString(PyExc_TypeError
,"null reference");
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8984 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8989 wxTextAttr
*arg4
= 0 ;
8991 PyObject
* obj0
= 0 ;
8992 PyObject
* obj1
= 0 ;
8993 PyObject
* obj2
= 0 ;
8994 PyObject
* obj3
= 0 ;
8996 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9002 arg2
= (long) SWIG_AsLong(obj1
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9004 arg3
= (long) SWIG_AsLong(obj2
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9006 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9010 PyErr_SetString(PyExc_TypeError
,"null reference");
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9029 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9033 wxTextAttr
*arg3
= 0 ;
9035 PyObject
* obj0
= 0 ;
9036 PyObject
* obj1
= 0 ;
9037 PyObject
* obj2
= 0 ;
9039 (char *) "self",(char *) "position",(char *) "style", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9045 arg2
= (long) SWIG_AsLong(obj1
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9047 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9051 PyErr_SetString(PyExc_TypeError
,"null reference");
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9070 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9073 wxTextAttr
*arg2
= 0 ;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9078 (char *) "self",(char *) "style", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9088 PyErr_SetString(PyExc_TypeError
,"null reference");
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9107 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9109 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9111 PyObject
* obj0
= 0 ;
9113 (char *) "self", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9123 result
= (wxTextAttr
*) &_result_ref
;
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9136 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9144 PyObject
* obj2
= 0 ;
9146 (char *) "self",(char *) "x",(char *) "y", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9152 arg2
= (long) SWIG_AsLong(obj1
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9154 arg3
= (long) SWIG_AsLong(obj2
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_FromLong((long)result
);
9170 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9174 long *arg3
= (long *) 0 ;
9175 long *arg4
= (long *) 0 ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9181 (char *) "self",(char *) "pos", NULL
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9189 arg2
= (long) SWIG_AsLong(obj1
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 Py_INCREF(Py_None
); resultobj
= Py_None
;
9200 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9201 resultobj
= t_output_helper(resultobj
,o
);
9204 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9205 resultobj
= t_output_helper(resultobj
,o
);
9213 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9220 (char *) "self",(char *) "pos", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9226 arg2
= (long) SWIG_AsLong(obj1
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 (arg1
)->ShowPosition(arg2
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 Py_INCREF(Py_None
); resultobj
= Py_None
;
9242 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9246 long *arg3
= (long *) 0 ;
9247 long *arg4
= (long *) 0 ;
9252 PyObject
* obj0
= 0 ;
9253 PyObject
* obj1
= 0 ;
9255 (char *) "self",(char *) "pt", NULL
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9265 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_FromInt((int)result
);
9276 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9277 resultobj
= t_output_helper(resultobj
,o
);
9280 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9281 resultobj
= t_output_helper(resultobj
,o
);
9289 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9293 long *arg3
= (long *) 0 ;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9300 (char *) "self",(char *) "pt", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= SWIG_FromInt((int)result
);
9320 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9321 resultobj
= t_output_helper(resultobj
,o
);
9329 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9332 PyObject
* obj0
= 0 ;
9334 (char *) "self", NULL
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 Py_INCREF(Py_None
); resultobj
= Py_None
;
9354 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9357 PyObject
* obj0
= 0 ;
9359 (char *) "self", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 Py_INCREF(Py_None
); resultobj
= Py_None
;
9379 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9382 PyObject
* obj0
= 0 ;
9384 (char *) "self", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",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();
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 Py_INCREF(Py_None
); resultobj
= Py_None
;
9404 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9410 (char *) "self", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9432 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9438 (char *) "self", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9460 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9488 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9491 PyObject
* obj0
= 0 ;
9493 (char *) "self", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 Py_INCREF(Py_None
); resultobj
= Py_None
;
9513 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",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();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 Py_INCREF(Py_None
); resultobj
= Py_None
;
9538 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9542 PyObject
* obj0
= 0 ;
9544 (char *) "self", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9566 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9594 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9601 (char *) "self",(char *) "pos", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 arg2
= (long) SWIG_AsLong(obj1
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 (arg1
)->SetInsertionPoint(arg2
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 Py_INCREF(Py_None
); resultobj
= Py_None
;
9623 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9626 PyObject
* obj0
= 0 ;
9628 (char *) "self", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",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 (arg1
)->SetInsertionPointEnd();
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 Py_INCREF(Py_None
); resultobj
= Py_None
;
9648 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(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_GetInsertionPoint",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
)->GetInsertionPoint();
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= SWIG_FromLong((long)result
);
9674 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
;
9676 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9678 PyObject
* obj0
= 0 ;
9680 (char *) "self", NULL
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= SWIG_FromLong((long)result
);
9700 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9705 PyObject
* obj0
= 0 ;
9706 PyObject
* obj1
= 0 ;
9707 PyObject
* obj2
= 0 ;
9709 (char *) "self",(char *) "from",(char *) "to", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9715 arg2
= (long) SWIG_AsLong(obj1
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9717 arg3
= (long) SWIG_AsLong(obj2
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 (arg1
)->SetSelection(arg2
,arg3
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 Py_INCREF(Py_None
); resultobj
= Py_None
;
9733 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9738 (char *) "self", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 (arg1
)->SelectAll();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 Py_INCREF(Py_None
); resultobj
= Py_None
;
9758 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
;
9760 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9765 (char *) "self",(char *) "editable", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9771 arg2
= (bool) SWIG_AsBool(obj1
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 (arg1
)->SetEditable(arg2
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 Py_INCREF(Py_None
); resultobj
= Py_None
;
9787 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9790 bool arg2
= (bool) True
;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9795 (char *) "self",(char *) "show", NULL
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9802 arg2
= (bool) SWIG_AsBool(obj1
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9821 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
*resultobj
;
9823 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9825 PyObject
* obj0
= 0 ;
9827 (char *) "self", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (bool)(arg1
)->HideNativeCaret();
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9849 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9852 wxString
*arg2
= 0 ;
9853 bool temp2
= False
;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj1
= 0 ;
9857 (char *) "self",(char *) "text", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9864 arg2
= wxString_in_helper(obj1
);
9865 if (arg2
== NULL
) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 Py_INCREF(Py_None
); resultobj
= Py_None
;
9890 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9897 PyObject
* obj1
= 0 ;
9898 PyObject
* obj2
= 0 ;
9900 (char *) "self",(char *) "from",(char *) "to", NULL
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9906 arg2
= (long) SWIG_AsLong(obj1
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9908 arg3
= (long) SWIG_AsLong(obj2
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9930 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9933 wxVisualAttributes result
;
9934 PyObject
* obj0
= 0 ;
9936 (char *) "variant", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9941 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9945 if (!wxPyCheckForApp()) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9953 wxVisualAttributes
* resultptr
;
9954 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9963 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9966 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9968 return Py_BuildValue((char *)"");
9970 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9973 wxMouseEvent
*arg2
= 0 ;
9976 wxTextUrlEvent
*result
;
9977 PyObject
* obj0
= 0 ;
9978 PyObject
* obj1
= 0 ;
9979 PyObject
* obj2
= 0 ;
9980 PyObject
* obj3
= 0 ;
9982 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9986 arg1
= (int) SWIG_AsInt(obj0
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9992 PyErr_SetString(PyExc_TypeError
,"null reference");
9995 arg3
= (long) SWIG_AsLong(obj2
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9997 arg4
= (long) SWIG_AsLong(obj3
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10013 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10016 wxMouseEvent
*result
;
10017 PyObject
* obj0
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10029 result
= (wxMouseEvent
*) &_result_ref
;
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10042 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
;
10044 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10046 PyObject
* obj0
= 0 ;
10047 char *kwnames
[] = {
10048 (char *) "self", NULL
10051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= SWIG_FromLong((long)result
);
10068 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10072 PyObject
* obj0
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= SWIG_FromLong((long)result
);
10094 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10097 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10099 return Py_BuildValue((char *)"");
10101 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
10102 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10107 static PyObject
*_wrap_ScrollBarNameStr_get() {
10112 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10114 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10121 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxWindow
*arg1
= (wxWindow
*) 0 ;
10124 int arg2
= (int) -1 ;
10125 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10126 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10127 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10128 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10129 long arg5
= (long) wxSB_HORIZONTAL
;
10130 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10131 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10132 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10133 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10134 wxScrollBar
*result
;
10137 bool temp7
= False
;
10138 PyObject
* obj0
= 0 ;
10139 PyObject
* obj1
= 0 ;
10140 PyObject
* obj2
= 0 ;
10141 PyObject
* obj3
= 0 ;
10142 PyObject
* obj4
= 0 ;
10143 PyObject
* obj5
= 0 ;
10144 PyObject
* obj6
= 0 ;
10145 char *kwnames
[] = {
10146 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10153 arg2
= (int) SWIG_AsInt(obj1
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10159 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10165 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10169 arg5
= (long) SWIG_AsLong(obj4
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10173 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10176 if (arg6
== NULL
) {
10177 PyErr_SetString(PyExc_TypeError
,"null reference");
10183 arg7
= wxString_in_helper(obj6
);
10184 if (arg7
== NULL
) SWIG_fail
;
10189 if (!wxPyCheckForApp()) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10211 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxScrollBar
*result
;
10214 char *kwnames
[] = {
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10220 if (!wxPyCheckForApp()) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 result
= (wxScrollBar
*)new wxScrollBar();
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10234 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10237 wxWindow
*arg2
= (wxWindow
*) 0 ;
10238 int arg3
= (int) -1 ;
10239 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10240 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10241 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10242 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10243 long arg6
= (long) wxSB_HORIZONTAL
;
10244 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10245 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10246 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10247 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10251 bool temp8
= False
;
10252 PyObject
* obj0
= 0 ;
10253 PyObject
* obj1
= 0 ;
10254 PyObject
* obj2
= 0 ;
10255 PyObject
* obj3
= 0 ;
10256 PyObject
* obj4
= 0 ;
10257 PyObject
* obj5
= 0 ;
10258 PyObject
* obj6
= 0 ;
10259 PyObject
* obj7
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10270 arg3
= (int) SWIG_AsInt(obj2
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10276 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10282 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10286 arg6
= (long) SWIG_AsLong(obj5
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10293 if (arg7
== NULL
) {
10294 PyErr_SetString(PyExc_TypeError
,"null reference");
10300 arg8
= wxString_in_helper(obj7
);
10301 if (arg8
== NULL
) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10329 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
;
10331 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10333 PyObject
* obj0
= 0 ;
10334 char *kwnames
[] = {
10335 (char *) "self", NULL
10338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10348 resultobj
= SWIG_FromInt((int)result
);
10355 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10359 PyObject
* obj0
= 0 ;
10360 char *kwnames
[] = {
10361 (char *) "self", NULL
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 resultobj
= SWIG_FromInt((int)result
);
10381 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
*resultobj
;
10383 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10385 PyObject
* obj0
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "self", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= SWIG_FromInt((int)result
);
10407 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
;
10409 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10411 PyObject
* obj0
= 0 ;
10412 char *kwnames
[] = {
10413 (char *) "self", NULL
10416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= SWIG_FromInt((int)result
);
10433 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10437 PyObject
* obj0
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10461 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
;
10463 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10465 PyObject
* obj0
= 0 ;
10466 PyObject
* obj1
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self",(char *) "viewStart", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10474 arg2
= (int) SWIG_AsInt(obj1
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 (arg1
)->SetThumbPosition(arg2
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 Py_INCREF(Py_None
); resultobj
= Py_None
;
10490 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10497 bool arg6
= (bool) True
;
10498 PyObject
* obj0
= 0 ;
10499 PyObject
* obj1
= 0 ;
10500 PyObject
* obj2
= 0 ;
10501 PyObject
* obj3
= 0 ;
10502 PyObject
* obj4
= 0 ;
10503 PyObject
* obj5
= 0 ;
10504 char *kwnames
[] = {
10505 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10511 arg2
= (int) SWIG_AsInt(obj1
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10513 arg3
= (int) SWIG_AsInt(obj2
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10515 arg4
= (int) SWIG_AsInt(obj3
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10517 arg5
= (int) SWIG_AsInt(obj4
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 arg6
= (bool) SWIG_AsBool(obj5
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10530 Py_INCREF(Py_None
); resultobj
= Py_None
;
10537 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
;
10539 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10540 wxVisualAttributes result
;
10541 PyObject
* obj0
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "variant", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10548 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10552 if (!wxPyCheckForApp()) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10560 wxVisualAttributes
* resultptr
;
10561 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10570 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10573 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10575 return Py_BuildValue((char *)"");
10577 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10578 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10583 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10588 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10590 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10597 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10598 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10603 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10608 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10610 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10617 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxWindow
*arg1
= (wxWindow
*) 0 ;
10620 int arg2
= (int) -1 ;
10621 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10622 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10623 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10624 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10625 long arg5
= (long) wxSP_HORIZONTAL
;
10626 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10627 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10628 wxSpinButton
*result
;
10631 bool temp6
= False
;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 PyObject
* obj2
= 0 ;
10635 PyObject
* obj3
= 0 ;
10636 PyObject
* obj4
= 0 ;
10637 PyObject
* obj5
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10646 arg2
= (int) SWIG_AsInt(obj1
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10652 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10658 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10662 arg5
= (long) SWIG_AsLong(obj4
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10667 arg6
= wxString_in_helper(obj5
);
10668 if (arg6
== NULL
) SWIG_fail
;
10673 if (!wxPyCheckForApp()) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10695 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
*resultobj
;
10697 wxSpinButton
*result
;
10698 char *kwnames
[] = {
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10704 if (!wxPyCheckForApp()) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 result
= (wxSpinButton
*)new wxSpinButton();
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10718 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10721 wxWindow
*arg2
= (wxWindow
*) 0 ;
10722 int arg3
= (int) -1 ;
10723 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10724 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10725 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10726 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10727 long arg6
= (long) wxSP_HORIZONTAL
;
10728 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10729 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10733 bool temp7
= False
;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 PyObject
* obj3
= 0 ;
10738 PyObject
* obj4
= 0 ;
10739 PyObject
* obj5
= 0 ;
10740 PyObject
* obj6
= 0 ;
10741 char *kwnames
[] = {
10742 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10751 arg3
= (int) SWIG_AsInt(obj2
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10757 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10763 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10767 arg6
= (long) SWIG_AsLong(obj5
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10772 arg7
= wxString_in_helper(obj6
);
10773 if (arg7
== NULL
) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10801 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10805 PyObject
* obj0
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "self", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_FromInt((int)result
);
10827 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= SWIG_FromInt((int)result
);
10853 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= SWIG_FromInt((int)result
);
10879 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 char *kwnames
[] = {
10886 (char *) "self",(char *) "val", NULL
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10892 arg2
= (int) SWIG_AsInt(obj1
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 (arg1
)->SetValue(arg2
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 Py_INCREF(Py_None
); resultobj
= Py_None
;
10908 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
;
10910 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10912 PyObject
* obj0
= 0 ;
10913 PyObject
* obj1
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self",(char *) "minVal", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10921 arg2
= (int) SWIG_AsInt(obj1
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 (arg1
)->SetMin(arg2
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 Py_INCREF(Py_None
); resultobj
= Py_None
;
10937 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "self",(char *) "maxVal", NULL
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10950 arg2
= (int) SWIG_AsInt(obj1
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 (arg1
)->SetMax(arg2
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 Py_INCREF(Py_None
); resultobj
= Py_None
;
10966 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10971 PyObject
* obj0
= 0 ;
10972 PyObject
* obj1
= 0 ;
10973 PyObject
* obj2
= 0 ;
10974 char *kwnames
[] = {
10975 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10981 arg2
= (int) SWIG_AsInt(obj1
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10983 arg3
= (int) SWIG_AsInt(obj2
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 (arg1
)->SetRange(arg2
,arg3
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11003 PyObject
* obj0
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self", NULL
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11027 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11030 wxVisualAttributes result
;
11031 PyObject
* obj0
= 0 ;
11032 char *kwnames
[] = {
11033 (char *) "variant", NULL
11036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11038 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11042 if (!wxPyCheckForApp()) SWIG_fail
;
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11050 wxVisualAttributes
* resultptr
;
11051 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11060 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
11062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11063 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11065 return Py_BuildValue((char *)"");
11067 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxWindow
*arg1
= (wxWindow
*) 0 ;
11070 int arg2
= (int) -1 ;
11071 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11072 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11073 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11074 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11075 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11076 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11077 long arg6
= (long) wxSP_ARROW_KEYS
;
11078 int arg7
= (int) 0 ;
11079 int arg8
= (int) 100 ;
11080 int arg9
= (int) 0 ;
11081 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11082 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11083 wxSpinCtrl
*result
;
11084 bool temp3
= False
;
11087 bool temp10
= False
;
11088 PyObject
* obj0
= 0 ;
11089 PyObject
* obj1
= 0 ;
11090 PyObject
* obj2
= 0 ;
11091 PyObject
* obj3
= 0 ;
11092 PyObject
* obj4
= 0 ;
11093 PyObject
* obj5
= 0 ;
11094 PyObject
* obj6
= 0 ;
11095 PyObject
* obj7
= 0 ;
11096 PyObject
* obj8
= 0 ;
11097 PyObject
* obj9
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11106 arg2
= (int) SWIG_AsInt(obj1
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11111 arg3
= wxString_in_helper(obj2
);
11112 if (arg3
== NULL
) SWIG_fail
;
11119 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11125 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11129 arg6
= (long) SWIG_AsLong(obj5
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11133 arg7
= (int) SWIG_AsInt(obj6
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11137 arg8
= (int) SWIG_AsInt(obj7
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11141 arg9
= (int) SWIG_AsInt(obj8
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11146 arg10
= wxString_in_helper(obj9
);
11147 if (arg10
== NULL
) SWIG_fail
;
11152 if (!wxPyCheckForApp()) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11182 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxSpinCtrl
*result
;
11185 char *kwnames
[] = {
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11191 if (!wxPyCheckForApp()) SWIG_fail
;
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11195 wxPyEndAllowThreads(__tstate
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11205 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11208 wxWindow
*arg2
= (wxWindow
*) 0 ;
11209 int arg3
= (int) -1 ;
11210 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11211 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11212 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11213 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11214 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11215 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11216 long arg7
= (long) wxSP_ARROW_KEYS
;
11217 int arg8
= (int) 0 ;
11218 int arg9
= (int) 100 ;
11219 int arg10
= (int) 0 ;
11220 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11221 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11223 bool temp4
= False
;
11226 bool temp11
= False
;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 PyObject
* obj2
= 0 ;
11230 PyObject
* obj3
= 0 ;
11231 PyObject
* obj4
= 0 ;
11232 PyObject
* obj5
= 0 ;
11233 PyObject
* obj6
= 0 ;
11234 PyObject
* obj7
= 0 ;
11235 PyObject
* obj8
= 0 ;
11236 PyObject
* obj9
= 0 ;
11237 PyObject
* obj10
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11248 arg3
= (int) SWIG_AsInt(obj2
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11253 arg4
= wxString_in_helper(obj3
);
11254 if (arg4
== NULL
) SWIG_fail
;
11261 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11267 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11271 arg7
= (long) SWIG_AsLong(obj6
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 arg8
= (int) SWIG_AsInt(obj7
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11279 arg9
= (int) SWIG_AsInt(obj8
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11283 arg10
= (int) SWIG_AsInt(obj9
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11288 arg11
= wxString_in_helper(obj10
);
11289 if (arg11
== NULL
) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11325 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "self", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= SWIG_FromInt((int)result
);
11351 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
*resultobj
;
11353 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self",(char *) "value", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11364 arg2
= (int) SWIG_AsInt(obj1
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 (arg1
)->SetValue(arg2
);
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 Py_INCREF(Py_None
); resultobj
= Py_None
;
11380 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
;
11382 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11383 wxString
*arg2
= 0 ;
11384 bool temp2
= False
;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "self",(char *) "text", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11395 arg2
= wxString_in_helper(obj1
);
11396 if (arg2
== NULL
) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 (arg1
)->SetValue((wxString
const &)*arg2
);
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 Py_INCREF(Py_None
); resultobj
= Py_None
;
11421 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11426 PyObject
* obj0
= 0 ;
11427 PyObject
* obj1
= 0 ;
11428 PyObject
* obj2
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11436 arg2
= (int) SWIG_AsInt(obj1
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11438 arg3
= (int) SWIG_AsInt(obj2
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 (arg1
)->SetRange(arg2
,arg3
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 Py_INCREF(Py_None
); resultobj
= Py_None
;
11454 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11458 PyObject
* obj0
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= SWIG_FromInt((int)result
);
11480 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11484 PyObject
* obj0
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "self", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_FromInt((int)result
);
11506 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11511 PyObject
* obj0
= 0 ;
11512 PyObject
* obj1
= 0 ;
11513 PyObject
* obj2
= 0 ;
11514 char *kwnames
[] = {
11515 (char *) "self",(char *) "from",(char *) "to", NULL
11518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11521 arg2
= (long) SWIG_AsLong(obj1
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11523 arg3
= (long) SWIG_AsLong(obj2
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 (arg1
)->SetSelection(arg2
,arg3
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 Py_INCREF(Py_None
); resultobj
= Py_None
;
11539 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11542 wxVisualAttributes result
;
11543 PyObject
* obj0
= 0 ;
11544 char *kwnames
[] = {
11545 (char *) "variant", NULL
11548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11550 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11554 if (!wxPyCheckForApp()) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 wxVisualAttributes
* resultptr
;
11563 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11572 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11575 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11577 return Py_BuildValue((char *)"");
11579 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
;
11581 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11582 int arg2
= (int) 0 ;
11583 wxSpinEvent
*result
;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "commandType",(char *) "winid", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11592 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11596 arg2
= (int) SWIG_AsInt(obj1
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11613 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
;
11615 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11617 PyObject
* obj0
= 0 ;
11618 char *kwnames
[] = {
11619 (char *) "self", NULL
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= SWIG_FromInt((int)result
);
11639 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11643 PyObject
* obj0
= 0 ;
11644 PyObject
* obj1
= 0 ;
11645 char *kwnames
[] = {
11646 (char *) "self",(char *) "pos", NULL
11649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11652 arg2
= (int) SWIG_AsInt(obj1
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 (arg1
)->SetPosition(arg2
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 Py_INCREF(Py_None
); resultobj
= Py_None
;
11668 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11671 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11673 return Py_BuildValue((char *)"");
11675 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11676 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11681 static PyObject
*_wrap_RadioBoxNameStr_get() {
11686 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11688 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11695 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11696 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11701 static PyObject
*_wrap_RadioButtonNameStr_get() {
11706 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11708 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11715 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxWindow
*arg1
= (wxWindow
*) 0 ;
11718 int arg2
= (int) -1 ;
11719 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11720 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11721 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11722 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11723 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11724 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11725 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11726 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11727 int arg7
= (int) 0 ;
11728 long arg8
= (long) wxRA_HORIZONTAL
;
11729 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11730 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11731 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11732 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11733 wxRadioBox
*result
;
11734 bool temp3
= False
;
11737 bool temp6
= False
;
11738 bool temp10
= False
;
11739 PyObject
* obj0
= 0 ;
11740 PyObject
* obj1
= 0 ;
11741 PyObject
* obj2
= 0 ;
11742 PyObject
* obj3
= 0 ;
11743 PyObject
* obj4
= 0 ;
11744 PyObject
* obj5
= 0 ;
11745 PyObject
* obj6
= 0 ;
11746 PyObject
* obj7
= 0 ;
11747 PyObject
* obj8
= 0 ;
11748 PyObject
* obj9
= 0 ;
11749 char *kwnames
[] = {
11750 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11757 arg2
= (int) SWIG_AsInt(obj1
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11762 arg3
= wxString_in_helper(obj2
);
11763 if (arg3
== NULL
) SWIG_fail
;
11770 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11776 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11781 if (! PySequence_Check(obj5
)) {
11782 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11785 arg6
= new wxArrayString
;
11787 int i
, len
=PySequence_Length(obj5
);
11788 for (i
=0; i
<len
; i
++) {
11789 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11791 PyObject
* str
= PyObject_Unicode(item
);
11793 PyObject
* str
= PyObject_Str(item
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11796 arg6
->Add(Py2wxString(str
));
11803 arg7
= (int) SWIG_AsInt(obj6
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11807 arg8
= (long) SWIG_AsLong(obj7
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11811 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11814 if (arg9
== NULL
) {
11815 PyErr_SetString(PyExc_TypeError
,"null reference");
11821 arg10
= wxString_in_helper(obj9
);
11822 if (arg10
== NULL
) SWIG_fail
;
11827 if (!wxPyCheckForApp()) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 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
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11840 if (temp6
) delete arg6
;
11853 if (temp6
) delete arg6
;
11863 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxRadioBox
*result
;
11866 char *kwnames
[] = {
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11872 if (!wxPyCheckForApp()) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (wxRadioBox
*)new wxRadioBox();
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11886 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11889 wxWindow
*arg2
= (wxWindow
*) 0 ;
11890 int arg3
= (int) -1 ;
11891 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11892 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11893 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11894 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11895 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11896 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11897 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11898 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11899 int arg8
= (int) 0 ;
11900 long arg9
= (long) wxRA_HORIZONTAL
;
11901 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11902 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11903 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11904 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11906 bool temp4
= False
;
11909 bool temp7
= False
;
11910 bool temp11
= False
;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 PyObject
* obj2
= 0 ;
11914 PyObject
* obj3
= 0 ;
11915 PyObject
* obj4
= 0 ;
11916 PyObject
* obj5
= 0 ;
11917 PyObject
* obj6
= 0 ;
11918 PyObject
* obj7
= 0 ;
11919 PyObject
* obj8
= 0 ;
11920 PyObject
* obj9
= 0 ;
11921 PyObject
* obj10
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11932 arg3
= (int) SWIG_AsInt(obj2
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11937 arg4
= wxString_in_helper(obj3
);
11938 if (arg4
== NULL
) SWIG_fail
;
11945 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11951 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11956 if (! PySequence_Check(obj6
)) {
11957 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11960 arg7
= new wxArrayString
;
11962 int i
, len
=PySequence_Length(obj6
);
11963 for (i
=0; i
<len
; i
++) {
11964 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11966 PyObject
* str
= PyObject_Unicode(item
);
11968 PyObject
* str
= PyObject_Str(item
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11971 arg7
->Add(Py2wxString(str
));
11978 arg8
= (int) SWIG_AsInt(obj7
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 arg9
= (long) SWIG_AsLong(obj8
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11986 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11989 if (arg10
== NULL
) {
11990 PyErr_SetString(PyExc_TypeError
,"null reference");
11996 arg11
= wxString_in_helper(obj10
);
11997 if (arg11
== NULL
) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 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
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12016 if (temp7
) delete arg7
;
12029 if (temp7
) delete arg7
;
12039 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
*resultobj
;
12041 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12043 PyObject
* obj0
= 0 ;
12044 PyObject
* obj1
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self",(char *) "n", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12052 arg2
= (int) SWIG_AsInt(obj1
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 (arg1
)->SetSelection(arg2
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12061 Py_INCREF(Py_None
); resultobj
= Py_None
;
12068 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12072 PyObject
* obj0
= 0 ;
12073 char *kwnames
[] = {
12074 (char *) "self", NULL
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12087 resultobj
= SWIG_FromInt((int)result
);
12094 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12098 PyObject
* obj0
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12126 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12129 wxString
*arg2
= 0 ;
12131 bool temp2
= False
;
12132 PyObject
* obj0
= 0 ;
12133 PyObject
* obj1
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self",(char *) "s", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12142 arg2
= wxString_in_helper(obj1
);
12143 if (arg2
== NULL
) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12170 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= SWIG_FromInt((int)result
);
12196 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
;
12198 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12199 wxString
*arg2
= 0 ;
12201 bool temp2
= False
;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self",(char *) "s", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 arg2
= wxString_in_helper(obj1
);
12213 if (arg2
== NULL
) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_FromInt((int)result
);
12238 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
;
12240 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12243 PyObject
* obj0
= 0 ;
12244 PyObject
* obj1
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self",(char *) "n", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12252 arg2
= (int) SWIG_AsInt(obj1
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12274 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12278 wxString
*arg3
= 0 ;
12279 bool temp3
= False
;
12280 PyObject
* obj0
= 0 ;
12281 PyObject
* obj1
= 0 ;
12282 PyObject
* obj2
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self",(char *) "n",(char *) "label", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 arg2
= (int) SWIG_AsInt(obj1
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 arg3
= wxString_in_helper(obj2
);
12294 if (arg3
== NULL
) SWIG_fail
;
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 Py_INCREF(Py_None
); resultobj
= Py_None
;
12319 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12323 bool arg3
= (bool) True
;
12324 PyObject
* obj0
= 0 ;
12325 PyObject
* obj1
= 0 ;
12326 PyObject
* obj2
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self",(char *) "n",(char *) "enable", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12334 arg2
= (int) SWIG_AsInt(obj1
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 arg3
= (bool) SWIG_AsBool(obj2
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 (arg1
)->Enable(arg2
,arg3
);
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 Py_INCREF(Py_None
); resultobj
= Py_None
;
12354 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12358 bool arg3
= (bool) True
;
12359 PyObject
* obj0
= 0 ;
12360 PyObject
* obj1
= 0 ;
12361 PyObject
* obj2
= 0 ;
12362 char *kwnames
[] = {
12363 (char *) "self",(char *) "n",(char *) "show", NULL
12366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12369 arg2
= (int) SWIG_AsInt(obj1
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 arg3
= (bool) SWIG_AsBool(obj2
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 (arg1
)->Show(arg2
,arg3
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 Py_INCREF(Py_None
); resultobj
= Py_None
;
12389 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12393 PyObject
* obj0
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "self", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_FromInt((int)result
);
12415 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 resultobj
= SWIG_FromInt((int)result
);
12441 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12448 PyObject
* obj0
= 0 ;
12449 PyObject
* obj1
= 0 ;
12450 PyObject
* obj2
= 0 ;
12451 PyObject
* obj3
= 0 ;
12452 char *kwnames
[] = {
12453 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12459 arg2
= (int) SWIG_AsInt(obj1
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12461 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12463 arg4
= (long) SWIG_AsLong(obj3
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_FromInt((int)result
);
12479 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12482 wxVisualAttributes result
;
12483 PyObject
* obj0
= 0 ;
12484 char *kwnames
[] = {
12485 (char *) "variant", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12490 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12494 if (!wxPyCheckForApp()) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12502 wxVisualAttributes
* resultptr
;
12503 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12512 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12515 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12517 return Py_BuildValue((char *)"");
12519 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxWindow
*arg1
= (wxWindow
*) 0 ;
12522 int arg2
= (int) -1 ;
12523 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12525 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12526 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12527 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12528 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12529 long arg6
= (long) 0 ;
12530 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12531 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12532 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12534 wxRadioButton
*result
;
12535 bool temp3
= False
;
12538 bool temp8
= False
;
12539 PyObject
* obj0
= 0 ;
12540 PyObject
* obj1
= 0 ;
12541 PyObject
* obj2
= 0 ;
12542 PyObject
* obj3
= 0 ;
12543 PyObject
* obj4
= 0 ;
12544 PyObject
* obj5
= 0 ;
12545 PyObject
* obj6
= 0 ;
12546 PyObject
* obj7
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12555 arg2
= (int) SWIG_AsInt(obj1
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12560 arg3
= wxString_in_helper(obj2
);
12561 if (arg3
== NULL
) SWIG_fail
;
12568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12578 arg6
= (long) SWIG_AsLong(obj5
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12582 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12585 if (arg7
== NULL
) {
12586 PyErr_SetString(PyExc_TypeError
,"null reference");
12592 arg8
= wxString_in_helper(obj7
);
12593 if (arg8
== NULL
) SWIG_fail
;
12598 if (!wxPyCheckForApp()) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12628 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
;
12630 wxRadioButton
*result
;
12631 char *kwnames
[] = {
12635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12637 if (!wxPyCheckForApp()) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 result
= (wxRadioButton
*)new wxRadioButton();
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12651 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12654 wxWindow
*arg2
= (wxWindow
*) 0 ;
12655 int arg3
= (int) -1 ;
12656 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12657 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12658 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12659 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12660 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12661 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12662 long arg7
= (long) 0 ;
12663 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12664 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12665 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12666 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12668 bool temp4
= False
;
12671 bool temp9
= False
;
12672 PyObject
* obj0
= 0 ;
12673 PyObject
* obj1
= 0 ;
12674 PyObject
* obj2
= 0 ;
12675 PyObject
* obj3
= 0 ;
12676 PyObject
* obj4
= 0 ;
12677 PyObject
* obj5
= 0 ;
12678 PyObject
* obj6
= 0 ;
12679 PyObject
* obj7
= 0 ;
12680 PyObject
* obj8
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12691 arg3
= (int) SWIG_AsInt(obj2
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12696 arg4
= wxString_in_helper(obj3
);
12697 if (arg4
== NULL
) SWIG_fail
;
12704 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12710 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12714 arg7
= (long) SWIG_AsLong(obj6
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12718 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12721 if (arg8
== NULL
) {
12722 PyErr_SetString(PyExc_TypeError
,"null reference");
12728 arg9
= wxString_in_helper(obj8
);
12729 if (arg9
== NULL
) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12765 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12769 PyObject
* obj0
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (bool)(arg1
)->GetValue();
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12793 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "self",(char *) "value", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12806 arg2
= (bool) SWIG_AsBool(obj1
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 (arg1
)->SetValue(arg2
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 Py_INCREF(Py_None
); resultobj
= Py_None
;
12822 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12825 wxVisualAttributes result
;
12826 PyObject
* obj0
= 0 ;
12827 char *kwnames
[] = {
12828 (char *) "variant", NULL
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12833 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12837 if (!wxPyCheckForApp()) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12845 wxVisualAttributes
* resultptr
;
12846 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12855 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12858 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12860 return Py_BuildValue((char *)"");
12862 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12863 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12868 static PyObject
*_wrap_SliderNameStr_get() {
12873 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12875 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12882 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxWindow
*arg1
= (wxWindow
*) 0 ;
12885 int arg2
= (int) -1 ;
12886 int arg3
= (int) 0 ;
12887 int arg4
= (int) 0 ;
12888 int arg5
= (int) 100 ;
12889 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12890 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12891 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12892 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12893 long arg8
= (long) wxSL_HORIZONTAL
;
12894 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12895 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12896 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12897 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12901 bool temp10
= False
;
12902 PyObject
* obj0
= 0 ;
12903 PyObject
* obj1
= 0 ;
12904 PyObject
* obj2
= 0 ;
12905 PyObject
* obj3
= 0 ;
12906 PyObject
* obj4
= 0 ;
12907 PyObject
* obj5
= 0 ;
12908 PyObject
* obj6
= 0 ;
12909 PyObject
* obj7
= 0 ;
12910 PyObject
* obj8
= 0 ;
12911 PyObject
* obj9
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12920 arg2
= (int) SWIG_AsInt(obj1
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12924 arg3
= (int) SWIG_AsInt(obj2
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12928 arg4
= (int) SWIG_AsInt(obj3
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 arg5
= (int) SWIG_AsInt(obj4
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12938 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12944 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12948 arg8
= (long) SWIG_AsLong(obj7
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12952 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12955 if (arg9
== NULL
) {
12956 PyErr_SetString(PyExc_TypeError
,"null reference");
12962 arg10
= wxString_in_helper(obj9
);
12963 if (arg10
== NULL
) SWIG_fail
;
12968 if (!wxPyCheckForApp()) SWIG_fail
;
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12990 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12993 char *kwnames
[] = {
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12999 if (!wxPyCheckForApp()) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (wxSlider
*)new wxSlider();
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13013 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxSlider
*arg1
= (wxSlider
*) 0 ;
13016 wxWindow
*arg2
= (wxWindow
*) 0 ;
13017 int arg3
= (int) -1 ;
13018 int arg4
= (int) 0 ;
13019 int arg5
= (int) 0 ;
13020 int arg6
= (int) 100 ;
13021 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13022 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13023 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13024 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13025 long arg9
= (long) wxSL_HORIZONTAL
;
13026 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13027 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13028 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13029 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13033 bool temp11
= False
;
13034 PyObject
* obj0
= 0 ;
13035 PyObject
* obj1
= 0 ;
13036 PyObject
* obj2
= 0 ;
13037 PyObject
* obj3
= 0 ;
13038 PyObject
* obj4
= 0 ;
13039 PyObject
* obj5
= 0 ;
13040 PyObject
* obj6
= 0 ;
13041 PyObject
* obj7
= 0 ;
13042 PyObject
* obj8
= 0 ;
13043 PyObject
* obj9
= 0 ;
13044 PyObject
* obj10
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 arg3
= (int) SWIG_AsInt(obj2
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13059 arg4
= (int) SWIG_AsInt(obj3
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13063 arg5
= (int) SWIG_AsInt(obj4
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13067 arg6
= (int) SWIG_AsInt(obj5
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13073 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13079 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13083 arg9
= (long) SWIG_AsLong(obj8
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13087 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13090 if (arg10
== NULL
) {
13091 PyErr_SetString(PyExc_TypeError
,"null reference");
13097 arg11
= wxString_in_helper(obj10
);
13098 if (arg11
== NULL
) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13126 static PyObject
*_wrap_Slider_GetValue(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_GetValue",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
)->GetValue();
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 resultobj
= SWIG_FromInt((int)result
);
13152 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
;
13154 wxSlider
*arg1
= (wxSlider
*) 0 ;
13156 PyObject
* obj0
= 0 ;
13157 PyObject
* obj1
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self",(char *) "value", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13165 arg2
= (int) SWIG_AsInt(obj1
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 (arg1
)->SetValue(arg2
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 Py_INCREF(Py_None
); resultobj
= Py_None
;
13181 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxSlider
*arg1
= (wxSlider
*) 0 ;
13186 PyObject
* obj0
= 0 ;
13187 PyObject
* obj1
= 0 ;
13188 PyObject
* obj2
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13196 arg2
= (int) SWIG_AsInt(obj1
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13198 arg3
= (int) SWIG_AsInt(obj2
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 (arg1
)->SetRange(arg2
,arg3
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxSlider
*arg1
= (wxSlider
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_FromInt((int)result
);
13240 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxSlider
*arg1
= (wxSlider
*) 0 ;
13244 PyObject
* obj0
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_FromInt((int)result
);
13266 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13268 wxSlider
*arg1
= (wxSlider
*) 0 ;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self",(char *) "minValue", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13279 arg2
= (int) SWIG_AsInt(obj1
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 (arg1
)->SetMin(arg2
);
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 Py_INCREF(Py_None
); resultobj
= Py_None
;
13295 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
;
13297 wxSlider
*arg1
= (wxSlider
*) 0 ;
13299 PyObject
* obj0
= 0 ;
13300 PyObject
* obj1
= 0 ;
13301 char *kwnames
[] = {
13302 (char *) "self",(char *) "maxValue", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13308 arg2
= (int) SWIG_AsInt(obj1
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 (arg1
)->SetMax(arg2
);
13314 wxPyEndAllowThreads(__tstate
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 Py_INCREF(Py_None
); resultobj
= Py_None
;
13324 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
;
13326 wxSlider
*arg1
= (wxSlider
*) 0 ;
13328 PyObject
* obj0
= 0 ;
13329 PyObject
* obj1
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self",(char *) "lineSize", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13337 arg2
= (int) SWIG_AsInt(obj1
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 (arg1
)->SetLineSize(arg2
);
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 Py_INCREF(Py_None
); resultobj
= Py_None
;
13353 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxSlider
*arg1
= (wxSlider
*) 0 ;
13357 PyObject
* obj0
= 0 ;
13358 PyObject
* obj1
= 0 ;
13359 char *kwnames
[] = {
13360 (char *) "self",(char *) "pageSize", NULL
13363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13366 arg2
= (int) SWIG_AsInt(obj1
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 (arg1
)->SetPageSize(arg2
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 Py_INCREF(Py_None
); resultobj
= Py_None
;
13382 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxSlider
*arg1
= (wxSlider
*) 0 ;
13386 PyObject
* obj0
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= SWIG_FromInt((int)result
);
13408 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxSlider
*arg1
= (wxSlider
*) 0 ;
13412 PyObject
* obj0
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "self", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= SWIG_FromInt((int)result
);
13434 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxSlider
*arg1
= (wxSlider
*) 0 ;
13438 PyObject
* obj0
= 0 ;
13439 PyObject
* obj1
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "self",(char *) "lenPixels", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13447 arg2
= (int) SWIG_AsInt(obj1
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 (arg1
)->SetThumbLength(arg2
);
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13456 Py_INCREF(Py_None
); resultobj
= Py_None
;
13463 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
*resultobj
;
13465 wxSlider
*arg1
= (wxSlider
*) 0 ;
13467 PyObject
* obj0
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= SWIG_FromInt((int)result
);
13489 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxSlider
*arg1
= (wxSlider
*) 0 ;
13493 int arg3
= (int) 1 ;
13494 PyObject
* obj0
= 0 ;
13495 PyObject
* obj1
= 0 ;
13496 PyObject
* obj2
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "self",(char *) "n",(char *) "pos", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13504 arg2
= (int) SWIG_AsInt(obj1
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 arg3
= (int) SWIG_AsInt(obj2
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 (arg1
)->SetTickFreq(arg2
,arg3
);
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13517 Py_INCREF(Py_None
); resultobj
= Py_None
;
13524 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxSlider
*arg1
= (wxSlider
*) 0 ;
13528 PyObject
* obj0
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= SWIG_FromInt((int)result
);
13550 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxSlider
*arg1
= (wxSlider
*) 0 ;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "self", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 (arg1
)->ClearTicks();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 Py_INCREF(Py_None
); resultobj
= Py_None
;
13575 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxSlider
*arg1
= (wxSlider
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 PyObject
* obj1
= 0 ;
13581 char *kwnames
[] = {
13582 (char *) "self",(char *) "tickPos", NULL
13585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13588 arg2
= (int) SWIG_AsInt(obj1
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 (arg1
)->SetTick(arg2
);
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 Py_INCREF(Py_None
); resultobj
= Py_None
;
13604 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
;
13606 wxSlider
*arg1
= (wxSlider
*) 0 ;
13607 PyObject
* obj0
= 0 ;
13608 char *kwnames
[] = {
13609 (char *) "self", NULL
13612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 (arg1
)->ClearSel();
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 Py_INCREF(Py_None
); resultobj
= Py_None
;
13629 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
;
13631 wxSlider
*arg1
= (wxSlider
*) 0 ;
13633 PyObject
* obj0
= 0 ;
13634 char *kwnames
[] = {
13635 (char *) "self", NULL
13638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= SWIG_FromInt((int)result
);
13655 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxSlider
*arg1
= (wxSlider
*) 0 ;
13659 PyObject
* obj0
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "self", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= SWIG_FromInt((int)result
);
13681 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
;
13683 wxSlider
*arg1
= (wxSlider
*) 0 ;
13686 PyObject
* obj0
= 0 ;
13687 PyObject
* obj1
= 0 ;
13688 PyObject
* obj2
= 0 ;
13689 char *kwnames
[] = {
13690 (char *) "self",(char *) "min",(char *) "max", NULL
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13696 arg2
= (int) SWIG_AsInt(obj1
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13698 arg3
= (int) SWIG_AsInt(obj2
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 (arg1
)->SetSelection(arg2
,arg3
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 Py_INCREF(Py_None
); resultobj
= Py_None
;
13714 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13717 wxVisualAttributes result
;
13718 PyObject
* obj0
= 0 ;
13719 char *kwnames
[] = {
13720 (char *) "variant", NULL
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13725 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13729 if (!wxPyCheckForApp()) SWIG_fail
;
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13737 wxVisualAttributes
* resultptr
;
13738 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13747 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13750 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13752 return Py_BuildValue((char *)"");
13754 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13755 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13760 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13765 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13767 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13774 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
;
13776 wxWindow
*arg1
= (wxWindow
*) 0 ;
13777 int arg2
= (int) -1 ;
13778 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13780 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13781 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13782 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13783 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13784 long arg6
= (long) 0 ;
13785 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13786 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13787 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13788 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13789 wxToggleButton
*result
;
13790 bool temp3
= False
;
13793 bool temp8
= False
;
13794 PyObject
* obj0
= 0 ;
13795 PyObject
* obj1
= 0 ;
13796 PyObject
* obj2
= 0 ;
13797 PyObject
* obj3
= 0 ;
13798 PyObject
* obj4
= 0 ;
13799 PyObject
* obj5
= 0 ;
13800 PyObject
* obj6
= 0 ;
13801 PyObject
* obj7
= 0 ;
13802 char *kwnames
[] = {
13803 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13810 arg2
= (int) SWIG_AsInt(obj1
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13815 arg3
= wxString_in_helper(obj2
);
13816 if (arg3
== NULL
) SWIG_fail
;
13823 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13829 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13833 arg6
= (long) SWIG_AsLong(obj5
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13837 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13840 if (arg7
== NULL
) {
13841 PyErr_SetString(PyExc_TypeError
,"null reference");
13847 arg8
= wxString_in_helper(obj7
);
13848 if (arg8
== NULL
) SWIG_fail
;
13853 if (!wxPyCheckForApp()) SWIG_fail
;
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13883 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxToggleButton
*result
;
13886 char *kwnames
[] = {
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13892 if (!wxPyCheckForApp()) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 result
= (wxToggleButton
*)new wxToggleButton();
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13906 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
;
13908 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13909 wxWindow
*arg2
= (wxWindow
*) 0 ;
13910 int arg3
= (int) -1 ;
13911 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13912 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13913 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13914 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13915 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13916 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13917 long arg7
= (long) 0 ;
13918 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13919 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13920 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13921 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13923 bool temp4
= False
;
13926 bool temp9
= False
;
13927 PyObject
* obj0
= 0 ;
13928 PyObject
* obj1
= 0 ;
13929 PyObject
* obj2
= 0 ;
13930 PyObject
* obj3
= 0 ;
13931 PyObject
* obj4
= 0 ;
13932 PyObject
* obj5
= 0 ;
13933 PyObject
* obj6
= 0 ;
13934 PyObject
* obj7
= 0 ;
13935 PyObject
* obj8
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13946 arg3
= (int) SWIG_AsInt(obj2
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13951 arg4
= wxString_in_helper(obj3
);
13952 if (arg4
== NULL
) SWIG_fail
;
13959 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13965 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13969 arg7
= (long) SWIG_AsLong(obj6
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13973 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13976 if (arg8
== NULL
) {
13977 PyErr_SetString(PyExc_TypeError
,"null reference");
13983 arg9
= wxString_in_helper(obj8
);
13984 if (arg9
== NULL
) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14020 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
;
14022 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14024 PyObject
* obj0
= 0 ;
14025 PyObject
* obj1
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "self",(char *) "value", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14033 arg2
= (bool) SWIG_AsBool(obj1
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 (arg1
)->SetValue(arg2
);
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 Py_INCREF(Py_None
); resultobj
= Py_None
;
14049 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14053 PyObject
* obj0
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "self", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14077 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
;
14079 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14080 wxString
*arg2
= 0 ;
14081 bool temp2
= False
;
14082 PyObject
* obj0
= 0 ;
14083 PyObject
* obj1
= 0 ;
14084 char *kwnames
[] = {
14085 (char *) "self",(char *) "label", NULL
14088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14092 arg2
= wxString_in_helper(obj1
);
14093 if (arg2
== NULL
) SWIG_fail
;
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 (arg1
)->SetLabel((wxString
const &)*arg2
);
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 Py_INCREF(Py_None
); resultobj
= Py_None
;
14118 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14121 wxVisualAttributes result
;
14122 PyObject
* obj0
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "variant", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14129 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14133 if (!wxPyCheckForApp()) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14141 wxVisualAttributes
* resultptr
;
14142 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14151 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14154 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14156 return Py_BuildValue((char *)"");
14158 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14159 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14164 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14169 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14171 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14178 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14182 PyObject
* obj0
= 0 ;
14183 char *kwnames
[] = {
14184 (char *) "self", NULL
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14204 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
;
14206 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14209 PyObject
* obj0
= 0 ;
14210 PyObject
* obj1
= 0 ;
14211 char *kwnames
[] = {
14212 (char *) "self",(char *) "n", NULL
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14218 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= wxPyMake_wxObject(result
, 0);
14236 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14240 PyObject
* obj0
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_FromInt((int)result
);
14262 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14266 wxString
*arg3
= 0 ;
14268 bool temp3
= False
;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 PyObject
* obj2
= 0 ;
14272 char *kwnames
[] = {
14273 (char *) "self",(char *) "n",(char *) "strText", NULL
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14279 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 arg3
= wxString_in_helper(obj2
);
14283 if (arg3
== NULL
) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14310 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
;
14312 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14315 PyObject
* obj0
= 0 ;
14316 PyObject
* obj1
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self",(char *) "n", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14324 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14346 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14349 wxImageList
*arg2
= (wxImageList
*) 0 ;
14350 PyObject
* obj0
= 0 ;
14351 PyObject
* obj1
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self",(char *) "imageList", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 (arg1
)->SetImageList(arg2
);
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 Py_INCREF(Py_None
); resultobj
= Py_None
;
14375 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14378 wxImageList
*arg2
= (wxImageList
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 PyObject
* obj1
= 0 ;
14381 char *kwnames
[] = {
14382 (char *) "self",(char *) "imageList", NULL
14385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14389 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 (arg1
)->AssignImageList(arg2
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 Py_INCREF(Py_None
); resultobj
= Py_None
;
14404 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14407 wxImageList
*result
;
14408 PyObject
* obj0
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= wxPyMake_wxObject(result
, 0);
14432 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 PyObject
* obj1
= 0 ;
14439 char *kwnames
[] = {
14440 (char *) "self",(char *) "n", NULL
14443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14446 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= SWIG_FromInt((int)result
);
14462 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 PyObject
* obj2
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self",(char *) "n",(char *) "imageId", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14480 arg3
= (int) SWIG_AsInt(obj2
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14498 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14503 PyObject
* obj0
= 0 ;
14504 PyObject
* obj1
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self",(char *) "size", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14514 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 Py_INCREF(Py_None
); resultobj
= Py_None
;
14530 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14536 PyObject
* obj0
= 0 ;
14537 PyObject
* obj1
= 0 ;
14538 char *kwnames
[] = {
14539 (char *) "self",(char *) "sizePage", NULL
14542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14547 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14557 wxSize
* resultptr
;
14558 resultptr
= new wxSize((wxSize
&) result
);
14559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14567 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14572 PyObject
* obj0
= 0 ;
14573 PyObject
* obj1
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self",(char *) "n", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14581 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (bool)(arg1
)->DeletePage(arg2
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14599 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 PyObject
* obj1
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self",(char *) "n", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14613 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (bool)(arg1
)->RemovePage(arg2
);
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14631 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 char *kwnames
[] = {
14637 (char *) "self", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (bool)(arg1
)->DeleteAllPages();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14659 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14660 PyObject
*resultobj
;
14661 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14662 wxWindow
*arg2
= (wxWindow
*) 0 ;
14663 wxString
*arg3
= 0 ;
14664 bool arg4
= (bool) False
;
14665 int arg5
= (int) -1 ;
14667 bool temp3
= False
;
14668 PyObject
* obj0
= 0 ;
14669 PyObject
* obj1
= 0 ;
14670 PyObject
* obj2
= 0 ;
14671 PyObject
* obj3
= 0 ;
14672 PyObject
* obj4
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14683 arg3
= wxString_in_helper(obj2
);
14684 if (arg3
== NULL
) SWIG_fail
;
14688 arg4
= (bool) SWIG_AsBool(obj3
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14692 arg5
= (int) SWIG_AsInt(obj4
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14719 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14723 wxWindow
*arg3
= (wxWindow
*) 0 ;
14724 wxString
*arg4
= 0 ;
14725 bool arg5
= (bool) False
;
14726 int arg6
= (int) -1 ;
14728 bool temp4
= False
;
14729 PyObject
* obj0
= 0 ;
14730 PyObject
* obj1
= 0 ;
14731 PyObject
* obj2
= 0 ;
14732 PyObject
* obj3
= 0 ;
14733 PyObject
* obj4
= 0 ;
14734 PyObject
* obj5
= 0 ;
14735 char *kwnames
[] = {
14736 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14742 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14744 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14747 arg4
= wxString_in_helper(obj3
);
14748 if (arg4
== NULL
) SWIG_fail
;
14752 arg5
= (bool) SWIG_AsBool(obj4
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14756 arg6
= (int) SWIG_AsInt(obj5
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14783 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
;
14785 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14788 PyObject
* obj0
= 0 ;
14789 PyObject
* obj1
= 0 ;
14790 char *kwnames
[] = {
14791 (char *) "self",(char *) "n", NULL
14794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14797 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (int)(arg1
)->SetSelection(arg2
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= SWIG_FromInt((int)result
);
14813 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14816 bool arg2
= (bool) True
;
14817 PyObject
* obj0
= 0 ;
14818 PyObject
* obj1
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self",(char *) "forward", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14827 arg2
= (bool) SWIG_AsBool(obj1
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 (arg1
)->AdvanceSelection(arg2
);
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 Py_INCREF(Py_None
); resultobj
= Py_None
;
14844 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14847 wxVisualAttributes result
;
14848 PyObject
* obj0
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "variant", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14855 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14859 if (!wxPyCheckForApp()) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14867 wxVisualAttributes
* resultptr
;
14868 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14877 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14880 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14882 return Py_BuildValue((char *)"");
14884 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14887 int arg2
= (int) 0 ;
14888 int arg3
= (int) -1 ;
14889 int arg4
= (int) -1 ;
14890 wxBookCtrlEvent
*result
;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 PyObject
* obj2
= 0 ;
14894 PyObject
* obj3
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14901 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14905 arg2
= (int) SWIG_AsInt(obj1
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14909 arg3
= (int) SWIG_AsInt(obj2
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 arg4
= (int) SWIG_AsInt(obj3
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14930 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 char *kwnames
[] = {
14936 (char *) "self", NULL
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= SWIG_FromInt((int)result
);
14956 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self",(char *) "nSel", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14969 arg2
= (int) SWIG_AsInt(obj1
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 (arg1
)->SetSelection(arg2
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 Py_INCREF(Py_None
); resultobj
= Py_None
;
14985 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_FromInt((int)result
);
15011 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15015 PyObject
* obj0
= 0 ;
15016 PyObject
* obj1
= 0 ;
15017 char *kwnames
[] = {
15018 (char *) "self",(char *) "nOldSel", NULL
15021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15024 arg2
= (int) SWIG_AsInt(obj1
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 (arg1
)->SetOldSelection(arg2
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 Py_INCREF(Py_None
); resultobj
= Py_None
;
15040 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15043 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15045 return Py_BuildValue((char *)"");
15047 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
;
15049 wxWindow
*arg1
= (wxWindow
*) 0 ;
15050 int arg2
= (int) -1 ;
15051 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15052 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15053 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15054 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15055 long arg5
= (long) 0 ;
15056 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15057 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15058 wxNotebook
*result
;
15061 bool temp6
= False
;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 PyObject
* obj2
= 0 ;
15065 PyObject
* obj3
= 0 ;
15066 PyObject
* obj4
= 0 ;
15067 PyObject
* obj5
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15076 arg2
= (int) SWIG_AsInt(obj1
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15088 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15092 arg5
= (long) SWIG_AsLong(obj4
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15097 arg6
= wxString_in_helper(obj5
);
15098 if (arg6
== NULL
) SWIG_fail
;
15103 if (!wxPyCheckForApp()) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15125 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxNotebook
*result
;
15128 char *kwnames
[] = {
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15134 if (!wxPyCheckForApp()) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (wxNotebook
*)new wxNotebook();
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15148 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15151 wxWindow
*arg2
= (wxWindow
*) 0 ;
15152 int arg3
= (int) -1 ;
15153 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15154 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15155 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15156 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15157 long arg6
= (long) 0 ;
15158 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15159 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15163 bool temp7
= False
;
15164 PyObject
* obj0
= 0 ;
15165 PyObject
* obj1
= 0 ;
15166 PyObject
* obj2
= 0 ;
15167 PyObject
* obj3
= 0 ;
15168 PyObject
* obj4
= 0 ;
15169 PyObject
* obj5
= 0 ;
15170 PyObject
* obj6
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15181 arg3
= (int) SWIG_AsInt(obj2
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15187 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15193 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15197 arg6
= (long) SWIG_AsLong(obj5
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15202 arg7
= wxString_in_helper(obj6
);
15203 if (arg7
== NULL
) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15231 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
;
15233 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 char *kwnames
[] = {
15237 (char *) "self", NULL
15240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15250 resultobj
= SWIG_FromInt((int)result
);
15257 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
;
15259 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 PyObject
* obj1
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self",(char *) "padding", NULL
15268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15273 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 Py_INCREF(Py_None
); resultobj
= Py_None
;
15289 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 PyObject
* obj1
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self",(char *) "sz", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15305 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 Py_INCREF(Py_None
); resultobj
= Py_None
;
15321 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15324 wxPoint
*arg2
= 0 ;
15325 long *arg3
= (long *) 0 ;
15329 PyObject
* obj0
= 0 ;
15330 PyObject
* obj1
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "self",(char *) "pt", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15341 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= SWIG_FromInt((int)result
);
15352 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15353 resultobj
= t_output_helper(resultobj
,o
);
15361 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15367 PyObject
* obj0
= 0 ;
15368 PyObject
* obj1
= 0 ;
15369 char *kwnames
[] = {
15370 (char *) "self",(char *) "sizePage", NULL
15373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15388 wxSize
* resultptr
;
15389 resultptr
= new wxSize((wxSize
&) result
);
15390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15398 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15401 wxWindow
*arg2
= (wxWindow
*) 0 ;
15402 wxColour
*arg3
= 0 ;
15404 PyObject
* obj0
= 0 ;
15405 PyObject
* obj1
= 0 ;
15406 PyObject
* obj2
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "self",(char *) "window",(char *) "colour", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 Py_INCREF(Py_None
); resultobj
= Py_None
;
15434 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15437 wxVisualAttributes result
;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "variant", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15445 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15449 if (!wxPyCheckForApp()) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15457 wxVisualAttributes
* resultptr
;
15458 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15467 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15470 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15472 return Py_BuildValue((char *)"");
15474 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15477 int arg2
= (int) 0 ;
15478 int arg3
= (int) -1 ;
15479 int arg4
= (int) -1 ;
15480 wxNotebookEvent
*result
;
15481 PyObject
* obj0
= 0 ;
15482 PyObject
* obj1
= 0 ;
15483 PyObject
* obj2
= 0 ;
15484 PyObject
* obj3
= 0 ;
15485 char *kwnames
[] = {
15486 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15491 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15495 arg2
= (int) SWIG_AsInt(obj1
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15499 arg3
= (int) SWIG_AsInt(obj2
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15503 arg4
= (int) SWIG_AsInt(obj3
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15520 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15523 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15525 return Py_BuildValue((char *)"");
15527 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
;
15529 wxWindow
*arg1
= (wxWindow
*) 0 ;
15530 int arg2
= (int) -1 ;
15531 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15532 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15533 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15534 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15535 long arg5
= (long) 0 ;
15536 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15537 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15538 wxListbook
*result
;
15541 bool temp6
= False
;
15542 PyObject
* obj0
= 0 ;
15543 PyObject
* obj1
= 0 ;
15544 PyObject
* obj2
= 0 ;
15545 PyObject
* obj3
= 0 ;
15546 PyObject
* obj4
= 0 ;
15547 PyObject
* obj5
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15556 arg2
= (int) SWIG_AsInt(obj1
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15562 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15568 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15572 arg5
= (long) SWIG_AsLong(obj4
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15577 arg6
= wxString_in_helper(obj5
);
15578 if (arg6
== NULL
) SWIG_fail
;
15583 if (!wxPyCheckForApp()) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15605 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
;
15607 wxListbook
*result
;
15608 char *kwnames
[] = {
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15614 if (!wxPyCheckForApp()) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (wxListbook
*)new wxListbook();
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15628 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
;
15630 wxListbook
*arg1
= (wxListbook
*) 0 ;
15631 wxWindow
*arg2
= (wxWindow
*) 0 ;
15632 int arg3
= (int) -1 ;
15633 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15634 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15635 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15636 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15637 long arg6
= (long) 0 ;
15638 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15639 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15643 bool temp7
= False
;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 PyObject
* obj2
= 0 ;
15647 PyObject
* obj3
= 0 ;
15648 PyObject
* obj4
= 0 ;
15649 PyObject
* obj5
= 0 ;
15650 PyObject
* obj6
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15661 arg3
= (int) SWIG_AsInt(obj2
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15667 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15673 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15677 arg6
= (long) SWIG_AsLong(obj5
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15682 arg7
= wxString_in_helper(obj6
);
15683 if (arg7
== NULL
) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15711 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15713 wxListbook
*arg1
= (wxListbook
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15739 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15742 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15744 return Py_BuildValue((char *)"");
15746 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
;
15748 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15749 int arg2
= (int) 0 ;
15750 int arg3
= (int) -1 ;
15751 int arg4
= (int) -1 ;
15752 wxListbookEvent
*result
;
15753 PyObject
* obj0
= 0 ;
15754 PyObject
* obj1
= 0 ;
15755 PyObject
* obj2
= 0 ;
15756 PyObject
* obj3
= 0 ;
15757 char *kwnames
[] = {
15758 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15763 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15767 arg2
= (int) SWIG_AsInt(obj1
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15771 arg3
= (int) SWIG_AsInt(obj2
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15775 arg4
= (int) SWIG_AsInt(obj3
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15792 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15795 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15797 return Py_BuildValue((char *)"");
15799 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15802 wxBookCtrlSizer
*result
;
15803 PyObject
* obj0
= 0 ;
15804 char *kwnames
[] = {
15805 (char *) "nb", NULL
15808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15825 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
;
15827 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "self", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 (arg1
)->RecalcSizes();
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 Py_INCREF(Py_None
); resultobj
= Py_None
;
15850 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15854 PyObject
* obj0
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (arg1
)->CalcMin();
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15870 wxSize
* resultptr
;
15871 resultptr
= new wxSize((wxSize
&) result
);
15872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15880 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15883 wxBookCtrl
*result
;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15906 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15909 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15911 return Py_BuildValue((char *)"");
15913 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15916 wxNotebookSizer
*result
;
15917 PyObject
* obj0
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "nb", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15939 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 (arg1
)->RecalcSizes();
15954 wxPyEndAllowThreads(__tstate
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15957 Py_INCREF(Py_None
); resultobj
= Py_None
;
15964 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15968 PyObject
* obj0
= 0 ;
15969 char *kwnames
[] = {
15970 (char *) "self", NULL
15973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 result
= (arg1
)->CalcMin();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15984 wxSize
* resultptr
;
15985 resultptr
= new wxSize((wxSize
&) result
);
15986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15994 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
;
15996 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15997 wxNotebook
*result
;
15998 PyObject
* obj0
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "self", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= wxPyMake_wxObject(result
, 0);
16022 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
16024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16025 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16027 return Py_BuildValue((char *)"");
16029 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16033 PyObject
* obj0
= 0 ;
16034 char *kwnames
[] = {
16035 (char *) "self", NULL
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= (int)(arg1
)->GetId();
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16048 resultobj
= SWIG_FromInt((int)result
);
16055 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16059 PyObject
* obj0
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 result
= (wxControl
*)(arg1
)->GetControl();
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= wxPyMake_wxObject(result
, 0);
16083 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16086 wxToolBarBase
*result
;
16087 PyObject
* obj0
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= wxPyMake_wxObject(result
, 0);
16111 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
;
16113 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16115 PyObject
* obj0
= 0 ;
16116 char *kwnames
[] = {
16117 (char *) "self", NULL
16120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= (int)(arg1
)->IsButton();
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= SWIG_FromInt((int)result
);
16137 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
;
16139 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16141 PyObject
* obj0
= 0 ;
16142 char *kwnames
[] = {
16143 (char *) "self", NULL
16146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (int)(arg1
)->IsControl();
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= SWIG_FromInt((int)result
);
16163 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16164 PyObject
*resultobj
;
16165 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16167 PyObject
* obj0
= 0 ;
16168 char *kwnames
[] = {
16169 (char *) "self", NULL
16172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 result
= (int)(arg1
)->IsSeparator();
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16182 resultobj
= SWIG_FromInt((int)result
);
16189 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16190 PyObject
*resultobj
;
16191 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16193 PyObject
* obj0
= 0 ;
16194 char *kwnames
[] = {
16195 (char *) "self", NULL
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= (int)(arg1
)->GetStyle();
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= SWIG_FromInt((int)result
);
16215 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
;
16217 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16219 PyObject
* obj0
= 0 ;
16220 char *kwnames
[] = {
16221 (char *) "self", NULL
16224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= (int)(arg1
)->GetKind();
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= SWIG_FromInt((int)result
);
16241 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16245 PyObject
* obj0
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= (bool)(arg1
)->IsEnabled();
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16269 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (bool)(arg1
)->IsToggled();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16297 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16299 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16301 PyObject
* obj0
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= (bool)(arg1
)->CanBeToggled();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16325 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self", NULL
16334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16341 result
= (wxBitmap
*) &_result_ref
;
16344 wxPyEndAllowThreads(__tstate
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16348 wxBitmap
* resultptr
= new wxBitmap(*result
);
16349 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16357 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16373 result
= (wxBitmap
*) &_result_ref
;
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16380 wxBitmap
* resultptr
= new wxBitmap(*result
);
16381 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16389 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16393 PyObject
* obj0
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (arg1
)->GetBitmap();
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16409 wxBitmap
* resultptr
;
16410 resultptr
= new wxBitmap((wxBitmap
&) result
);
16411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16419 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= (arg1
)->GetLabel();
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16451 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (arg1
)->GetShortHelp();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16483 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16487 PyObject
* obj0
= 0 ;
16488 char *kwnames
[] = {
16489 (char *) "self", NULL
16492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 result
= (arg1
)->GetLongHelp();
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16515 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self",(char *) "enable", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 arg2
= (bool) SWIG_AsBool(obj1
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 result
= (bool)(arg1
)->Enable(arg2
);
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16547 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 Py_INCREF(Py_None
); resultobj
= Py_None
;
16572 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 PyObject
* obj1
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self",(char *) "toggle", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16586 arg2
= (bool) SWIG_AsBool(obj1
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 result
= (bool)(arg1
)->SetToggle(arg2
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16604 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16607 wxString
*arg2
= 0 ;
16609 bool temp2
= False
;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 char *kwnames
[] = {
16613 (char *) "self",(char *) "help", NULL
16616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16620 arg2
= wxString_in_helper(obj1
);
16621 if (arg2
== NULL
) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16648 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16651 wxString
*arg2
= 0 ;
16653 bool temp2
= False
;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self",(char *) "help", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16664 arg2
= wxString_in_helper(obj1
);
16665 if (arg2
== NULL
) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16692 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
;
16694 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16695 wxBitmap
*arg2
= 0 ;
16696 PyObject
* obj0
= 0 ;
16697 PyObject
* obj1
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "self",(char *) "bmp", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16708 if (arg2
== NULL
) {
16709 PyErr_SetString(PyExc_TypeError
,"null reference");
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16719 Py_INCREF(Py_None
); resultobj
= Py_None
;
16726 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
;
16728 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16729 wxBitmap
*arg2
= 0 ;
16730 PyObject
* obj0
= 0 ;
16731 PyObject
* obj1
= 0 ;
16732 char *kwnames
[] = {
16733 (char *) "self",(char *) "bmp", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16742 if (arg2
== NULL
) {
16743 PyErr_SetString(PyExc_TypeError
,"null reference");
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16753 Py_INCREF(Py_None
); resultobj
= Py_None
;
16760 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
;
16762 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16763 wxString
*arg2
= 0 ;
16764 bool temp2
= False
;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 char *kwnames
[] = {
16768 (char *) "self",(char *) "label", NULL
16771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16775 arg2
= wxString_in_helper(obj1
);
16776 if (arg2
== NULL
) SWIG_fail
;
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 (arg1
)->SetLabel((wxString
const &)*arg2
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 Py_INCREF(Py_None
); resultobj
= Py_None
;
16801 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16804 PyObject
* obj0
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "self", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 Py_INCREF(Py_None
); resultobj
= Py_None
;
16826 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
;
16828 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16829 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16830 PyObject
* obj0
= 0 ;
16831 PyObject
* obj1
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self",(char *) "tbar", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 (arg1
)->Attach(arg2
);
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16848 Py_INCREF(Py_None
); resultobj
= Py_None
;
16855 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16859 PyObject
* obj0
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "self", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 resultobj
= result
;
16881 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
;
16883 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16884 PyObject
*arg2
= (PyObject
*) 0 ;
16885 PyObject
* obj0
= 0 ;
16886 PyObject
* obj1
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self",(char *) "clientData", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 Py_INCREF(Py_None
); resultobj
= Py_None
;
16909 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16912 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16914 return Py_BuildValue((char *)"");
16916 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16918 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16920 wxString
*arg3
= 0 ;
16921 wxBitmap
*arg4
= 0 ;
16922 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16923 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16924 int arg6
= (int) wxITEM_NORMAL
;
16925 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16926 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16927 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16928 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16929 PyObject
*arg9
= (PyObject
*) NULL
;
16930 wxToolBarToolBase
*result
;
16931 bool temp3
= False
;
16932 bool temp7
= False
;
16933 bool temp8
= False
;
16934 PyObject
* obj0
= 0 ;
16935 PyObject
* obj1
= 0 ;
16936 PyObject
* obj2
= 0 ;
16937 PyObject
* obj3
= 0 ;
16938 PyObject
* obj4
= 0 ;
16939 PyObject
* obj5
= 0 ;
16940 PyObject
* obj6
= 0 ;
16941 PyObject
* obj7
= 0 ;
16942 PyObject
* obj8
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16950 arg2
= (int) SWIG_AsInt(obj1
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16953 arg3
= wxString_in_helper(obj2
);
16954 if (arg3
== NULL
) SWIG_fail
;
16957 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16960 if (arg4
== NULL
) {
16961 PyErr_SetString(PyExc_TypeError
,"null reference");
16965 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16968 if (arg5
== NULL
) {
16969 PyErr_SetString(PyExc_TypeError
,"null reference");
16974 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16979 arg7
= wxString_in_helper(obj6
);
16980 if (arg7
== NULL
) SWIG_fail
;
16986 arg8
= wxString_in_helper(obj7
);
16987 if (arg8
== NULL
) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= wxPyMake_wxObject(result
, 0);
17034 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17039 wxString
*arg4
= 0 ;
17040 wxBitmap
*arg5
= 0 ;
17041 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17042 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17043 int arg7
= (int) wxITEM_NORMAL
;
17044 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17045 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17046 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17047 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17048 PyObject
*arg10
= (PyObject
*) NULL
;
17049 wxToolBarToolBase
*result
;
17050 bool temp4
= False
;
17051 bool temp8
= False
;
17052 bool temp9
= False
;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 PyObject
* obj2
= 0 ;
17056 PyObject
* obj3
= 0 ;
17057 PyObject
* obj4
= 0 ;
17058 PyObject
* obj5
= 0 ;
17059 PyObject
* obj6
= 0 ;
17060 PyObject
* obj7
= 0 ;
17061 PyObject
* obj8
= 0 ;
17062 PyObject
* obj9
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17070 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17072 arg3
= (int) SWIG_AsInt(obj2
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 arg4
= wxString_in_helper(obj3
);
17076 if (arg4
== NULL
) SWIG_fail
;
17079 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17082 if (arg5
== NULL
) {
17083 PyErr_SetString(PyExc_TypeError
,"null reference");
17087 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17090 if (arg6
== NULL
) {
17091 PyErr_SetString(PyExc_TypeError
,"null reference");
17096 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17101 arg8
= wxString_in_helper(obj7
);
17102 if (arg8
== NULL
) SWIG_fail
;
17108 arg9
= wxString_in_helper(obj8
);
17109 if (arg9
== NULL
) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 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
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17124 resultobj
= wxPyMake_wxObject(result
, 0);
17156 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17159 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17160 wxToolBarToolBase
*result
;
17161 PyObject
* obj0
= 0 ;
17162 PyObject
* obj1
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self",(char *) "tool", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= wxPyMake_wxObject(result
, 0);
17188 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17192 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17193 wxToolBarToolBase
*result
;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 PyObject
* obj2
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "self",(char *) "pos",(char *) "tool", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17204 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17206 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17216 resultobj
= wxPyMake_wxObject(result
, 0);
17224 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
;
17226 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17227 wxControl
*arg2
= (wxControl
*) 0 ;
17228 wxToolBarToolBase
*result
;
17229 PyObject
* obj0
= 0 ;
17230 PyObject
* obj1
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "self",(char *) "control", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= wxPyMake_wxObject(result
, 0);
17256 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17257 PyObject
*resultobj
;
17258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17260 wxControl
*arg3
= (wxControl
*) 0 ;
17261 wxToolBarToolBase
*result
;
17262 PyObject
* obj0
= 0 ;
17263 PyObject
* obj1
= 0 ;
17264 PyObject
* obj2
= 0 ;
17265 char *kwnames
[] = {
17266 (char *) "self",(char *) "pos",(char *) "control", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17272 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17274 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17284 resultobj
= wxPyMake_wxObject(result
, 0);
17292 static PyObject
*_wrap_ToolBarBase_FindControl(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 *) "id", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",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
= (int) SWIG_AsInt(obj1
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= wxPyMake_wxObject(result
, 0);
17324 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17326 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17327 wxToolBarToolBase
*result
;
17328 PyObject
* obj0
= 0 ;
17329 char *kwnames
[] = {
17330 (char *) "self", NULL
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17344 resultobj
= wxPyMake_wxObject(result
, 0);
17352 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17353 PyObject
*resultobj
;
17354 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17356 wxToolBarToolBase
*result
;
17357 PyObject
* obj0
= 0 ;
17358 PyObject
* obj1
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self",(char *) "pos", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17366 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= wxPyMake_wxObject(result
, 0);
17384 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17388 wxToolBarToolBase
*result
;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 char *kwnames
[] = {
17392 (char *) "self",(char *) "id", NULL
17395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17398 arg2
= (int) SWIG_AsInt(obj1
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= wxPyMake_wxObject(result
, 0);
17416 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
;
17418 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17421 PyObject
* obj0
= 0 ;
17422 PyObject
* obj1
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self",(char *) "pos", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17430 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17448 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self",(char *) "id", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17462 arg2
= (int) SWIG_AsInt(obj1
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 result
= (bool)(arg1
)->DeleteTool(arg2
);
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17480 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 (arg1
)->ClearTools();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17498 Py_INCREF(Py_None
); resultobj
= Py_None
;
17505 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
;
17507 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17509 PyObject
* obj0
= 0 ;
17510 char *kwnames
[] = {
17511 (char *) "self", NULL
17514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 result
= (bool)(arg1
)->Realize();
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17533 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17538 PyObject
* obj0
= 0 ;
17539 PyObject
* obj1
= 0 ;
17540 PyObject
* obj2
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "self",(char *) "id",(char *) "enable", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17548 arg2
= (int) SWIG_AsInt(obj1
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17550 arg3
= (bool) SWIG_AsBool(obj2
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 (arg1
)->EnableTool(arg2
,arg3
);
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 Py_INCREF(Py_None
); resultobj
= Py_None
;
17566 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
;
17568 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 PyObject
* obj1
= 0 ;
17573 PyObject
* obj2
= 0 ;
17574 char *kwnames
[] = {
17575 (char *) "self",(char *) "id",(char *) "toggle", NULL
17578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17581 arg2
= (int) SWIG_AsInt(obj1
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17583 arg3
= (bool) SWIG_AsBool(obj2
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 (arg1
)->ToggleTool(arg2
,arg3
);
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 Py_INCREF(Py_None
); resultobj
= Py_None
;
17599 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 PyObject
* obj2
= 0 ;
17607 char *kwnames
[] = {
17608 (char *) "self",(char *) "id",(char *) "toggle", NULL
17611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17614 arg2
= (int) SWIG_AsInt(obj1
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17616 arg3
= (bool) SWIG_AsBool(obj2
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 (arg1
)->SetToggle(arg2
,arg3
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 Py_INCREF(Py_None
); resultobj
= Py_None
;
17632 static PyObject
*_wrap_ToolBarBase_GetToolClientData(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_GetToolClientData",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
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= result
;
17662 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17666 PyObject
*arg3
= (PyObject
*) 0 ;
17667 PyObject
* obj0
= 0 ;
17668 PyObject
* obj1
= 0 ;
17669 PyObject
* obj2
= 0 ;
17670 char *kwnames
[] = {
17671 (char *) "self",(char *) "id",(char *) "clientData", NULL
17674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17677 arg2
= (int) SWIG_AsInt(obj1
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 Py_INCREF(Py_None
); resultobj
= Py_None
;
17694 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "self",(char *) "id", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17708 arg2
= (int) SWIG_AsInt(obj1
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_FromInt((int)result
);
17724 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self",(char *) "id", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17738 arg2
= (int) SWIG_AsInt(obj1
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (bool)(arg1
)->GetToolState(arg2
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17756 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17761 PyObject
* obj0
= 0 ;
17762 PyObject
* obj1
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self",(char *) "id", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17770 arg2
= (int) SWIG_AsInt(obj1
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17788 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17792 wxString
*arg3
= 0 ;
17793 bool temp3
= False
;
17794 PyObject
* obj0
= 0 ;
17795 PyObject
* obj1
= 0 ;
17796 PyObject
* obj2
= 0 ;
17797 char *kwnames
[] = {
17798 (char *) "self",(char *) "id",(char *) "helpString", NULL
17801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= wxString_in_helper(obj2
);
17808 if (arg3
== NULL
) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 Py_INCREF(Py_None
); resultobj
= Py_None
;
17833 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 char *kwnames
[] = {
17841 (char *) "self",(char *) "id", NULL
17844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17847 arg2
= (int) SWIG_AsInt(obj1
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17851 result
= (arg1
)->GetToolShortHelp(arg2
);
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17869 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17873 wxString
*arg3
= 0 ;
17874 bool temp3
= False
;
17875 PyObject
* obj0
= 0 ;
17876 PyObject
* obj1
= 0 ;
17877 PyObject
* obj2
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self",(char *) "id",(char *) "helpString", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17885 arg2
= (int) SWIG_AsInt(obj1
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 arg3
= wxString_in_helper(obj2
);
17889 if (arg3
== NULL
) SWIG_fail
;
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 Py_INCREF(Py_None
); resultobj
= Py_None
;
17914 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
;
17916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17919 PyObject
* obj0
= 0 ;
17920 PyObject
* obj1
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self",(char *) "id", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17928 arg2
= (int) SWIG_AsInt(obj1
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (arg1
)->GetToolLongHelp(arg2
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17950 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17955 PyObject
* obj0
= 0 ;
17956 PyObject
* obj1
= 0 ;
17957 PyObject
* obj2
= 0 ;
17958 char *kwnames
[] = {
17959 (char *) "self",(char *) "x",(char *) "y", NULL
17962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17965 arg2
= (int) SWIG_AsInt(obj1
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17967 arg3
= (int) SWIG_AsInt(obj2
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 (arg1
)->SetMargins(arg2
,arg3
);
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 Py_INCREF(Py_None
); resultobj
= Py_None
;
17983 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
;
17985 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self",(char *) "size", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17999 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 Py_INCREF(Py_None
); resultobj
= Py_None
;
18015 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18019 PyObject
* obj0
= 0 ;
18020 PyObject
* obj1
= 0 ;
18021 char *kwnames
[] = {
18022 (char *) "self",(char *) "packing", NULL
18025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18028 arg2
= (int) SWIG_AsInt(obj1
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 (arg1
)->SetToolPacking(arg2
);
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 Py_INCREF(Py_None
); resultobj
= Py_None
;
18044 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18046 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18048 PyObject
* obj0
= 0 ;
18049 PyObject
* obj1
= 0 ;
18050 char *kwnames
[] = {
18051 (char *) "self",(char *) "separation", NULL
18054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18057 arg2
= (int) SWIG_AsInt(obj1
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 (arg1
)->SetToolSeparation(arg2
);
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 Py_INCREF(Py_None
); resultobj
= Py_None
;
18073 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
;
18075 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 char *kwnames
[] = {
18079 (char *) "self", NULL
18082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 result
= (arg1
)->GetToolMargins();
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18093 wxSize
* resultptr
;
18094 resultptr
= new wxSize((wxSize
&) result
);
18095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18103 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18107 PyObject
* obj0
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "self", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 result
= (arg1
)->GetMargins();
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18123 wxSize
* resultptr
;
18124 resultptr
= new wxSize((wxSize
&) result
);
18125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18133 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 result
= (int)(arg1
)->GetToolPacking();
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_FromInt((int)result
);
18159 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
;
18161 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18163 PyObject
* obj0
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (int)(arg1
)->GetToolSeparation();
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= SWIG_FromInt((int)result
);
18185 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 PyObject
* obj1
= 0 ;
18191 char *kwnames
[] = {
18192 (char *) "self",(char *) "nRows", NULL
18195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18198 arg2
= (int) SWIG_AsInt(obj1
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 (arg1
)->SetRows(arg2
);
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 Py_INCREF(Py_None
); resultobj
= Py_None
;
18214 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 PyObject
* obj2
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self",(char *) "rows",(char *) "cols", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18229 arg2
= (int) SWIG_AsInt(obj1
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18231 arg3
= (int) SWIG_AsInt(obj2
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 Py_INCREF(Py_None
); resultobj
= Py_None
;
18247 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18251 PyObject
* obj0
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 result
= (int)(arg1
)->GetMaxRows();
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= SWIG_FromInt((int)result
);
18273 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18277 PyObject
* obj0
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 result
= (int)(arg1
)->GetMaxCols();
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18292 resultobj
= SWIG_FromInt((int)result
);
18299 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18301 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 char *kwnames
[] = {
18307 (char *) "self",(char *) "size", NULL
18310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18315 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 Py_INCREF(Py_None
); resultobj
= Py_None
;
18331 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (arg1
)->GetToolBitmapSize();
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18351 wxSize
* resultptr
;
18352 resultptr
= new wxSize((wxSize
&) result
);
18353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18361 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 result
= (arg1
)->GetToolSize();
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18381 wxSize
* resultptr
;
18382 resultptr
= new wxSize((wxSize
&) result
);
18383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18391 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
;
18393 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18396 wxToolBarToolBase
*result
;
18397 PyObject
* obj0
= 0 ;
18398 PyObject
* obj1
= 0 ;
18399 PyObject
* obj2
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "x",(char *) "y", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18407 arg2
= (int) SWIG_AsInt(obj1
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18409 arg3
= (int) SWIG_AsInt(obj2
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= wxPyMake_wxObject(result
, 0);
18427 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18431 wxToolBarToolBase
*result
;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self",(char *) "toolid", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18441 arg2
= (int) SWIG_AsInt(obj1
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= wxPyMake_wxObject(result
, 0);
18459 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (bool)(arg1
)->IsVertical();
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18487 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18490 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18492 return Py_BuildValue((char *)"");
18494 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxWindow
*arg1
= (wxWindow
*) 0 ;
18497 int arg2
= (int) -1 ;
18498 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18499 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18500 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18501 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18502 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18503 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18504 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18508 bool temp6
= False
;
18509 PyObject
* obj0
= 0 ;
18510 PyObject
* obj1
= 0 ;
18511 PyObject
* obj2
= 0 ;
18512 PyObject
* obj3
= 0 ;
18513 PyObject
* obj4
= 0 ;
18514 PyObject
* obj5
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18523 arg2
= (int) SWIG_AsInt(obj1
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18529 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18535 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18539 arg5
= (long) SWIG_AsLong(obj4
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18544 arg6
= wxString_in_helper(obj5
);
18545 if (arg6
== NULL
) SWIG_fail
;
18550 if (!wxPyCheckForApp()) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18554 wxPyEndAllowThreads(__tstate
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18572 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18575 char *kwnames
[] = {
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18581 if (!wxPyCheckForApp()) SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 result
= (wxToolBar
*)new wxToolBar();
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18595 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
;
18597 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18598 wxWindow
*arg2
= (wxWindow
*) 0 ;
18599 int arg3
= (int) -1 ;
18600 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18601 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18602 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18603 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18604 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18605 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18606 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18610 bool temp7
= False
;
18611 PyObject
* obj0
= 0 ;
18612 PyObject
* obj1
= 0 ;
18613 PyObject
* obj2
= 0 ;
18614 PyObject
* obj3
= 0 ;
18615 PyObject
* obj4
= 0 ;
18616 PyObject
* obj5
= 0 ;
18617 PyObject
* obj6
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18628 arg3
= (int) SWIG_AsInt(obj2
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18634 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18640 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18644 arg6
= (long) SWIG_AsLong(obj5
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18649 arg7
= wxString_in_helper(obj6
);
18650 if (arg7
== NULL
) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18678 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18683 wxToolBarToolBase
*result
;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 PyObject
* obj2
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self",(char *) "x",(char *) "y", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18694 arg2
= (int) SWIG_AsInt(obj1
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18696 arg3
= (int) SWIG_AsInt(obj2
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= wxPyMake_wxObject(result
, 0);
18714 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18716 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18717 wxVisualAttributes result
;
18718 PyObject
* obj0
= 0 ;
18719 char *kwnames
[] = {
18720 (char *) "variant", NULL
18723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18725 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 if (!wxPyCheckForApp()) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18737 wxVisualAttributes
* resultptr
;
18738 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18747 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18750 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18752 return Py_BuildValue((char *)"");
18754 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18755 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18760 static PyObject
*_wrap_ListCtrlNameStr_get() {
18765 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18767 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18774 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxColour
const &arg1_defvalue
= wxNullColour
;
18777 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18778 wxColour
const &arg2_defvalue
= wxNullColour
;
18779 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18780 wxFont
const &arg3_defvalue
= wxNullFont
;
18781 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18782 wxListItemAttr
*result
;
18785 PyObject
* obj0
= 0 ;
18786 PyObject
* obj1
= 0 ;
18787 PyObject
* obj2
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18796 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18802 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18806 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18809 if (arg3
== NULL
) {
18810 PyErr_SetString(PyExc_TypeError
,"null reference");
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18828 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18831 wxColour
*arg2
= 0 ;
18833 PyObject
* obj0
= 0 ;
18834 PyObject
* obj1
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "self",(char *) "colText", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18844 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 Py_INCREF(Py_None
); resultobj
= Py_None
;
18860 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18863 wxColour
*arg2
= 0 ;
18865 PyObject
* obj0
= 0 ;
18866 PyObject
* obj1
= 0 ;
18867 char *kwnames
[] = {
18868 (char *) "self",(char *) "colBack", NULL
18871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18876 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18885 Py_INCREF(Py_None
); resultobj
= Py_None
;
18892 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
;
18894 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18896 PyObject
* obj0
= 0 ;
18897 PyObject
* obj1
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self",(char *) "font", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18906 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18908 if (arg2
== NULL
) {
18909 PyErr_SetString(PyExc_TypeError
,"null reference");
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 (arg1
)->SetFont((wxFont
const &)*arg2
);
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 Py_INCREF(Py_None
); resultobj
= Py_None
;
18926 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18930 PyObject
* obj0
= 0 ;
18931 char *kwnames
[] = {
18932 (char *) "self", NULL
18935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 result
= (bool)(arg1
)->HasTextColour();
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18954 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18958 PyObject
* obj0
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 result
= (bool)(arg1
)->HasBackgroundColour();
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18982 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18986 PyObject
* obj0
= 0 ;
18987 char *kwnames
[] = {
18988 (char *) "self", NULL
18991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= (bool)(arg1
)->HasFont();
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19010 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 result
= (arg1
)->GetTextColour();
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19030 wxColour
* resultptr
;
19031 resultptr
= new wxColour((wxColour
&) result
);
19032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19040 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= (arg1
)->GetBackgroundColour();
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19060 wxColour
* resultptr
;
19061 resultptr
= new wxColour((wxColour
&) result
);
19062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19070 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (arg1
)->GetFont();
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19090 wxFont
* resultptr
;
19091 resultptr
= new wxFont((wxFont
&) result
);
19092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19100 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19102 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19103 PyObject
* obj0
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 wxListItemAttr_Destroy(arg1
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 Py_INCREF(Py_None
); resultobj
= Py_None
;
19125 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
19127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19128 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19130 return Py_BuildValue((char *)"");
19132 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxListItem
*result
;
19135 char *kwnames
[] = {
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 result
= (wxListItem
*)new wxListItem();
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= wxPyMake_wxObject(result
, 1);
19156 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxListItem
*arg1
= (wxListItem
*) 0 ;
19159 PyObject
* obj0
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "self", NULL
19164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 Py_INCREF(Py_None
); resultobj
= Py_None
;
19181 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxListItem
*arg1
= (wxListItem
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 Py_INCREF(Py_None
); resultobj
= Py_None
;
19206 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19208 wxListItem
*arg1
= (wxListItem
*) 0 ;
19209 PyObject
* obj0
= 0 ;
19210 char *kwnames
[] = {
19211 (char *) "self", NULL
19214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 (arg1
)->ClearAttributes();
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 Py_INCREF(Py_None
); resultobj
= Py_None
;
19231 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxListItem
*arg1
= (wxListItem
*) 0 ;
19235 PyObject
* obj0
= 0 ;
19236 PyObject
* obj1
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self",(char *) "mask", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19244 arg2
= (long) SWIG_AsLong(obj1
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 (arg1
)->SetMask(arg2
);
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 Py_INCREF(Py_None
); resultobj
= Py_None
;
19260 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxListItem
*arg1
= (wxListItem
*) 0 ;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj1
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "self",(char *) "id", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19273 arg2
= (long) SWIG_AsLong(obj1
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 (arg1
)->SetId(arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 Py_INCREF(Py_None
); resultobj
= Py_None
;
19289 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxListItem
*arg1
= (wxListItem
*) 0 ;
19293 PyObject
* obj0
= 0 ;
19294 PyObject
* obj1
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "self",(char *) "col", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19302 arg2
= (int) SWIG_AsInt(obj1
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 (arg1
)->SetColumn(arg2
);
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 Py_INCREF(Py_None
); resultobj
= Py_None
;
19318 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19320 wxListItem
*arg1
= (wxListItem
*) 0 ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self",(char *) "state", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19331 arg2
= (long) SWIG_AsLong(obj1
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 (arg1
)->SetState(arg2
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 Py_INCREF(Py_None
); resultobj
= Py_None
;
19347 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxListItem
*arg1
= (wxListItem
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self",(char *) "stateMask", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19360 arg2
= (long) SWIG_AsLong(obj1
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 (arg1
)->SetStateMask(arg2
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 Py_INCREF(Py_None
); resultobj
= Py_None
;
19376 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
;
19378 wxListItem
*arg1
= (wxListItem
*) 0 ;
19379 wxString
*arg2
= 0 ;
19380 bool temp2
= False
;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 char *kwnames
[] = {
19384 (char *) "self",(char *) "text", NULL
19387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19391 arg2
= wxString_in_helper(obj1
);
19392 if (arg2
== NULL
) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->SetText((wxString
const &)*arg2
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 Py_INCREF(Py_None
); resultobj
= Py_None
;
19417 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxListItem
*arg1
= (wxListItem
*) 0 ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self",(char *) "image", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19430 arg2
= (int) SWIG_AsInt(obj1
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 (arg1
)->SetImage(arg2
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 Py_INCREF(Py_None
); resultobj
= Py_None
;
19446 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxListItem
*arg1
= (wxListItem
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self",(char *) "data", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 arg2
= (long) SWIG_AsLong(obj1
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 (arg1
)->SetData(arg2
);
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 Py_INCREF(Py_None
); resultobj
= Py_None
;
19475 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxListItem
*arg1
= (wxListItem
*) 0 ;
19479 PyObject
* obj0
= 0 ;
19480 PyObject
* obj1
= 0 ;
19481 char *kwnames
[] = {
19482 (char *) "self",(char *) "width", NULL
19485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19488 arg2
= (int) SWIG_AsInt(obj1
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19492 (arg1
)->SetWidth(arg2
);
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 Py_INCREF(Py_None
); resultobj
= Py_None
;
19504 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxListItem
*arg1
= (wxListItem
*) 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "align", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19517 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 Py_INCREF(Py_None
); resultobj
= Py_None
;
19533 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxListItem
*arg1
= (wxListItem
*) 0 ;
19536 wxColour
*arg2
= 0 ;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "self",(char *) "colText", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19549 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 Py_INCREF(Py_None
); resultobj
= Py_None
;
19565 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxListItem
*arg1
= (wxListItem
*) 0 ;
19568 wxColour
*arg2
= 0 ;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "self",(char *) "colBack", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19581 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 Py_INCREF(Py_None
); resultobj
= Py_None
;
19597 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
;
19599 wxListItem
*arg1
= (wxListItem
*) 0 ;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self",(char *) "font", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19613 if (arg2
== NULL
) {
19614 PyErr_SetString(PyExc_TypeError
,"null reference");
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 (arg1
)->SetFont((wxFont
const &)*arg2
);
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 Py_INCREF(Py_None
); resultobj
= Py_None
;
19631 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxListItem
*arg1
= (wxListItem
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 result
= (long)(arg1
)->GetMask();
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= SWIG_FromLong((long)result
);
19657 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19658 PyObject
*resultobj
;
19659 wxListItem
*arg1
= (wxListItem
*) 0 ;
19661 PyObject
* obj0
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 result
= (long)(arg1
)->GetId();
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= SWIG_FromLong((long)result
);
19683 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
;
19685 wxListItem
*arg1
= (wxListItem
*) 0 ;
19687 PyObject
* obj0
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "self", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (int)(arg1
)->GetColumn();
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= SWIG_FromInt((int)result
);
19709 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxListItem
*arg1
= (wxListItem
*) 0 ;
19713 PyObject
* obj0
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (long)(arg1
)->GetState();
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= SWIG_FromLong((long)result
);
19735 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19737 wxListItem
*arg1
= (wxListItem
*) 0 ;
19739 PyObject
* obj0
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 wxString
const &_result_ref
= (arg1
)->GetText();
19751 result
= (wxString
*) &_result_ref
;
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19761 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19770 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxListItem
*arg1
= (wxListItem
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 char *kwnames
[] = {
19776 (char *) "self", NULL
19779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= (int)(arg1
)->GetImage();
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_FromInt((int)result
);
19796 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxListItem
*arg1
= (wxListItem
*) 0 ;
19800 PyObject
* obj0
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 result
= (long)(arg1
)->GetData();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= SWIG_FromLong((long)result
);
19822 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
;
19824 wxListItem
*arg1
= (wxListItem
*) 0 ;
19826 PyObject
* obj0
= 0 ;
19827 char *kwnames
[] = {
19828 (char *) "self", NULL
19831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 result
= (int)(arg1
)->GetWidth();
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= SWIG_FromInt((int)result
);
19848 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19849 PyObject
*resultobj
;
19850 wxListItem
*arg1
= (wxListItem
*) 0 ;
19852 PyObject
* obj0
= 0 ;
19853 char *kwnames
[] = {
19854 (char *) "self", NULL
19857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 result
= (int)(arg1
)->GetAlign();
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19867 resultobj
= SWIG_FromInt((int)result
);
19874 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxListItem
*arg1
= (wxListItem
*) 0 ;
19877 wxListItemAttr
*result
;
19878 PyObject
* obj0
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19900 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxListItem
*arg1
= (wxListItem
*) 0 ;
19904 PyObject
* obj0
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 result
= (bool)(arg1
)->HasAttributes();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19928 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
;
19930 wxListItem
*arg1
= (wxListItem
*) 0 ;
19932 PyObject
* obj0
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "self", NULL
19937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19942 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19948 wxColour
* resultptr
;
19949 resultptr
= new wxColour((wxColour
&) result
);
19950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19958 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxListItem
*arg1
= (wxListItem
*) 0 ;
19962 PyObject
* obj0
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19978 wxColour
* resultptr
;
19979 resultptr
= new wxColour((wxColour
&) result
);
19980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19988 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 wxListItem
*arg1
= (wxListItem
*) 0 ;
19992 PyObject
* obj0
= 0 ;
19993 char *kwnames
[] = {
19994 (char *) "self", NULL
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 result
= ((wxListItem
const *)arg1
)->GetFont();
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20008 wxFont
* resultptr
;
20009 resultptr
= new wxFont((wxFont
&) result
);
20010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20018 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxListItem
*arg1
= (wxListItem
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 PyObject
* obj1
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self",(char *) "m_mask", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20031 arg2
= (long) SWIG_AsLong(obj1
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20033 if (arg1
) (arg1
)->m_mask
= arg2
;
20035 Py_INCREF(Py_None
); resultobj
= Py_None
;
20042 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
;
20044 wxListItem
*arg1
= (wxListItem
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "self", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20054 result
= (long) ((arg1
)->m_mask
);
20056 resultobj
= SWIG_FromLong((long)result
);
20063 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxListItem
*arg1
= (wxListItem
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 PyObject
* obj1
= 0 ;
20069 char *kwnames
[] = {
20070 (char *) "self",(char *) "m_itemId", NULL
20073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 arg2
= (long) SWIG_AsLong(obj1
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20078 if (arg1
) (arg1
)->m_itemId
= arg2
;
20080 Py_INCREF(Py_None
); resultobj
= Py_None
;
20087 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
;
20089 wxListItem
*arg1
= (wxListItem
*) 0 ;
20091 PyObject
* obj0
= 0 ;
20092 char *kwnames
[] = {
20093 (char *) "self", NULL
20096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20099 result
= (long) ((arg1
)->m_itemId
);
20101 resultobj
= SWIG_FromLong((long)result
);
20108 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxListItem
*arg1
= (wxListItem
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 PyObject
* obj1
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self",(char *) "m_col", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20121 arg2
= (int) SWIG_AsInt(obj1
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20123 if (arg1
) (arg1
)->m_col
= arg2
;
20125 Py_INCREF(Py_None
); resultobj
= Py_None
;
20132 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxListItem
*arg1
= (wxListItem
*) 0 ;
20136 PyObject
* obj0
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "self", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20144 result
= (int) ((arg1
)->m_col
);
20146 resultobj
= SWIG_FromInt((int)result
);
20153 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxListItem
*arg1
= (wxListItem
*) 0 ;
20157 PyObject
* obj0
= 0 ;
20158 PyObject
* obj1
= 0 ;
20159 char *kwnames
[] = {
20160 (char *) "self",(char *) "m_state", NULL
20163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20166 arg2
= (long) SWIG_AsLong(obj1
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20168 if (arg1
) (arg1
)->m_state
= arg2
;
20170 Py_INCREF(Py_None
); resultobj
= Py_None
;
20177 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
;
20179 wxListItem
*arg1
= (wxListItem
*) 0 ;
20181 PyObject
* obj0
= 0 ;
20182 char *kwnames
[] = {
20183 (char *) "self", NULL
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20189 result
= (long) ((arg1
)->m_state
);
20191 resultobj
= SWIG_FromLong((long)result
);
20198 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxListItem
*arg1
= (wxListItem
*) 0 ;
20202 PyObject
* obj0
= 0 ;
20203 PyObject
* obj1
= 0 ;
20204 char *kwnames
[] = {
20205 (char *) "self",(char *) "m_stateMask", NULL
20208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20211 arg2
= (long) SWIG_AsLong(obj1
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20213 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20215 Py_INCREF(Py_None
); resultobj
= Py_None
;
20222 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
;
20224 wxListItem
*arg1
= (wxListItem
*) 0 ;
20226 PyObject
* obj0
= 0 ;
20227 char *kwnames
[] = {
20228 (char *) "self", NULL
20231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20234 result
= (long) ((arg1
)->m_stateMask
);
20236 resultobj
= SWIG_FromLong((long)result
);
20243 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20245 wxListItem
*arg1
= (wxListItem
*) 0 ;
20246 wxString
*arg2
= (wxString
*) 0 ;
20247 bool temp2
= False
;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 char *kwnames
[] = {
20251 (char *) "self",(char *) "m_text", NULL
20254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20258 arg2
= wxString_in_helper(obj1
);
20259 if (arg2
== NULL
) SWIG_fail
;
20262 if (arg1
) (arg1
)->m_text
= *arg2
;
20264 Py_INCREF(Py_None
); resultobj
= Py_None
;
20279 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxListItem
*arg1
= (wxListItem
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20291 result
= (wxString
*)& ((arg1
)->m_text
);
20295 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20297 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20306 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20307 PyObject
*resultobj
;
20308 wxListItem
*arg1
= (wxListItem
*) 0 ;
20310 PyObject
* obj0
= 0 ;
20311 PyObject
* obj1
= 0 ;
20312 char *kwnames
[] = {
20313 (char *) "self",(char *) "m_image", NULL
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20319 arg2
= (int) SWIG_AsInt(obj1
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20321 if (arg1
) (arg1
)->m_image
= arg2
;
20323 Py_INCREF(Py_None
); resultobj
= Py_None
;
20330 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxListItem
*arg1
= (wxListItem
*) 0 ;
20334 PyObject
* obj0
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "self", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20342 result
= (int) ((arg1
)->m_image
);
20344 resultobj
= SWIG_FromInt((int)result
);
20351 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20353 wxListItem
*arg1
= (wxListItem
*) 0 ;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20357 char *kwnames
[] = {
20358 (char *) "self",(char *) "m_data", NULL
20361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20364 arg2
= (long) SWIG_AsLong(obj1
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20366 if (arg1
) (arg1
)->m_data
= arg2
;
20368 Py_INCREF(Py_None
); resultobj
= Py_None
;
20375 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxListItem
*arg1
= (wxListItem
*) 0 ;
20379 PyObject
* obj0
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20387 result
= (long) ((arg1
)->m_data
);
20389 resultobj
= SWIG_FromLong((long)result
);
20396 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
;
20398 wxListItem
*arg1
= (wxListItem
*) 0 ;
20400 PyObject
* obj0
= 0 ;
20401 PyObject
* obj1
= 0 ;
20402 char *kwnames
[] = {
20403 (char *) "self",(char *) "m_format", NULL
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20409 arg2
= (int) SWIG_AsInt(obj1
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20411 if (arg1
) (arg1
)->m_format
= arg2
;
20413 Py_INCREF(Py_None
); resultobj
= Py_None
;
20420 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20421 PyObject
*resultobj
;
20422 wxListItem
*arg1
= (wxListItem
*) 0 ;
20424 PyObject
* obj0
= 0 ;
20425 char *kwnames
[] = {
20426 (char *) "self", NULL
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20432 result
= (int) ((arg1
)->m_format
);
20434 resultobj
= SWIG_FromInt((int)result
);
20441 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxListItem
*arg1
= (wxListItem
*) 0 ;
20445 PyObject
* obj0
= 0 ;
20446 PyObject
* obj1
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "self",(char *) "m_width", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20454 arg2
= (int) SWIG_AsInt(obj1
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20456 if (arg1
) (arg1
)->m_width
= arg2
;
20458 Py_INCREF(Py_None
); resultobj
= Py_None
;
20465 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxListItem
*arg1
= (wxListItem
*) 0 ;
20469 PyObject
* obj0
= 0 ;
20470 char *kwnames
[] = {
20471 (char *) "self", NULL
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20477 result
= (int) ((arg1
)->m_width
);
20479 resultobj
= SWIG_FromInt((int)result
);
20486 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20489 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20491 return Py_BuildValue((char *)"");
20493 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20494 PyObject
*resultobj
;
20495 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20496 int arg2
= (int) 0 ;
20497 wxListEvent
*result
;
20498 PyObject
* obj0
= 0 ;
20499 PyObject
* obj1
= 0 ;
20500 char *kwnames
[] = {
20501 (char *) "commandType",(char *) "id", NULL
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20506 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20510 arg2
= (int) SWIG_AsInt(obj1
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20527 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
;
20529 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20531 PyObject
* obj0
= 0 ;
20532 PyObject
* obj1
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "self",(char *) "m_code", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20540 arg2
= (int) SWIG_AsInt(obj1
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20542 if (arg1
) (arg1
)->m_code
= arg2
;
20544 Py_INCREF(Py_None
); resultobj
= Py_None
;
20551 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20555 PyObject
* obj0
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20563 result
= (int) ((arg1
)->m_code
);
20565 resultobj
= SWIG_FromInt((int)result
);
20572 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20573 PyObject
*resultobj
;
20574 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20576 PyObject
* obj0
= 0 ;
20577 PyObject
* obj1
= 0 ;
20578 char *kwnames
[] = {
20579 (char *) "self",(char *) "m_oldItemIndex", NULL
20582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20585 arg2
= (long) SWIG_AsLong(obj1
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20587 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20589 Py_INCREF(Py_None
); resultobj
= Py_None
;
20596 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
;
20598 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20600 PyObject
* obj0
= 0 ;
20601 char *kwnames
[] = {
20602 (char *) "self", NULL
20605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20608 result
= (long) ((arg1
)->m_oldItemIndex
);
20610 resultobj
= SWIG_FromLong((long)result
);
20617 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
;
20619 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 char *kwnames
[] = {
20624 (char *) "self",(char *) "m_itemIndex", NULL
20627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20630 arg2
= (long) SWIG_AsLong(obj1
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20632 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20634 Py_INCREF(Py_None
); resultobj
= Py_None
;
20641 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20653 result
= (long) ((arg1
)->m_itemIndex
);
20655 resultobj
= SWIG_FromLong((long)result
);
20662 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
;
20664 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "self",(char *) "m_col", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20675 arg2
= (int) SWIG_AsInt(obj1
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20677 if (arg1
) (arg1
)->m_col
= arg2
;
20679 Py_INCREF(Py_None
); resultobj
= Py_None
;
20686 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
;
20688 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20690 PyObject
* obj0
= 0 ;
20691 char *kwnames
[] = {
20692 (char *) "self", NULL
20695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20698 result
= (int) ((arg1
)->m_col
);
20700 resultobj
= SWIG_FromInt((int)result
);
20707 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
;
20709 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20710 wxPoint
*arg2
= (wxPoint
*) 0 ;
20711 PyObject
* obj0
= 0 ;
20712 PyObject
* obj1
= 0 ;
20713 char *kwnames
[] = {
20714 (char *) "self",(char *) "m_pointDrag", NULL
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20722 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20724 Py_INCREF(Py_None
); resultobj
= Py_None
;
20731 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20733 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 char *kwnames
[] = {
20737 (char *) "self", NULL
20740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20743 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20752 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
;
20754 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20755 wxListItem
*result
;
20756 PyObject
* obj0
= 0 ;
20757 char *kwnames
[] = {
20758 (char *) "self", NULL
20761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 result
= (wxListItem
*)& ((arg1
)->m_item
);
20767 resultobj
= wxPyMake_wxObject(result
, 0);
20775 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20777 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20779 PyObject
* obj0
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "self", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 result
= (int)(arg1
)->GetKeyCode();
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 resultobj
= SWIG_FromInt((int)result
);
20801 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
;
20803 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20805 PyObject
* obj0
= 0 ;
20806 char *kwnames
[] = {
20807 (char *) "self", NULL
20810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 result
= (long)(arg1
)->GetIndex();
20817 wxPyEndAllowThreads(__tstate
);
20818 if (PyErr_Occurred()) SWIG_fail
;
20820 resultobj
= SWIG_FromLong((long)result
);
20827 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
;
20829 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20831 PyObject
* obj0
= 0 ;
20832 char *kwnames
[] = {
20833 (char *) "self", NULL
20836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= (int)(arg1
)->GetColumn();
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= SWIG_FromInt((int)result
);
20853 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20857 PyObject
* obj0
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 result
= (arg1
)->GetPoint();
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20873 wxPoint
* resultptr
;
20874 resultptr
= new wxPoint((wxPoint
&) result
);
20875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20883 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
;
20885 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20887 PyObject
* obj0
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "self", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 wxString
const &_result_ref
= (arg1
)->GetLabel();
20899 result
= (wxString
*) &_result_ref
;
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20907 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20909 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20918 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
;
20920 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20922 PyObject
* obj0
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 wxString
const &_result_ref
= (arg1
)->GetText();
20934 result
= (wxString
*) &_result_ref
;
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20944 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20953 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20957 PyObject
* obj0
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 result
= (int)(arg1
)->GetImage();
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= SWIG_FromInt((int)result
);
20979 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
;
20981 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20983 PyObject
* obj0
= 0 ;
20984 char *kwnames
[] = {
20985 (char *) "self", NULL
20988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (long)(arg1
)->GetData();
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= SWIG_FromLong((long)result
);
21005 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
;
21007 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21009 PyObject
* obj0
= 0 ;
21010 char *kwnames
[] = {
21011 (char *) "self", NULL
21014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 result
= (long)(arg1
)->GetMask();
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= SWIG_FromLong((long)result
);
21031 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
;
21033 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21034 wxListItem
*result
;
21035 PyObject
* obj0
= 0 ;
21036 char *kwnames
[] = {
21037 (char *) "self", NULL
21040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21047 result
= (wxListItem
*) &_result_ref
;
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21060 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21062 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21064 PyObject
* obj0
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= (long)(arg1
)->GetCacheFrom();
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21079 resultobj
= SWIG_FromLong((long)result
);
21086 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
;
21088 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21090 PyObject
* obj0
= 0 ;
21091 char *kwnames
[] = {
21092 (char *) "self", NULL
21095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 result
= (long)(arg1
)->GetCacheTo();
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_FromLong((long)result
);
21112 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21116 PyObject
* obj0
= 0 ;
21117 char *kwnames
[] = {
21118 (char *) "self", NULL
21121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21140 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21141 PyObject
*resultobj
;
21142 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21144 PyObject
* obj0
= 0 ;
21145 PyObject
* obj1
= 0 ;
21146 char *kwnames
[] = {
21147 (char *) "self",(char *) "editCancelled", NULL
21150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21153 arg2
= (bool) SWIG_AsBool(obj1
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 (arg1
)->SetEditCanceled(arg2
);
21159 wxPyEndAllowThreads(__tstate
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21162 Py_INCREF(Py_None
); resultobj
= Py_None
;
21169 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21172 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21174 return Py_BuildValue((char *)"");
21176 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxWindow
*arg1
= (wxWindow
*) 0 ;
21179 int arg2
= (int) -1 ;
21180 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21181 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21182 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21183 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21184 long arg5
= (long) wxLC_ICON
;
21185 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21186 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21187 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21188 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21189 wxPyListCtrl
*result
;
21192 bool temp7
= False
;
21193 PyObject
* obj0
= 0 ;
21194 PyObject
* obj1
= 0 ;
21195 PyObject
* obj2
= 0 ;
21196 PyObject
* obj3
= 0 ;
21197 PyObject
* obj4
= 0 ;
21198 PyObject
* obj5
= 0 ;
21199 PyObject
* obj6
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21208 arg2
= (int) SWIG_AsInt(obj1
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21214 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21220 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21224 arg5
= (long) SWIG_AsLong(obj4
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21228 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21231 if (arg6
== NULL
) {
21232 PyErr_SetString(PyExc_TypeError
,"null reference");
21238 arg7
= wxString_in_helper(obj6
);
21239 if (arg7
== NULL
) SWIG_fail
;
21244 if (!wxPyCheckForApp()) SWIG_fail
;
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21266 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxPyListCtrl
*result
;
21269 char *kwnames
[] = {
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21275 if (!wxPyCheckForApp()) SWIG_fail
;
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21279 wxPyEndAllowThreads(__tstate
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21289 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21290 PyObject
*resultobj
;
21291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21292 wxWindow
*arg2
= (wxWindow
*) 0 ;
21293 int arg3
= (int) -1 ;
21294 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21295 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21296 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21297 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21298 long arg6
= (long) wxLC_ICON
;
21299 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21300 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21301 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21302 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21306 bool temp8
= False
;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 PyObject
* obj2
= 0 ;
21310 PyObject
* obj3
= 0 ;
21311 PyObject
* obj4
= 0 ;
21312 PyObject
* obj5
= 0 ;
21313 PyObject
* obj6
= 0 ;
21314 PyObject
* obj7
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21325 arg3
= (int) SWIG_AsInt(obj2
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21341 arg6
= (long) SWIG_AsLong(obj5
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21345 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21348 if (arg7
== NULL
) {
21349 PyErr_SetString(PyExc_TypeError
,"null reference");
21355 arg8
= wxString_in_helper(obj7
);
21356 if (arg8
== NULL
) SWIG_fail
;
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21364 wxPyEndAllowThreads(__tstate
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21384 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
;
21386 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21387 PyObject
*arg2
= (PyObject
*) 0 ;
21388 PyObject
*arg3
= (PyObject
*) 0 ;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21391 PyObject
* obj2
= 0 ;
21392 char *kwnames
[] = {
21393 (char *) "self",(char *) "self",(char *) "_class", NULL
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21403 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 Py_INCREF(Py_None
); resultobj
= Py_None
;
21415 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21417 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21418 wxColour
*arg2
= 0 ;
21421 PyObject
* obj0
= 0 ;
21422 PyObject
* obj1
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self",(char *) "col", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21432 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21436 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21450 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
;
21452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21453 wxColour
*arg2
= 0 ;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21458 char *kwnames
[] = {
21459 (char *) "self",(char *) "col", NULL
21462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21467 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21485 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21489 wxListItem
*result
;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 char *kwnames
[] = {
21493 (char *) "self",(char *) "col", NULL
21496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21499 arg2
= (int) SWIG_AsInt(obj1
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= wxPyMake_wxObject(result
, 0);
21517 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21521 wxListItem
*arg3
= 0 ;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 PyObject
* obj2
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "self",(char *) "col",(char *) "item", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21533 arg2
= (int) SWIG_AsInt(obj1
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21535 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21536 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21538 if (arg3
== NULL
) {
21539 PyErr_SetString(PyExc_TypeError
,"null reference");
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21558 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21563 PyObject
* obj0
= 0 ;
21564 PyObject
* obj1
= 0 ;
21565 char *kwnames
[] = {
21566 (char *) "self",(char *) "col", NULL
21569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21572 arg2
= (int) SWIG_AsInt(obj1
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21581 resultobj
= SWIG_FromInt((int)result
);
21588 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
;
21590 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 PyObject
* obj2
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self",(char *) "col",(char *) "width", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21604 arg2
= (int) SWIG_AsInt(obj1
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21606 arg3
= (int) SWIG_AsInt(obj2
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21624 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21625 PyObject
*resultobj
;
21626 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21628 PyObject
* obj0
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= SWIG_FromInt((int)result
);
21650 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21654 PyObject
* obj0
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21670 wxRect
* resultptr
;
21671 resultptr
= new wxRect((wxRect
&) result
);
21672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21680 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21683 wxTextCtrl
*result
;
21684 PyObject
* obj0
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
21690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= wxPyMake_wxObject(result
, 0);
21708 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
;
21710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21712 int arg3
= (int) 0 ;
21713 wxListItem
*result
;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 PyObject
* obj2
= 0 ;
21717 char *kwnames
[] = {
21718 (char *) "self",(char *) "itemId",(char *) "col", NULL
21721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21724 arg2
= (long) SWIG_AsLong(obj1
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 arg3
= (int) SWIG_AsInt(obj2
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21738 resultobj
= wxPyMake_wxObject(result
, 0);
21746 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21749 wxListItem
*arg2
= 0 ;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 char *kwnames
[] = {
21754 (char *) "self",(char *) "info", NULL
21757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21763 if (arg2
== NULL
) {
21764 PyErr_SetString(PyExc_TypeError
,"null reference");
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= (bool)(arg1
)->SetItem(*arg2
);
21771 wxPyEndAllowThreads(__tstate
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21783 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
;
21785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21788 wxString
*arg4
= 0 ;
21789 int arg5
= (int) -1 ;
21791 bool temp4
= False
;
21792 PyObject
* obj0
= 0 ;
21793 PyObject
* obj1
= 0 ;
21794 PyObject
* obj2
= 0 ;
21795 PyObject
* obj3
= 0 ;
21796 PyObject
* obj4
= 0 ;
21797 char *kwnames
[] = {
21798 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21804 arg2
= (long) SWIG_AsLong(obj1
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21806 arg3
= (int) SWIG_AsInt(obj2
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 arg4
= wxString_in_helper(obj3
);
21810 if (arg4
== NULL
) SWIG_fail
;
21814 arg5
= (int) SWIG_AsInt(obj4
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= SWIG_FromLong((long)result
);
21839 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21845 PyObject
* obj0
= 0 ;
21846 PyObject
* obj1
= 0 ;
21847 PyObject
* obj2
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21855 arg2
= (long) SWIG_AsLong(obj1
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21857 arg3
= (long) SWIG_AsLong(obj2
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= SWIG_FromInt((int)result
);
21873 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21880 PyObject
* obj0
= 0 ;
21881 PyObject
* obj1
= 0 ;
21882 PyObject
* obj2
= 0 ;
21883 PyObject
* obj3
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21891 arg2
= (long) SWIG_AsLong(obj1
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21893 arg3
= (long) SWIG_AsLong(obj2
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21895 arg4
= (long) SWIG_AsLong(obj3
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21913 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21920 PyObject
* obj0
= 0 ;
21921 PyObject
* obj1
= 0 ;
21922 PyObject
* obj2
= 0 ;
21923 PyObject
* obj3
= 0 ;
21924 char *kwnames
[] = {
21925 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21931 arg2
= (long) SWIG_AsLong(obj1
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21933 arg3
= (int) SWIG_AsInt(obj2
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21935 arg4
= (int) SWIG_AsInt(obj3
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21953 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self",(char *) "item", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21967 arg2
= (long) SWIG_AsLong(obj1
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21989 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21993 wxString
*arg3
= 0 ;
21994 bool temp3
= False
;
21995 PyObject
* obj0
= 0 ;
21996 PyObject
* obj1
= 0 ;
21997 PyObject
* obj2
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self",(char *) "item",(char *) "str", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 arg2
= (long) SWIG_AsLong(obj1
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 arg3
= wxString_in_helper(obj2
);
22009 if (arg3
== NULL
) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 Py_INCREF(Py_None
); resultobj
= Py_None
;
22034 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
;
22036 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22039 PyObject
* obj0
= 0 ;
22040 PyObject
* obj1
= 0 ;
22041 char *kwnames
[] = {
22042 (char *) "self",(char *) "item", NULL
22045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22048 arg2
= (long) SWIG_AsLong(obj1
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 resultobj
= SWIG_FromLong((long)result
);
22064 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22070 PyObject
* obj0
= 0 ;
22071 PyObject
* obj1
= 0 ;
22072 PyObject
* obj2
= 0 ;
22073 char *kwnames
[] = {
22074 (char *) "self",(char *) "item",(char *) "data", NULL
22077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22080 arg2
= (long) SWIG_AsLong(obj1
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22082 arg3
= (long) SWIG_AsLong(obj2
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22100 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 char *kwnames
[] = {
22108 (char *) "self",(char *) "item", NULL
22111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22114 arg2
= (long) SWIG_AsLong(obj1
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 wxPoint
* resultptr
;
22125 resultptr
= new wxPoint((wxPoint
&) result
);
22126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22134 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22138 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22140 PyObject
* obj0
= 0 ;
22141 PyObject
* obj1
= 0 ;
22142 PyObject
* obj2
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self",(char *) "item",(char *) "code", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22150 arg2
= (long) SWIG_AsLong(obj1
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 arg3
= (int) SWIG_AsInt(obj2
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22164 wxRect
* resultptr
;
22165 resultptr
= new wxRect((wxRect
&) result
);
22166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22174 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22175 PyObject
*resultobj
;
22176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22178 wxPoint
*arg3
= 0 ;
22181 PyObject
* obj0
= 0 ;
22182 PyObject
* obj1
= 0 ;
22183 PyObject
* obj2
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "self",(char *) "item",(char *) "pos", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22191 arg2
= (long) SWIG_AsLong(obj1
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22195 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22213 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
;
22215 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22217 PyObject
* obj0
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 resultobj
= SWIG_FromInt((int)result
);
22239 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22240 PyObject
*resultobj
;
22241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22243 PyObject
* obj0
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= SWIG_FromInt((int)result
);
22265 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22269 PyObject
* obj0
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22285 wxSize
* resultptr
;
22286 resultptr
= new wxSize((wxSize
&) result
);
22287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22295 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_FromInt((int)result
);
22321 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22325 PyObject
* obj0
= 0 ;
22326 char *kwnames
[] = {
22327 (char *) "self", NULL
22330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22341 wxColour
* resultptr
;
22342 resultptr
= new wxColour((wxColour
&) result
);
22343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22351 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
;
22353 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22354 wxColour
*arg2
= 0 ;
22356 PyObject
* obj0
= 0 ;
22357 PyObject
* obj1
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self",(char *) "col", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 Py_INCREF(Py_None
); resultobj
= Py_None
;
22383 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
;
22385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22387 PyObject
* obj0
= 0 ;
22388 char *kwnames
[] = {
22389 (char *) "self", NULL
22392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22402 resultobj
= SWIG_FromLong((long)result
);
22409 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22410 PyObject
*resultobj
;
22411 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22413 bool arg3
= (bool) True
;
22414 PyObject
* obj0
= 0 ;
22415 PyObject
* obj1
= 0 ;
22416 PyObject
* obj2
= 0 ;
22417 char *kwnames
[] = {
22418 (char *) "self",(char *) "style",(char *) "add", NULL
22421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22424 arg2
= (long) SWIG_AsLong(obj1
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 arg3
= (bool) SWIG_AsBool(obj2
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 (arg1
)->SetSingleStyle(arg2
,arg3
);
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22437 Py_INCREF(Py_None
); resultobj
= Py_None
;
22444 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22445 PyObject
*resultobj
;
22446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22448 PyObject
* obj0
= 0 ;
22449 PyObject
* obj1
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self",(char *) "style", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22457 arg2
= (long) SWIG_AsLong(obj1
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 (arg1
)->SetWindowStyleFlag(arg2
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 Py_INCREF(Py_None
); resultobj
= Py_None
;
22473 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22477 int arg3
= (int) wxLIST_NEXT_ALL
;
22478 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22480 PyObject
* obj0
= 0 ;
22481 PyObject
* obj1
= 0 ;
22482 PyObject
* obj2
= 0 ;
22483 PyObject
* obj3
= 0 ;
22484 char *kwnames
[] = {
22485 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22491 arg2
= (long) SWIG_AsLong(obj1
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22494 arg3
= (int) SWIG_AsInt(obj2
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22498 arg4
= (int) SWIG_AsInt(obj3
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= SWIG_FromLong((long)result
);
22515 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22519 wxImageList
*result
;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 char *kwnames
[] = {
22523 (char *) "self",(char *) "which", NULL
22526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22529 arg2
= (int) SWIG_AsInt(obj1
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22533 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= wxPyMake_wxObject(result
, 0);
22547 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22550 wxImageList
*arg2
= (wxImageList
*) 0 ;
22552 PyObject
* obj0
= 0 ;
22553 PyObject
* obj1
= 0 ;
22554 PyObject
* obj2
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self",(char *) "imageList",(char *) "which", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22564 arg3
= (int) SWIG_AsInt(obj2
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 (arg1
)->SetImageList(arg2
,arg3
);
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 Py_INCREF(Py_None
); resultobj
= Py_None
;
22580 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22583 wxImageList
*arg2
= (wxImageList
*) 0 ;
22585 PyObject
* obj0
= 0 ;
22586 PyObject
* obj1
= 0 ;
22587 PyObject
* obj2
= 0 ;
22588 char *kwnames
[] = {
22589 (char *) "self",(char *) "imageList",(char *) "which", NULL
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22596 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22597 arg3
= (int) SWIG_AsInt(obj2
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 (arg1
)->AssignImageList(arg2
,arg3
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 Py_INCREF(Py_None
); resultobj
= Py_None
;
22613 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
;
22615 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22617 PyObject
* obj0
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "self", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22641 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22669 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "item", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22682 arg2
= (long) SWIG_AsLong(obj1
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 (arg1
)->RefreshItem(arg2
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22691 Py_INCREF(Py_None
); resultobj
= Py_None
;
22698 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22699 PyObject
*resultobj
;
22700 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22703 PyObject
* obj0
= 0 ;
22704 PyObject
* obj1
= 0 ;
22705 PyObject
* obj2
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22713 arg2
= (long) SWIG_AsLong(obj1
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22715 arg3
= (long) SWIG_AsLong(obj2
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 (arg1
)->RefreshItems(arg2
,arg3
);
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 Py_INCREF(Py_None
); resultobj
= Py_None
;
22731 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22734 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22736 PyObject
* obj0
= 0 ;
22737 PyObject
* obj1
= 0 ;
22738 char *kwnames
[] = {
22739 (char *) "self",(char *) "flag", NULL
22742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22746 arg2
= (int) SWIG_AsInt(obj1
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 result
= (bool)(arg1
)->Arrange(arg2
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22765 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
;
22767 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22770 PyObject
* obj0
= 0 ;
22771 PyObject
* obj1
= 0 ;
22772 char *kwnames
[] = {
22773 (char *) "self",(char *) "item", NULL
22776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22779 arg2
= (long) SWIG_AsLong(obj1
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 result
= (bool)(arg1
)->DeleteItem(arg2
);
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22797 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
;
22799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22801 PyObject
* obj0
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= (bool)(arg1
)->DeleteAllItems();
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22825 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
;
22827 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 char *kwnames
[] = {
22833 (char *) "self",(char *) "col", NULL
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22839 arg2
= (int) SWIG_AsInt(obj1
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22857 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
;
22859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22861 PyObject
* obj0
= 0 ;
22862 char *kwnames
[] = {
22863 (char *) "self", NULL
22866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 result
= (bool)(arg1
)->DeleteAllColumns();
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22885 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22887 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22888 PyObject
* obj0
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "self", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 (arg1
)->ClearAll();
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 Py_INCREF(Py_None
); resultobj
= Py_None
;
22910 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22914 wxTextCtrl
*result
;
22915 PyObject
* obj0
= 0 ;
22916 PyObject
* obj1
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self",(char *) "item", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22924 arg2
= (long) SWIG_AsLong(obj1
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= wxPyMake_wxObject(result
, 0);
22942 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
;
22944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22947 PyObject
* obj0
= 0 ;
22948 PyObject
* obj1
= 0 ;
22949 char *kwnames
[] = {
22950 (char *) "self",(char *) "cancel", NULL
22953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22956 arg2
= (bool) SWIG_AsBool(obj1
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 result
= (bool)(arg1
)->EndEditLabel(arg2
);
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22974 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22979 PyObject
* obj0
= 0 ;
22980 PyObject
* obj1
= 0 ;
22981 char *kwnames
[] = {
22982 (char *) "self",(char *) "item", NULL
22985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22988 arg2
= (long) SWIG_AsLong(obj1
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23006 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23007 PyObject
*resultobj
;
23008 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23010 wxString
*arg3
= 0 ;
23011 bool arg4
= (bool) False
;
23013 bool temp3
= False
;
23014 PyObject
* obj0
= 0 ;
23015 PyObject
* obj1
= 0 ;
23016 PyObject
* obj2
= 0 ;
23017 PyObject
* obj3
= 0 ;
23018 char *kwnames
[] = {
23019 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23025 arg2
= (long) SWIG_AsLong(obj1
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 arg3
= wxString_in_helper(obj2
);
23029 if (arg3
== NULL
) SWIG_fail
;
23033 arg4
= (bool) SWIG_AsBool(obj3
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23038 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_FromLong((long)result
);
23058 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23064 PyObject
* obj0
= 0 ;
23065 PyObject
* obj1
= 0 ;
23066 PyObject
* obj2
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self",(char *) "start",(char *) "data", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23074 arg2
= (long) SWIG_AsLong(obj1
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23076 arg3
= (long) SWIG_AsLong(obj2
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= SWIG_FromLong((long)result
);
23092 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23096 wxPoint
*arg3
= 0 ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 PyObject
* obj2
= 0 ;
23103 PyObject
* obj3
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23111 arg2
= (long) SWIG_AsLong(obj1
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23115 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23117 arg4
= (int) SWIG_AsInt(obj3
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= SWIG_FromLong((long)result
);
23133 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23136 wxPoint
*arg2
= 0 ;
23141 PyObject
* obj0
= 0 ;
23142 PyObject
* obj1
= 0 ;
23143 char *kwnames
[] = {
23144 (char *) "self",(char *) "point", NULL
23148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23153 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23162 resultobj
= SWIG_FromLong((long)result
);
23164 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23165 resultobj
= t_output_helper(resultobj
,o
);
23173 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
;
23175 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23176 wxListItem
*arg2
= 0 ;
23178 PyObject
* obj0
= 0 ;
23179 PyObject
* obj1
= 0 ;
23180 char *kwnames
[] = {
23181 (char *) "self",(char *) "info", NULL
23184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23190 if (arg2
== NULL
) {
23191 PyErr_SetString(PyExc_TypeError
,"null reference");
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= (long)(arg1
)->InsertItem(*arg2
);
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= SWIG_FromLong((long)result
);
23208 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23209 PyObject
*resultobj
;
23210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23212 wxString
*arg3
= 0 ;
23214 bool temp3
= False
;
23215 PyObject
* obj0
= 0 ;
23216 PyObject
* obj1
= 0 ;
23217 PyObject
* obj2
= 0 ;
23218 char *kwnames
[] = {
23219 (char *) "self",(char *) "index",(char *) "label", NULL
23222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23225 arg2
= (long) SWIG_AsLong(obj1
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23228 arg3
= wxString_in_helper(obj2
);
23229 if (arg3
== NULL
) SWIG_fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_FromLong((long)result
);
23254 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23260 PyObject
* obj0
= 0 ;
23261 PyObject
* obj1
= 0 ;
23262 PyObject
* obj2
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23270 arg2
= (long) SWIG_AsLong(obj1
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23272 arg3
= (int) SWIG_AsInt(obj2
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_FromLong((long)result
);
23288 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
;
23290 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23292 wxString
*arg3
= 0 ;
23295 bool temp3
= False
;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 PyObject
* obj2
= 0 ;
23299 PyObject
* obj3
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23307 arg2
= (long) SWIG_AsLong(obj1
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 arg3
= wxString_in_helper(obj2
);
23311 if (arg3
== NULL
) SWIG_fail
;
23314 arg4
= (int) SWIG_AsInt(obj3
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= SWIG_FromLong((long)result
);
23338 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23342 wxListItem
*arg3
= 0 ;
23344 PyObject
* obj0
= 0 ;
23345 PyObject
* obj1
= 0 ;
23346 PyObject
* obj2
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self",(char *) "col",(char *) "info", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23354 arg2
= (long) SWIG_AsLong(obj1
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23356 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23359 if (arg3
== NULL
) {
23360 PyErr_SetString(PyExc_TypeError
,"null reference");
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= SWIG_FromLong((long)result
);
23377 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
;
23379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23381 wxString
*arg3
= 0 ;
23382 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23383 int arg5
= (int) -1 ;
23385 bool temp3
= False
;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 PyObject
* obj2
= 0 ;
23389 PyObject
* obj3
= 0 ;
23390 PyObject
* obj4
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 arg3
= wxString_in_helper(obj2
);
23402 if (arg3
== NULL
) SWIG_fail
;
23406 arg4
= (int) SWIG_AsInt(obj3
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23410 arg5
= (int) SWIG_AsInt(obj4
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= SWIG_FromLong((long)result
);
23435 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 char *kwnames
[] = {
23442 (char *) "self",(char *) "count", NULL
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23448 arg2
= (long) SWIG_AsLong(obj1
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 (arg1
)->SetItemCount(arg2
);
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23457 Py_INCREF(Py_None
); resultobj
= Py_None
;
23464 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 PyObject
* obj2
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self",(char *) "dx",(char *) "dy", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23480 arg2
= (int) SWIG_AsInt(obj1
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23482 arg3
= (int) SWIG_AsInt(obj2
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23500 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23504 wxColour
*arg3
= 0 ;
23506 PyObject
* obj0
= 0 ;
23507 PyObject
* obj1
= 0 ;
23508 PyObject
* obj2
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self",(char *) "item",(char *) "col", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23516 arg2
= (long) SWIG_AsLong(obj1
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23520 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 Py_INCREF(Py_None
); resultobj
= Py_None
;
23536 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
;
23538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 PyObject
* obj1
= 0 ;
23543 char *kwnames
[] = {
23544 (char *) "self",(char *) "item", NULL
23547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23550 arg2
= (long) SWIG_AsLong(obj1
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23560 wxColour
* resultptr
;
23561 resultptr
= new wxColour((wxColour
&) result
);
23562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23570 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23574 wxColour
*arg3
= 0 ;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj1
= 0 ;
23578 PyObject
* obj2
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self",(char *) "item",(char *) "col", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23586 arg2
= (long) SWIG_AsLong(obj1
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 Py_INCREF(Py_None
); resultobj
= Py_None
;
23606 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23607 PyObject
*resultobj
;
23608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23611 PyObject
* obj0
= 0 ;
23612 PyObject
* obj1
= 0 ;
23613 char *kwnames
[] = {
23614 (char *) "self",(char *) "item", NULL
23617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23620 arg2
= (long) SWIG_AsLong(obj1
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23630 wxColour
* resultptr
;
23631 resultptr
= new wxColour((wxColour
&) result
);
23632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23640 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23643 PyObject
*arg2
= (PyObject
*) 0 ;
23645 PyObject
* obj0
= 0 ;
23646 PyObject
* obj1
= 0 ;
23647 char *kwnames
[] = {
23648 (char *) "self",(char *) "func", NULL
23651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23671 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23675 PyObject
* obj0
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= wxPyMake_wxObject(result
, 0);
23699 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23701 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23702 wxVisualAttributes result
;
23703 PyObject
* obj0
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "variant", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23710 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23714 if (!wxPyCheckForApp()) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23722 wxVisualAttributes
* resultptr
;
23723 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23732 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23735 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23737 return Py_BuildValue((char *)"");
23739 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxWindow
*arg1
= (wxWindow
*) 0 ;
23742 int arg2
= (int) -1 ;
23743 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23744 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23745 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23746 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23747 long arg5
= (long) wxLC_REPORT
;
23748 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23749 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23750 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23751 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23752 wxListView
*result
;
23755 bool temp7
= False
;
23756 PyObject
* obj0
= 0 ;
23757 PyObject
* obj1
= 0 ;
23758 PyObject
* obj2
= 0 ;
23759 PyObject
* obj3
= 0 ;
23760 PyObject
* obj4
= 0 ;
23761 PyObject
* obj5
= 0 ;
23762 PyObject
* obj6
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23771 arg2
= (int) SWIG_AsInt(obj1
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23777 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23783 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23787 arg5
= (long) SWIG_AsLong(obj4
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23791 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23794 if (arg6
== NULL
) {
23795 PyErr_SetString(PyExc_TypeError
,"null reference");
23801 arg7
= wxString_in_helper(obj6
);
23802 if (arg7
== NULL
) SWIG_fail
;
23807 if (!wxPyCheckForApp()) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23829 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxListView
*result
;
23832 char *kwnames
[] = {
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23838 if (!wxPyCheckForApp()) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= (wxListView
*)new wxListView();
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23852 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
;
23854 wxListView
*arg1
= (wxListView
*) 0 ;
23855 wxWindow
*arg2
= (wxWindow
*) 0 ;
23856 int arg3
= (int) -1 ;
23857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23861 long arg6
= (long) wxLC_REPORT
;
23862 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23863 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23864 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23865 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23869 bool temp8
= False
;
23870 PyObject
* obj0
= 0 ;
23871 PyObject
* obj1
= 0 ;
23872 PyObject
* obj2
= 0 ;
23873 PyObject
* obj3
= 0 ;
23874 PyObject
* obj4
= 0 ;
23875 PyObject
* obj5
= 0 ;
23876 PyObject
* obj6
= 0 ;
23877 PyObject
* obj7
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23888 arg3
= (int) SWIG_AsInt(obj2
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23894 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23900 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23904 arg6
= (long) SWIG_AsLong(obj5
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23908 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23911 if (arg7
== NULL
) {
23912 PyErr_SetString(PyExc_TypeError
,"null reference");
23918 arg8
= wxString_in_helper(obj7
);
23919 if (arg8
== NULL
) SWIG_fail
;
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23947 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxListView
*arg1
= (wxListView
*) 0 ;
23951 bool arg3
= (bool) True
;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 PyObject
* obj2
= 0 ;
23955 char *kwnames
[] = {
23956 (char *) "self",(char *) "n",(char *) "on", NULL
23959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23962 arg2
= (long) SWIG_AsLong(obj1
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 arg3
= (bool) SWIG_AsBool(obj2
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 (arg1
)->Select(arg2
,arg3
);
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23975 Py_INCREF(Py_None
); resultobj
= Py_None
;
23982 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
;
23984 wxListView
*arg1
= (wxListView
*) 0 ;
23986 PyObject
* obj0
= 0 ;
23987 PyObject
* obj1
= 0 ;
23988 char *kwnames
[] = {
23989 (char *) "self",(char *) "index", NULL
23992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23995 arg2
= (long) SWIG_AsLong(obj1
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 (arg1
)->Focus(arg2
);
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 Py_INCREF(Py_None
); resultobj
= Py_None
;
24011 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxListView
*arg1
= (wxListView
*) 0 ;
24015 PyObject
* obj0
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= SWIG_FromLong((long)result
);
24037 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxListView
*arg1
= (wxListView
*) 0 ;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "self",(char *) "item", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24051 arg2
= (long) SWIG_AsLong(obj1
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= SWIG_FromLong((long)result
);
24067 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
;
24069 wxListView
*arg1
= (wxListView
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_FromLong((long)result
);
24093 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxListView
*arg1
= (wxListView
*) 0 ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "self",(char *) "index", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24107 arg2
= (long) SWIG_AsLong(obj1
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (bool)(arg1
)->IsSelected(arg2
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24125 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxListView
*arg1
= (wxListView
*) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 PyObject
* obj1
= 0 ;
24132 PyObject
* obj2
= 0 ;
24133 char *kwnames
[] = {
24134 (char *) "self",(char *) "col",(char *) "image", NULL
24137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24140 arg2
= (int) SWIG_AsInt(obj1
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24142 arg3
= (int) SWIG_AsInt(obj2
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 (arg1
)->SetColumnImage(arg2
,arg3
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 Py_INCREF(Py_None
); resultobj
= Py_None
;
24158 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24159 PyObject
*resultobj
;
24160 wxListView
*arg1
= (wxListView
*) 0 ;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self",(char *) "col", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24171 arg2
= (int) SWIG_AsInt(obj1
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 (arg1
)->ClearColumnImage(arg2
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 Py_INCREF(Py_None
); resultobj
= Py_None
;
24187 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
24189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24190 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24192 return Py_BuildValue((char *)"");
24194 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24195 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24200 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24205 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24207 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24214 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
;
24216 wxTreeItemId
*result
;
24217 char *kwnames
[] = {
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 result
= (wxTreeItemId
*)new wxTreeItemId();
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24236 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 Py_INCREF(Py_None
); resultobj
= Py_None
;
24261 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24265 PyObject
* obj0
= 0 ;
24266 char *kwnames
[] = {
24267 (char *) "self", NULL
24270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24289 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24292 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 char *kwnames
[] = {
24297 (char *) "self",(char *) "other", NULL
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24321 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24324 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self",(char *) "other", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24353 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24356 void *arg2
= (void *) 0 ;
24357 PyObject
* obj0
= 0 ;
24358 PyObject
* obj1
= 0 ;
24359 char *kwnames
[] = {
24360 (char *) "self",(char *) "m_pItem", NULL
24363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24366 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24367 if (arg1
) (arg1
)->m_pItem
= arg2
;
24369 Py_INCREF(Py_None
); resultobj
= Py_None
;
24376 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24380 PyObject
* obj0
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24388 result
= (void *) ((arg1
)->m_pItem
);
24390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24397 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24400 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24402 return Py_BuildValue((char *)"");
24404 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 PyObject
*arg1
= (PyObject
*) NULL
;
24407 wxPyTreeItemData
*result
;
24408 PyObject
* obj0
= 0 ;
24409 char *kwnames
[] = {
24410 (char *) "obj", NULL
24413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24431 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24435 PyObject
* obj0
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "self", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (PyObject
*)(arg1
)->GetData();
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= result
;
24457 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24460 PyObject
*arg2
= (PyObject
*) 0 ;
24461 PyObject
* obj0
= 0 ;
24462 PyObject
* obj1
= 0 ;
24463 char *kwnames
[] = {
24464 (char *) "self",(char *) "obj", NULL
24467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 (arg1
)->SetData(arg2
);
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 Py_INCREF(Py_None
); resultobj
= Py_None
;
24485 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24488 wxTreeItemId
*result
;
24489 PyObject
* obj0
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24501 result
= (wxTreeItemId
*) &_result_ref
;
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24514 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24517 wxTreeItemId
*arg2
= 0 ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 char *kwnames
[] = {
24521 (char *) "self",(char *) "id", NULL
24524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24530 if (arg2
== NULL
) {
24531 PyErr_SetString(PyExc_TypeError
,"null reference");
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 Py_INCREF(Py_None
); resultobj
= Py_None
;
24548 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 wxPyTreeItemData_Destroy(arg1
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 Py_INCREF(Py_None
); resultobj
= Py_None
;
24573 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24576 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24578 return Py_BuildValue((char *)"");
24580 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24583 int arg2
= (int) 0 ;
24584 wxTreeEvent
*result
;
24585 PyObject
* obj0
= 0 ;
24586 PyObject
* obj1
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "commandType",(char *) "id", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24593 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24597 arg2
= (int) SWIG_AsInt(obj1
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24614 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
;
24616 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24617 wxTreeItemId result
;
24618 PyObject
* obj0
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24634 wxTreeItemId
* resultptr
;
24635 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24644 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
;
24646 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24647 wxTreeItemId
*arg2
= 0 ;
24648 PyObject
* obj0
= 0 ;
24649 PyObject
* obj1
= 0 ;
24650 char *kwnames
[] = {
24651 (char *) "self",(char *) "item", NULL
24654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24660 if (arg2
== NULL
) {
24661 PyErr_SetString(PyExc_TypeError
,"null reference");
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24668 wxPyEndAllowThreads(__tstate
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24671 Py_INCREF(Py_None
); resultobj
= Py_None
;
24678 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
;
24680 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24681 wxTreeItemId result
;
24682 PyObject
* obj0
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24698 wxTreeItemId
* resultptr
;
24699 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24708 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24711 wxTreeItemId
*arg2
= 0 ;
24712 PyObject
* obj0
= 0 ;
24713 PyObject
* obj1
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self",(char *) "item", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24724 if (arg2
== NULL
) {
24725 PyErr_SetString(PyExc_TypeError
,"null reference");
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 Py_INCREF(Py_None
); resultobj
= Py_None
;
24742 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
;
24744 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24746 PyObject
* obj0
= 0 ;
24747 char *kwnames
[] = {
24748 (char *) "self", NULL
24751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24762 wxPoint
* resultptr
;
24763 resultptr
= new wxPoint((wxPoint
&) result
);
24764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24772 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
;
24774 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24775 wxPoint
*arg2
= 0 ;
24777 PyObject
* obj0
= 0 ;
24778 PyObject
* obj1
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self",(char *) "pt", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24788 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 Py_INCREF(Py_None
); resultobj
= Py_None
;
24804 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24807 wxKeyEvent
*result
;
24808 PyObject
* obj0
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24820 result
= (wxKeyEvent
*) &_result_ref
;
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24833 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= SWIG_FromInt((int)result
);
24859 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24862 wxKeyEvent
*arg2
= 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self",(char *) "evt", NULL
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24875 if (arg2
== NULL
) {
24876 PyErr_SetString(PyExc_TypeError
,"null reference");
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24886 Py_INCREF(Py_None
); resultobj
= Py_None
;
24893 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24909 result
= (wxString
*) &_result_ref
;
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24919 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24928 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24931 wxString
*arg2
= 0 ;
24932 bool temp2
= False
;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "label", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24943 arg2
= wxString_in_helper(obj1
);
24944 if (arg2
== NULL
) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 (arg1
)->SetLabel((wxString
const &)*arg2
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 Py_INCREF(Py_None
); resultobj
= Py_None
;
24969 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
;
24971 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 char *kwnames
[] = {
24975 (char *) "self", NULL
24978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24997 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 char *kwnames
[] = {
25004 (char *) "self",(char *) "editCancelled", NULL
25007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25010 arg2
= (bool) SWIG_AsBool(obj1
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 (arg1
)->SetEditCanceled(arg2
);
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25019 Py_INCREF(Py_None
); resultobj
= Py_None
;
25026 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25027 PyObject
*resultobj
;
25028 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25029 wxString
*arg2
= 0 ;
25030 bool temp2
= False
;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 char *kwnames
[] = {
25034 (char *) "self",(char *) "toolTip", NULL
25037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25041 arg2
= wxString_in_helper(obj1
);
25042 if (arg2
== NULL
) SWIG_fail
;
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 Py_INCREF(Py_None
); resultobj
= Py_None
;
25067 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25070 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25072 return Py_BuildValue((char *)"");
25074 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25075 PyObject
*resultobj
;
25076 wxWindow
*arg1
= (wxWindow
*) 0 ;
25077 int arg2
= (int) -1 ;
25078 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25079 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25080 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25081 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25082 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25083 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25084 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25085 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25086 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25087 wxPyTreeCtrl
*result
;
25090 bool temp7
= False
;
25091 PyObject
* obj0
= 0 ;
25092 PyObject
* obj1
= 0 ;
25093 PyObject
* obj2
= 0 ;
25094 PyObject
* obj3
= 0 ;
25095 PyObject
* obj4
= 0 ;
25096 PyObject
* obj5
= 0 ;
25097 PyObject
* obj6
= 0 ;
25098 char *kwnames
[] = {
25099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25106 arg2
= (int) SWIG_AsInt(obj1
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25112 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25118 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25122 arg5
= (long) SWIG_AsLong(obj4
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25126 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25129 if (arg6
== NULL
) {
25130 PyErr_SetString(PyExc_TypeError
,"null reference");
25136 arg7
= wxString_in_helper(obj6
);
25137 if (arg7
== NULL
) SWIG_fail
;
25142 if (!wxPyCheckForApp()) SWIG_fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25164 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
;
25166 wxPyTreeCtrl
*result
;
25167 char *kwnames
[] = {
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25173 if (!wxPyCheckForApp()) SWIG_fail
;
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25187 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25188 PyObject
*resultobj
;
25189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25190 wxWindow
*arg2
= (wxWindow
*) 0 ;
25191 int arg3
= (int) -1 ;
25192 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25193 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25194 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25195 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25196 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25197 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25198 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25199 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25200 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25204 bool temp8
= False
;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 PyObject
* obj2
= 0 ;
25208 PyObject
* obj3
= 0 ;
25209 PyObject
* obj4
= 0 ;
25210 PyObject
* obj5
= 0 ;
25211 PyObject
* obj6
= 0 ;
25212 PyObject
* obj7
= 0 ;
25213 char *kwnames
[] = {
25214 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25223 arg3
= (int) SWIG_AsInt(obj2
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25235 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25239 arg6
= (long) SWIG_AsLong(obj5
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25243 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25246 if (arg7
== NULL
) {
25247 PyErr_SetString(PyExc_TypeError
,"null reference");
25253 arg8
= wxString_in_helper(obj7
);
25254 if (arg8
== NULL
) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25282 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25285 PyObject
*arg2
= (PyObject
*) 0 ;
25286 PyObject
*arg3
= (PyObject
*) 0 ;
25287 PyObject
* obj0
= 0 ;
25288 PyObject
* obj1
= 0 ;
25289 PyObject
* obj2
= 0 ;
25290 char *kwnames
[] = {
25291 (char *) "self",(char *) "self",(char *) "_class", NULL
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 Py_INCREF(Py_None
); resultobj
= Py_None
;
25313 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
;
25315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25317 PyObject
* obj0
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25339 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25340 PyObject
*resultobj
;
25341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25342 unsigned int result
;
25343 PyObject
* obj0
= 0 ;
25344 char *kwnames
[] = {
25345 (char *) "self", NULL
25348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25365 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
;
25367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25368 unsigned int arg2
;
25369 PyObject
* obj0
= 0 ;
25370 PyObject
* obj1
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "self",(char *) "indent", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25378 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 (arg1
)->SetIndent(arg2
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 Py_INCREF(Py_None
); resultobj
= Py_None
;
25394 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25397 unsigned int result
;
25398 PyObject
* obj0
= 0 ;
25399 char *kwnames
[] = {
25400 (char *) "self", NULL
25403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25420 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25423 unsigned int arg2
;
25424 PyObject
* obj0
= 0 ;
25425 PyObject
* obj1
= 0 ;
25426 char *kwnames
[] = {
25427 (char *) "self",(char *) "spacing", NULL
25430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25433 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25437 (arg1
)->SetSpacing(arg2
);
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 Py_INCREF(Py_None
); resultobj
= Py_None
;
25449 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
;
25451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25452 wxImageList
*result
;
25453 PyObject
* obj0
= 0 ;
25454 char *kwnames
[] = {
25455 (char *) "self", NULL
25458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= wxPyMake_wxObject(result
, 0);
25477 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25480 wxImageList
*result
;
25481 PyObject
* obj0
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= wxPyMake_wxObject(result
, 0);
25505 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25508 wxImageList
*arg2
= (wxImageList
*) 0 ;
25509 PyObject
* obj0
= 0 ;
25510 PyObject
* obj1
= 0 ;
25511 char *kwnames
[] = {
25512 (char *) "self",(char *) "imageList", NULL
25515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 (arg1
)->SetImageList(arg2
);
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25527 Py_INCREF(Py_None
); resultobj
= Py_None
;
25534 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
;
25536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25537 wxImageList
*arg2
= (wxImageList
*) 0 ;
25538 PyObject
* obj0
= 0 ;
25539 PyObject
* obj1
= 0 ;
25540 char *kwnames
[] = {
25541 (char *) "self",(char *) "imageList", NULL
25544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 (arg1
)->SetStateImageList(arg2
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 Py_INCREF(Py_None
); resultobj
= Py_None
;
25563 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
;
25565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25566 wxImageList
*arg2
= (wxImageList
*) 0 ;
25567 PyObject
* obj0
= 0 ;
25568 PyObject
* obj1
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self",(char *) "imageList", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25577 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 (arg1
)->AssignImageList(arg2
);
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25585 Py_INCREF(Py_None
); resultobj
= Py_None
;
25592 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25595 wxImageList
*arg2
= (wxImageList
*) 0 ;
25596 PyObject
* obj0
= 0 ;
25597 PyObject
* obj1
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "self",(char *) "imageList", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25606 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 (arg1
)->AssignStateImageList(arg2
);
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 Py_INCREF(Py_None
); resultobj
= Py_None
;
25621 static PyObject
*_wrap_TreeCtrl_GetItemText(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_GetItemText",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
)->GetItemText((wxTreeItemId
const &)*arg2
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25662 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25665 wxTreeItemId
*arg2
= 0 ;
25666 int arg3
= (int) wxTreeItemIcon_Normal
;
25668 PyObject
* obj0
= 0 ;
25669 PyObject
* obj1
= 0 ;
25670 PyObject
* obj2
= 0 ;
25671 char *kwnames
[] = {
25672 (char *) "self",(char *) "item",(char *) "which", NULL
25675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25681 if (arg2
== NULL
) {
25682 PyErr_SetString(PyExc_TypeError
,"null reference");
25686 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25691 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25693 wxPyEndAllowThreads(__tstate
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= SWIG_FromInt((int)result
);
25703 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25704 PyObject
*resultobj
;
25705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25706 wxTreeItemId
*arg2
= 0 ;
25707 wxPyTreeItemData
*result
;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 char *kwnames
[] = {
25711 (char *) "self",(char *) "item", NULL
25714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25720 if (arg2
== NULL
) {
25721 PyErr_SetString(PyExc_TypeError
,"null reference");
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25738 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
;
25740 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25741 wxTreeItemId
*arg2
= 0 ;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 char *kwnames
[] = {
25746 (char *) "self",(char *) "item", NULL
25749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25755 if (arg2
== NULL
) {
25756 PyErr_SetString(PyExc_TypeError
,"null reference");
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 resultobj
= result
;
25773 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25776 wxTreeItemId
*arg2
= 0 ;
25778 PyObject
* obj0
= 0 ;
25779 PyObject
* obj1
= 0 ;
25780 char *kwnames
[] = {
25781 (char *) "self",(char *) "item", NULL
25784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25790 if (arg2
== NULL
) {
25791 PyErr_SetString(PyExc_TypeError
,"null reference");
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25802 wxColour
* resultptr
;
25803 resultptr
= new wxColour((wxColour
&) result
);
25804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25812 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
;
25814 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25815 wxTreeItemId
*arg2
= 0 ;
25817 PyObject
* obj0
= 0 ;
25818 PyObject
* obj1
= 0 ;
25819 char *kwnames
[] = {
25820 (char *) "self",(char *) "item", NULL
25823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25829 if (arg2
== NULL
) {
25830 PyErr_SetString(PyExc_TypeError
,"null reference");
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 wxColour
* resultptr
;
25842 resultptr
= new wxColour((wxColour
&) result
);
25843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25851 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
;
25853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25854 wxTreeItemId
*arg2
= 0 ;
25856 PyObject
* obj0
= 0 ;
25857 PyObject
* obj1
= 0 ;
25858 char *kwnames
[] = {
25859 (char *) "self",(char *) "item", NULL
25862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25868 if (arg2
== NULL
) {
25869 PyErr_SetString(PyExc_TypeError
,"null reference");
25873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25874 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25876 wxPyEndAllowThreads(__tstate
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25880 wxFont
* resultptr
;
25881 resultptr
= new wxFont((wxFont
&) result
);
25882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25890 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25891 PyObject
*resultobj
;
25892 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25893 wxTreeItemId
*arg2
= 0 ;
25894 wxString
*arg3
= 0 ;
25895 bool temp3
= False
;
25896 PyObject
* obj0
= 0 ;
25897 PyObject
* obj1
= 0 ;
25898 PyObject
* obj2
= 0 ;
25899 char *kwnames
[] = {
25900 (char *) "self",(char *) "item",(char *) "text", NULL
25903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25909 if (arg2
== NULL
) {
25910 PyErr_SetString(PyExc_TypeError
,"null reference");
25914 arg3
= wxString_in_helper(obj2
);
25915 if (arg3
== NULL
) SWIG_fail
;
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 Py_INCREF(Py_None
); resultobj
= Py_None
;
25940 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25943 wxTreeItemId
*arg2
= 0 ;
25945 int arg4
= (int) wxTreeItemIcon_Normal
;
25946 PyObject
* obj0
= 0 ;
25947 PyObject
* obj1
= 0 ;
25948 PyObject
* obj2
= 0 ;
25949 PyObject
* obj3
= 0 ;
25950 char *kwnames
[] = {
25951 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25960 if (arg2
== NULL
) {
25961 PyErr_SetString(PyExc_TypeError
,"null reference");
25964 arg3
= (int) SWIG_AsInt(obj2
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25967 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25972 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 Py_INCREF(Py_None
); resultobj
= Py_None
;
25984 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
;
25986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25987 wxTreeItemId
*arg2
= 0 ;
25988 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 PyObject
* obj2
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self",(char *) "item",(char *) "data", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26002 if (arg2
== NULL
) {
26003 PyErr_SetString(PyExc_TypeError
,"null reference");
26006 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26015 Py_INCREF(Py_None
); resultobj
= Py_None
;
26022 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
;
26024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26025 wxTreeItemId
*arg2
= 0 ;
26026 PyObject
*arg3
= (PyObject
*) 0 ;
26027 PyObject
* obj0
= 0 ;
26028 PyObject
* obj1
= 0 ;
26029 PyObject
* obj2
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self",(char *) "item",(char *) "obj", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26040 if (arg2
== NULL
) {
26041 PyErr_SetString(PyExc_TypeError
,"null reference");
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 Py_INCREF(Py_None
); resultobj
= Py_None
;
26059 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
;
26061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26062 wxTreeItemId
*arg2
= 0 ;
26063 bool arg3
= (bool) True
;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 PyObject
* obj2
= 0 ;
26067 char *kwnames
[] = {
26068 (char *) "self",(char *) "item",(char *) "has", NULL
26071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26077 if (arg2
== NULL
) {
26078 PyErr_SetString(PyExc_TypeError
,"null reference");
26082 arg3
= (bool) SWIG_AsBool(obj2
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26089 wxPyEndAllowThreads(__tstate
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26092 Py_INCREF(Py_None
); resultobj
= Py_None
;
26099 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
;
26101 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26102 wxTreeItemId
*arg2
= 0 ;
26103 bool arg3
= (bool) True
;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 PyObject
* obj2
= 0 ;
26107 char *kwnames
[] = {
26108 (char *) "self",(char *) "item",(char *) "bold", NULL
26111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26117 if (arg2
== NULL
) {
26118 PyErr_SetString(PyExc_TypeError
,"null reference");
26122 arg3
= (bool) SWIG_AsBool(obj2
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26132 Py_INCREF(Py_None
); resultobj
= Py_None
;
26139 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
;
26141 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26142 wxTreeItemId
*arg2
= 0 ;
26143 bool arg3
= (bool) True
;
26144 PyObject
* obj0
= 0 ;
26145 PyObject
* obj1
= 0 ;
26146 PyObject
* obj2
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self",(char *) "item",(char *) "highlight", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26157 if (arg2
== NULL
) {
26158 PyErr_SetString(PyExc_TypeError
,"null reference");
26162 arg3
= (bool) SWIG_AsBool(obj2
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26167 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26172 Py_INCREF(Py_None
); resultobj
= Py_None
;
26179 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26180 PyObject
*resultobj
;
26181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26182 wxTreeItemId
*arg2
= 0 ;
26183 wxColour
*arg3
= 0 ;
26185 PyObject
* obj0
= 0 ;
26186 PyObject
* obj1
= 0 ;
26187 PyObject
* obj2
= 0 ;
26188 char *kwnames
[] = {
26189 (char *) "self",(char *) "item",(char *) "col", NULL
26192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26198 if (arg2
== NULL
) {
26199 PyErr_SetString(PyExc_TypeError
,"null reference");
26204 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26210 wxPyEndAllowThreads(__tstate
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26213 Py_INCREF(Py_None
); resultobj
= Py_None
;
26220 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26221 PyObject
*resultobj
;
26222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26223 wxTreeItemId
*arg2
= 0 ;
26224 wxColour
*arg3
= 0 ;
26226 PyObject
* obj0
= 0 ;
26227 PyObject
* obj1
= 0 ;
26228 PyObject
* obj2
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "item",(char *) "col", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26239 if (arg2
== NULL
) {
26240 PyErr_SetString(PyExc_TypeError
,"null reference");
26245 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26251 wxPyEndAllowThreads(__tstate
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26254 Py_INCREF(Py_None
); resultobj
= Py_None
;
26261 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26262 PyObject
*resultobj
;
26263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26264 wxTreeItemId
*arg2
= 0 ;
26266 PyObject
* obj0
= 0 ;
26267 PyObject
* obj1
= 0 ;
26268 PyObject
* obj2
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "item",(char *) "font", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26279 if (arg2
== NULL
) {
26280 PyErr_SetString(PyExc_TypeError
,"null reference");
26283 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26286 if (arg3
== NULL
) {
26287 PyErr_SetString(PyExc_TypeError
,"null reference");
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 Py_INCREF(Py_None
); resultobj
= Py_None
;
26304 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26307 wxTreeItemId
*arg2
= 0 ;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "item", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26321 if (arg2
== NULL
) {
26322 PyErr_SetString(PyExc_TypeError
,"null reference");
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26341 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
;
26343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26344 wxTreeItemId
*arg2
= 0 ;
26346 PyObject
* obj0
= 0 ;
26347 PyObject
* obj1
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self",(char *) "item", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26358 if (arg2
== NULL
) {
26359 PyErr_SetString(PyExc_TypeError
,"null reference");
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26378 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
;
26380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26381 wxTreeItemId
*arg2
= 0 ;
26383 PyObject
* obj0
= 0 ;
26384 PyObject
* obj1
= 0 ;
26385 char *kwnames
[] = {
26386 (char *) "self",(char *) "item", NULL
26389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26395 if (arg2
== NULL
) {
26396 PyErr_SetString(PyExc_TypeError
,"null reference");
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26415 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
;
26417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26418 wxTreeItemId
*arg2
= 0 ;
26420 PyObject
* obj0
= 0 ;
26421 PyObject
* obj1
= 0 ;
26422 char *kwnames
[] = {
26423 (char *) "self",(char *) "item", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26432 if (arg2
== NULL
) {
26433 PyErr_SetString(PyExc_TypeError
,"null reference");
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26452 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
;
26454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26455 wxTreeItemId
*arg2
= 0 ;
26457 PyObject
* obj0
= 0 ;
26458 PyObject
* obj1
= 0 ;
26459 char *kwnames
[] = {
26460 (char *) "self",(char *) "item", NULL
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26469 if (arg2
== NULL
) {
26470 PyErr_SetString(PyExc_TypeError
,"null reference");
26474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26475 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26477 wxPyEndAllowThreads(__tstate
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26489 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26492 wxTreeItemId
*arg2
= 0 ;
26493 bool arg3
= (bool) True
;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 PyObject
* obj2
= 0 ;
26498 char *kwnames
[] = {
26499 (char *) "self",(char *) "item",(char *) "recursively", NULL
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26508 if (arg2
== NULL
) {
26509 PyErr_SetString(PyExc_TypeError
,"null reference");
26513 arg3
= (bool) SWIG_AsBool(obj2
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26530 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26533 wxTreeItemId result
;
26534 PyObject
* obj0
= 0 ;
26535 char *kwnames
[] = {
26536 (char *) "self", NULL
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26544 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26550 wxTreeItemId
* resultptr
;
26551 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26560 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
;
26562 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26563 wxTreeItemId result
;
26564 PyObject
* obj0
= 0 ;
26565 char *kwnames
[] = {
26566 (char *) "self", NULL
26569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26580 wxTreeItemId
* resultptr
;
26581 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26590 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
;
26592 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26594 PyObject
* obj0
= 0 ;
26595 char *kwnames
[] = {
26596 (char *) "self", NULL
26599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26609 resultobj
= result
;
26616 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
;
26618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26619 wxTreeItemId
*arg2
= 0 ;
26620 wxTreeItemId result
;
26621 PyObject
* obj0
= 0 ;
26622 PyObject
* obj1
= 0 ;
26623 char *kwnames
[] = {
26624 (char *) "self",(char *) "item", NULL
26627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26633 if (arg2
== NULL
) {
26634 PyErr_SetString(PyExc_TypeError
,"null reference");
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26645 wxTreeItemId
* resultptr
;
26646 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26655 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
;
26657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26658 wxTreeItemId
*arg2
= 0 ;
26660 PyObject
* obj0
= 0 ;
26661 PyObject
* obj1
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self",(char *) "item", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26672 if (arg2
== NULL
) {
26673 PyErr_SetString(PyExc_TypeError
,"null reference");
26677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26678 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 resultobj
= result
;
26690 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
;
26692 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26693 wxTreeItemId
*arg2
= 0 ;
26694 void *arg3
= (void *) 0 ;
26696 PyObject
* obj0
= 0 ;
26697 PyObject
* obj1
= 0 ;
26698 PyObject
* obj2
= 0 ;
26699 char *kwnames
[] = {
26700 (char *) "self",(char *) "item",(char *) "cookie", NULL
26703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26709 if (arg2
== NULL
) {
26710 PyErr_SetString(PyExc_TypeError
,"null reference");
26713 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26716 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 resultobj
= result
;
26728 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
;
26730 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26731 wxTreeItemId
*arg2
= 0 ;
26732 wxTreeItemId result
;
26733 PyObject
* obj0
= 0 ;
26734 PyObject
* obj1
= 0 ;
26735 char *kwnames
[] = {
26736 (char *) "self",(char *) "item", NULL
26739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26745 if (arg2
== NULL
) {
26746 PyErr_SetString(PyExc_TypeError
,"null reference");
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26757 wxTreeItemId
* resultptr
;
26758 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26767 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
;
26769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26770 wxTreeItemId
*arg2
= 0 ;
26771 wxTreeItemId result
;
26772 PyObject
* obj0
= 0 ;
26773 PyObject
* obj1
= 0 ;
26774 char *kwnames
[] = {
26775 (char *) "self",(char *) "item", NULL
26778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26784 if (arg2
== NULL
) {
26785 PyErr_SetString(PyExc_TypeError
,"null reference");
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26796 wxTreeItemId
* resultptr
;
26797 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26806 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26809 wxTreeItemId
*arg2
= 0 ;
26810 wxTreeItemId result
;
26811 PyObject
* obj0
= 0 ;
26812 PyObject
* obj1
= 0 ;
26813 char *kwnames
[] = {
26814 (char *) "self",(char *) "item", NULL
26817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26823 if (arg2
== NULL
) {
26824 PyErr_SetString(PyExc_TypeError
,"null reference");
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26835 wxTreeItemId
* resultptr
;
26836 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26845 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
;
26847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26848 wxTreeItemId result
;
26849 PyObject
* obj0
= 0 ;
26850 char *kwnames
[] = {
26851 (char *) "self", NULL
26854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26865 wxTreeItemId
* resultptr
;
26866 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26875 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
;
26877 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26878 wxTreeItemId
*arg2
= 0 ;
26879 wxTreeItemId result
;
26880 PyObject
* obj0
= 0 ;
26881 PyObject
* obj1
= 0 ;
26882 char *kwnames
[] = {
26883 (char *) "self",(char *) "item", NULL
26886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26892 if (arg2
== NULL
) {
26893 PyErr_SetString(PyExc_TypeError
,"null reference");
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26904 wxTreeItemId
* resultptr
;
26905 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26914 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
;
26916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26917 wxTreeItemId
*arg2
= 0 ;
26918 wxTreeItemId result
;
26919 PyObject
* obj0
= 0 ;
26920 PyObject
* obj1
= 0 ;
26921 char *kwnames
[] = {
26922 (char *) "self",(char *) "item", NULL
26925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26931 if (arg2
== NULL
) {
26932 PyErr_SetString(PyExc_TypeError
,"null reference");
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26943 wxTreeItemId
* resultptr
;
26944 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26953 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
;
26955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26956 wxString
*arg2
= 0 ;
26957 int arg3
= (int) -1 ;
26958 int arg4
= (int) -1 ;
26959 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26960 wxTreeItemId result
;
26961 bool temp2
= False
;
26962 PyObject
* obj0
= 0 ;
26963 PyObject
* obj1
= 0 ;
26964 PyObject
* obj2
= 0 ;
26965 PyObject
* obj3
= 0 ;
26966 PyObject
* obj4
= 0 ;
26967 char *kwnames
[] = {
26968 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26975 arg2
= wxString_in_helper(obj1
);
26976 if (arg2
== NULL
) SWIG_fail
;
26980 arg3
= (int) SWIG_AsInt(obj2
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26984 arg4
= (int) SWIG_AsInt(obj3
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26988 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26999 wxTreeItemId
* resultptr
;
27000 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27017 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27020 wxTreeItemId
*arg2
= 0 ;
27021 wxString
*arg3
= 0 ;
27022 int arg4
= (int) -1 ;
27023 int arg5
= (int) -1 ;
27024 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27025 wxTreeItemId result
;
27026 bool temp3
= False
;
27027 PyObject
* obj0
= 0 ;
27028 PyObject
* obj1
= 0 ;
27029 PyObject
* obj2
= 0 ;
27030 PyObject
* obj3
= 0 ;
27031 PyObject
* obj4
= 0 ;
27032 PyObject
* obj5
= 0 ;
27033 char *kwnames
[] = {
27034 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27043 if (arg2
== NULL
) {
27044 PyErr_SetString(PyExc_TypeError
,"null reference");
27048 arg3
= wxString_in_helper(obj2
);
27049 if (arg3
== NULL
) SWIG_fail
;
27053 arg4
= (int) SWIG_AsInt(obj3
);
27054 if (PyErr_Occurred()) SWIG_fail
;
27057 arg5
= (int) SWIG_AsInt(obj4
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27061 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27068 wxPyEndAllowThreads(__tstate
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27072 wxTreeItemId
* resultptr
;
27073 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27090 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
;
27092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27093 wxTreeItemId
*arg2
= 0 ;
27094 wxTreeItemId
*arg3
= 0 ;
27095 wxString
*arg4
= 0 ;
27096 int arg5
= (int) -1 ;
27097 int arg6
= (int) -1 ;
27098 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27099 wxTreeItemId result
;
27100 bool temp4
= False
;
27101 PyObject
* obj0
= 0 ;
27102 PyObject
* obj1
= 0 ;
27103 PyObject
* obj2
= 0 ;
27104 PyObject
* obj3
= 0 ;
27105 PyObject
* obj4
= 0 ;
27106 PyObject
* obj5
= 0 ;
27107 PyObject
* obj6
= 0 ;
27108 char *kwnames
[] = {
27109 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27118 if (arg2
== NULL
) {
27119 PyErr_SetString(PyExc_TypeError
,"null reference");
27122 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27125 if (arg3
== NULL
) {
27126 PyErr_SetString(PyExc_TypeError
,"null reference");
27130 arg4
= wxString_in_helper(obj3
);
27131 if (arg4
== NULL
) SWIG_fail
;
27135 arg5
= (int) SWIG_AsInt(obj4
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27139 arg6
= (int) SWIG_AsInt(obj5
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27154 wxTreeItemId
* resultptr
;
27155 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27172 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27173 PyObject
*resultobj
;
27174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27175 wxTreeItemId
*arg2
= 0 ;
27177 wxString
*arg4
= 0 ;
27178 int arg5
= (int) -1 ;
27179 int arg6
= (int) -1 ;
27180 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27181 wxTreeItemId result
;
27182 bool temp4
= False
;
27183 PyObject
* obj0
= 0 ;
27184 PyObject
* obj1
= 0 ;
27185 PyObject
* obj2
= 0 ;
27186 PyObject
* obj3
= 0 ;
27187 PyObject
* obj4
= 0 ;
27188 PyObject
* obj5
= 0 ;
27189 PyObject
* obj6
= 0 ;
27190 char *kwnames
[] = {
27191 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27200 if (arg2
== NULL
) {
27201 PyErr_SetString(PyExc_TypeError
,"null reference");
27204 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27207 arg4
= wxString_in_helper(obj3
);
27208 if (arg4
== NULL
) SWIG_fail
;
27212 arg5
= (int) SWIG_AsInt(obj4
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27216 arg6
= (int) SWIG_AsInt(obj5
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27220 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27231 wxTreeItemId
* resultptr
;
27232 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27249 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
;
27251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27252 wxTreeItemId
*arg2
= 0 ;
27253 wxString
*arg3
= 0 ;
27254 int arg4
= (int) -1 ;
27255 int arg5
= (int) -1 ;
27256 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27257 wxTreeItemId result
;
27258 bool temp3
= False
;
27259 PyObject
* obj0
= 0 ;
27260 PyObject
* obj1
= 0 ;
27261 PyObject
* obj2
= 0 ;
27262 PyObject
* obj3
= 0 ;
27263 PyObject
* obj4
= 0 ;
27264 PyObject
* obj5
= 0 ;
27265 char *kwnames
[] = {
27266 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27275 if (arg2
== NULL
) {
27276 PyErr_SetString(PyExc_TypeError
,"null reference");
27280 arg3
= wxString_in_helper(obj2
);
27281 if (arg3
== NULL
) SWIG_fail
;
27285 arg4
= (int) SWIG_AsInt(obj3
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27289 arg5
= (int) SWIG_AsInt(obj4
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27293 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27304 wxTreeItemId
* resultptr
;
27305 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27322 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27325 wxTreeItemId
*arg2
= 0 ;
27326 PyObject
* obj0
= 0 ;
27327 PyObject
* obj1
= 0 ;
27328 char *kwnames
[] = {
27329 (char *) "self",(char *) "item", NULL
27332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27338 if (arg2
== NULL
) {
27339 PyErr_SetString(PyExc_TypeError
,"null reference");
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 Py_INCREF(Py_None
); resultobj
= Py_None
;
27356 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27357 PyObject
*resultobj
;
27358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27359 wxTreeItemId
*arg2
= 0 ;
27360 PyObject
* obj0
= 0 ;
27361 PyObject
* obj1
= 0 ;
27362 char *kwnames
[] = {
27363 (char *) "self",(char *) "item", NULL
27366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27372 if (arg2
== NULL
) {
27373 PyErr_SetString(PyExc_TypeError
,"null reference");
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27383 Py_INCREF(Py_None
); resultobj
= Py_None
;
27390 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 char *kwnames
[] = {
27395 (char *) "self", NULL
27398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 (arg1
)->DeleteAllItems();
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 Py_INCREF(Py_None
); resultobj
= Py_None
;
27415 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
;
27417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27418 wxTreeItemId
*arg2
= 0 ;
27419 PyObject
* obj0
= 0 ;
27420 PyObject
* obj1
= 0 ;
27421 char *kwnames
[] = {
27422 (char *) "self",(char *) "item", NULL
27425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27431 if (arg2
== NULL
) {
27432 PyErr_SetString(PyExc_TypeError
,"null reference");
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 Py_INCREF(Py_None
); resultobj
= Py_None
;
27449 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27450 PyObject
*resultobj
;
27451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27452 wxTreeItemId
*arg2
= 0 ;
27453 PyObject
* obj0
= 0 ;
27454 PyObject
* obj1
= 0 ;
27455 char *kwnames
[] = {
27456 (char *) "self",(char *) "item", NULL
27459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27465 if (arg2
== NULL
) {
27466 PyErr_SetString(PyExc_TypeError
,"null reference");
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 Py_INCREF(Py_None
); resultobj
= Py_None
;
27483 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(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_CollapseAndReset",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
)->CollapseAndReset((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_Toggle(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_Toggle",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
)->Toggle((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_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
;
27553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27554 PyObject
* obj0
= 0 ;
27555 char *kwnames
[] = {
27556 (char *) "self", NULL
27559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 (arg1
)->Unselect();
27566 wxPyEndAllowThreads(__tstate
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27569 Py_INCREF(Py_None
); resultobj
= Py_None
;
27576 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27577 PyObject
*resultobj
;
27578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27579 wxTreeItemId
*arg2
= 0 ;
27580 PyObject
* obj0
= 0 ;
27581 PyObject
* obj1
= 0 ;
27582 char *kwnames
[] = {
27583 (char *) "self",(char *) "item", NULL
27586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27592 if (arg2
== NULL
) {
27593 PyErr_SetString(PyExc_TypeError
,"null reference");
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27603 Py_INCREF(Py_None
); resultobj
= Py_None
;
27610 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27611 PyObject
*resultobj
;
27612 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27613 PyObject
* obj0
= 0 ;
27614 char *kwnames
[] = {
27615 (char *) "self", NULL
27618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 (arg1
)->UnselectAll();
27625 wxPyEndAllowThreads(__tstate
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27628 Py_INCREF(Py_None
); resultobj
= Py_None
;
27635 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
;
27637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27638 wxTreeItemId
*arg2
= 0 ;
27639 bool arg3
= (bool) True
;
27640 PyObject
* obj0
= 0 ;
27641 PyObject
* obj1
= 0 ;
27642 PyObject
* obj2
= 0 ;
27643 char *kwnames
[] = {
27644 (char *) "self",(char *) "item",(char *) "select", NULL
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27653 if (arg2
== NULL
) {
27654 PyErr_SetString(PyExc_TypeError
,"null reference");
27658 arg3
= (bool) SWIG_AsBool(obj2
);
27659 if (PyErr_Occurred()) SWIG_fail
;
27662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27663 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27665 wxPyEndAllowThreads(__tstate
);
27666 if (PyErr_Occurred()) SWIG_fail
;
27668 Py_INCREF(Py_None
); resultobj
= Py_None
;
27675 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
;
27677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27678 wxTreeItemId
*arg2
= 0 ;
27679 PyObject
* obj0
= 0 ;
27680 PyObject
* obj1
= 0 ;
27681 char *kwnames
[] = {
27682 (char *) "self",(char *) "item", NULL
27685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27691 if (arg2
== NULL
) {
27692 PyErr_SetString(PyExc_TypeError
,"null reference");
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27702 Py_INCREF(Py_None
); resultobj
= Py_None
;
27709 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27710 PyObject
*resultobj
;
27711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27712 wxTreeItemId
*arg2
= 0 ;
27713 PyObject
* obj0
= 0 ;
27714 PyObject
* obj1
= 0 ;
27715 char *kwnames
[] = {
27716 (char *) "self",(char *) "item", NULL
27719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27725 if (arg2
== NULL
) {
27726 PyErr_SetString(PyExc_TypeError
,"null reference");
27730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27731 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27733 wxPyEndAllowThreads(__tstate
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27736 Py_INCREF(Py_None
); resultobj
= Py_None
;
27743 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27744 PyObject
*resultobj
;
27745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27746 wxTreeItemId
*arg2
= 0 ;
27747 PyObject
* obj0
= 0 ;
27748 PyObject
* obj1
= 0 ;
27749 char *kwnames
[] = {
27750 (char *) "self",(char *) "item", NULL
27753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27759 if (arg2
== NULL
) {
27760 PyErr_SetString(PyExc_TypeError
,"null reference");
27764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27765 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27767 wxPyEndAllowThreads(__tstate
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27770 Py_INCREF(Py_None
); resultobj
= Py_None
;
27777 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
;
27779 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27780 wxTreeItemId
*arg2
= 0 ;
27781 PyObject
* obj0
= 0 ;
27782 PyObject
* obj1
= 0 ;
27783 char *kwnames
[] = {
27784 (char *) "self",(char *) "item", NULL
27787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27793 if (arg2
== NULL
) {
27794 PyErr_SetString(PyExc_TypeError
,"null reference");
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 Py_INCREF(Py_None
); resultobj
= Py_None
;
27811 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
;
27813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27814 wxTextCtrl
*result
;
27815 PyObject
* obj0
= 0 ;
27816 char *kwnames
[] = {
27817 (char *) "self", NULL
27820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27825 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27827 wxPyEndAllowThreads(__tstate
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27831 resultobj
= wxPyMake_wxObject(result
, 0);
27839 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27840 PyObject
*resultobj
;
27841 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27842 wxTreeItemId
*arg2
= 0 ;
27843 bool arg3
= (bool) False
;
27844 PyObject
* obj0
= 0 ;
27845 PyObject
* obj1
= 0 ;
27846 PyObject
* obj2
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27857 if (arg2
== NULL
) {
27858 PyErr_SetString(PyExc_TypeError
,"null reference");
27862 arg3
= (bool) SWIG_AsBool(obj2
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27872 Py_INCREF(Py_None
); resultobj
= Py_None
;
27879 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27880 PyObject
*resultobj
;
27881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27882 wxTreeItemId
*arg2
= 0 ;
27883 PyObject
* obj0
= 0 ;
27884 PyObject
* obj1
= 0 ;
27885 char *kwnames
[] = {
27886 (char *) "self",(char *) "item", NULL
27889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27895 if (arg2
== NULL
) {
27896 PyErr_SetString(PyExc_TypeError
,"null reference");
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27901 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27903 wxPyEndAllowThreads(__tstate
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27906 Py_INCREF(Py_None
); resultobj
= Py_None
;
27913 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
;
27915 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27916 wxPoint
*arg2
= 0 ;
27918 wxTreeItemId result
;
27921 PyObject
* obj0
= 0 ;
27922 PyObject
* obj1
= 0 ;
27923 char *kwnames
[] = {
27924 (char *) "self",(char *) "point", NULL
27928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27933 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27937 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27943 wxTreeItemId
* resultptr
;
27944 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27948 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27949 resultobj
= t_output_helper(resultobj
,o
);
27957 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
;
27959 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27960 wxTreeItemId
*arg2
= 0 ;
27961 bool arg3
= (bool) False
;
27963 PyObject
* obj0
= 0 ;
27964 PyObject
* obj1
= 0 ;
27965 PyObject
* obj2
= 0 ;
27966 char *kwnames
[] = {
27967 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27976 if (arg2
== NULL
) {
27977 PyErr_SetString(PyExc_TypeError
,"null reference");
27981 arg3
= (bool) SWIG_AsBool(obj2
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27986 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27988 wxPyEndAllowThreads(__tstate
);
27989 if (PyErr_Occurred()) SWIG_fail
;
27991 resultobj
= result
;
27998 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27999 PyObject
*resultobj
;
28000 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28001 wxTreeItemId
*arg2
= 0 ;
28003 PyObject
* obj0
= 0 ;
28004 PyObject
* obj1
= 0 ;
28005 PyObject
* obj2
= 0 ;
28006 char *kwnames
[] = {
28007 (char *) "self",(char *) "node",(char *) "state", NULL
28010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28016 if (arg2
== NULL
) {
28017 PyErr_SetString(PyExc_TypeError
,"null reference");
28020 arg3
= (int) SWIG_AsInt(obj2
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28029 Py_INCREF(Py_None
); resultobj
= Py_None
;
28036 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
;
28038 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28039 wxTreeItemId
*arg2
= 0 ;
28041 PyObject
* obj0
= 0 ;
28042 PyObject
* obj1
= 0 ;
28043 char *kwnames
[] = {
28044 (char *) "self",(char *) "node", NULL
28047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
28048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28053 if (arg2
== NULL
) {
28054 PyErr_SetString(PyExc_TypeError
,"null reference");
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28064 resultobj
= SWIG_FromInt((int)result
);
28071 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28072 PyObject
*resultobj
;
28073 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28074 wxVisualAttributes result
;
28075 PyObject
* obj0
= 0 ;
28076 char *kwnames
[] = {
28077 (char *) "variant", NULL
28080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28082 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28086 if (!wxPyCheckForApp()) SWIG_fail
;
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28088 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28090 wxPyEndAllowThreads(__tstate
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28094 wxVisualAttributes
* resultptr
;
28095 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28104 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28107 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28109 return Py_BuildValue((char *)"");
28111 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
28112 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28117 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28122 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28124 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28131 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28132 PyObject
*resultobj
;
28133 wxWindow
*arg1
= (wxWindow
*) 0 ;
28134 int arg2
= (int) (int)-1 ;
28135 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28136 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28137 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28138 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28139 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28140 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28141 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28142 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28143 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28144 int arg8
= (int) 0 ;
28145 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28146 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28147 wxGenericDirCtrl
*result
;
28148 bool temp3
= False
;
28151 bool temp7
= False
;
28152 bool temp9
= False
;
28153 PyObject
* obj0
= 0 ;
28154 PyObject
* obj1
= 0 ;
28155 PyObject
* obj2
= 0 ;
28156 PyObject
* obj3
= 0 ;
28157 PyObject
* obj4
= 0 ;
28158 PyObject
* obj5
= 0 ;
28159 PyObject
* obj6
= 0 ;
28160 PyObject
* obj7
= 0 ;
28161 PyObject
* obj8
= 0 ;
28162 char *kwnames
[] = {
28163 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28170 arg2
= (int const) SWIG_AsInt(obj1
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28175 arg3
= wxString_in_helper(obj2
);
28176 if (arg3
== NULL
) SWIG_fail
;
28183 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28189 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28193 arg6
= (long) SWIG_AsLong(obj5
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28198 arg7
= wxString_in_helper(obj6
);
28199 if (arg7
== NULL
) SWIG_fail
;
28204 arg8
= (int) SWIG_AsInt(obj7
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28209 arg9
= wxString_in_helper(obj8
);
28210 if (arg9
== NULL
) SWIG_fail
;
28215 if (!wxPyCheckForApp()) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28253 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28254 PyObject
*resultobj
;
28255 wxGenericDirCtrl
*result
;
28256 char *kwnames
[] = {
28260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28262 if (!wxPyCheckForApp()) SWIG_fail
;
28263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28264 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28266 wxPyEndAllowThreads(__tstate
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28276 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28277 PyObject
*resultobj
;
28278 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28279 wxWindow
*arg2
= (wxWindow
*) 0 ;
28280 int arg3
= (int) (int)-1 ;
28281 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28282 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28283 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28284 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28285 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28286 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28287 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28288 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28289 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28290 int arg9
= (int) 0 ;
28291 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28292 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28294 bool temp4
= False
;
28297 bool temp8
= False
;
28298 bool temp10
= False
;
28299 PyObject
* obj0
= 0 ;
28300 PyObject
* obj1
= 0 ;
28301 PyObject
* obj2
= 0 ;
28302 PyObject
* obj3
= 0 ;
28303 PyObject
* obj4
= 0 ;
28304 PyObject
* obj5
= 0 ;
28305 PyObject
* obj6
= 0 ;
28306 PyObject
* obj7
= 0 ;
28307 PyObject
* obj8
= 0 ;
28308 PyObject
* obj9
= 0 ;
28309 char *kwnames
[] = {
28310 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28319 arg3
= (int const) SWIG_AsInt(obj2
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28324 arg4
= wxString_in_helper(obj3
);
28325 if (arg4
== NULL
) SWIG_fail
;
28332 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28338 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28342 arg7
= (long) SWIG_AsLong(obj6
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28347 arg8
= wxString_in_helper(obj7
);
28348 if (arg8
== NULL
) SWIG_fail
;
28353 arg9
= (int) SWIG_AsInt(obj8
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28358 arg10
= wxString_in_helper(obj9
);
28359 if (arg10
== NULL
) SWIG_fail
;
28364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28365 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28367 wxPyEndAllowThreads(__tstate
);
28368 if (PyErr_Occurred()) SWIG_fail
;
28371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28403 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
;
28405 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28406 wxString
*arg2
= 0 ;
28408 bool temp2
= False
;
28409 PyObject
* obj0
= 0 ;
28410 PyObject
* obj1
= 0 ;
28411 char *kwnames
[] = {
28412 (char *) "self",(char *) "path", NULL
28415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28419 arg2
= wxString_in_helper(obj1
);
28420 if (arg2
== NULL
) SWIG_fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28447 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28448 PyObject
*resultobj
;
28449 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28451 PyObject
* obj0
= 0 ;
28452 char *kwnames
[] = {
28453 (char *) "self", NULL
28456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28461 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28463 wxPyEndAllowThreads(__tstate
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28479 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28480 PyObject
*resultobj
;
28481 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28482 wxString
*arg2
= 0 ;
28483 bool temp2
= False
;
28484 PyObject
* obj0
= 0 ;
28485 PyObject
* obj1
= 0 ;
28486 char *kwnames
[] = {
28487 (char *) "self",(char *) "path", NULL
28490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28494 arg2
= wxString_in_helper(obj1
);
28495 if (arg2
== NULL
) SWIG_fail
;
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28505 Py_INCREF(Py_None
); resultobj
= Py_None
;
28520 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28521 PyObject
*resultobj
;
28522 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28524 PyObject
* obj0
= 0 ;
28525 char *kwnames
[] = {
28526 (char *) "self", NULL
28529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28552 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28553 PyObject
*resultobj
;
28554 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28556 PyObject
* obj0
= 0 ;
28557 char *kwnames
[] = {
28558 (char *) "self", NULL
28561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28568 wxPyEndAllowThreads(__tstate
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28584 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28585 PyObject
*resultobj
;
28586 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28587 wxString
*arg2
= 0 ;
28588 bool temp2
= False
;
28589 PyObject
* obj0
= 0 ;
28590 PyObject
* obj1
= 0 ;
28591 char *kwnames
[] = {
28592 (char *) "self",(char *) "path", NULL
28595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28599 arg2
= wxString_in_helper(obj1
);
28600 if (arg2
== NULL
) SWIG_fail
;
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 (arg1
)->SetPath((wxString
const &)*arg2
);
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28610 Py_INCREF(Py_None
); resultobj
= Py_None
;
28625 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28626 PyObject
*resultobj
;
28627 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28629 PyObject
* obj0
= 0 ;
28630 PyObject
* obj1
= 0 ;
28631 char *kwnames
[] = {
28632 (char *) "self",(char *) "show", NULL
28635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28638 arg2
= (bool) SWIG_AsBool(obj1
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 (arg1
)->ShowHidden(arg2
);
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28647 Py_INCREF(Py_None
); resultobj
= Py_None
;
28654 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28655 PyObject
*resultobj
;
28656 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28658 PyObject
* obj0
= 0 ;
28659 char *kwnames
[] = {
28660 (char *) "self", NULL
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 result
= (bool)(arg1
)->GetShowHidden();
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28682 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28683 PyObject
*resultobj
;
28684 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28686 PyObject
* obj0
= 0 ;
28687 char *kwnames
[] = {
28688 (char *) "self", NULL
28691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28696 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28698 wxPyEndAllowThreads(__tstate
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28714 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28715 PyObject
*resultobj
;
28716 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28717 wxString
*arg2
= 0 ;
28718 bool temp2
= False
;
28719 PyObject
* obj0
= 0 ;
28720 PyObject
* obj1
= 0 ;
28721 char *kwnames
[] = {
28722 (char *) "self",(char *) "filter", NULL
28725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28729 arg2
= wxString_in_helper(obj1
);
28730 if (arg2
== NULL
) SWIG_fail
;
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 (arg1
)->SetFilter((wxString
const &)*arg2
);
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 Py_INCREF(Py_None
); resultobj
= Py_None
;
28755 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
;
28757 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28759 PyObject
* obj0
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "self", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_FromInt((int)result
);
28781 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28782 PyObject
*resultobj
;
28783 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28785 PyObject
* obj0
= 0 ;
28786 PyObject
* obj1
= 0 ;
28787 char *kwnames
[] = {
28788 (char *) "self",(char *) "n", NULL
28791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28794 arg2
= (int) SWIG_AsInt(obj1
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28798 (arg1
)->SetFilterIndex(arg2
);
28800 wxPyEndAllowThreads(__tstate
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 Py_INCREF(Py_None
); resultobj
= Py_None
;
28810 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28811 PyObject
*resultobj
;
28812 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28813 wxTreeItemId result
;
28814 PyObject
* obj0
= 0 ;
28815 char *kwnames
[] = {
28816 (char *) "self", NULL
28819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28824 result
= (arg1
)->GetRootId();
28826 wxPyEndAllowThreads(__tstate
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28830 wxTreeItemId
* resultptr
;
28831 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28840 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28841 PyObject
*resultobj
;
28842 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28843 wxPyTreeCtrl
*result
;
28844 PyObject
* obj0
= 0 ;
28845 char *kwnames
[] = {
28846 (char *) "self", NULL
28849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28860 resultobj
= wxPyMake_wxObject(result
, 0);
28868 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
;
28870 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28871 wxDirFilterListCtrl
*result
;
28872 PyObject
* obj0
= 0 ;
28873 char *kwnames
[] = {
28874 (char *) "self", NULL
28877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28882 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28884 wxPyEndAllowThreads(__tstate
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28894 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28895 PyObject
*resultobj
;
28896 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28897 wxTreeItemId arg2
;
28898 wxString
*arg3
= 0 ;
28900 wxTreeItemId result
;
28901 wxTreeItemId
*argp2
;
28902 bool temp3
= False
;
28904 PyObject
* obj0
= 0 ;
28905 PyObject
* obj1
= 0 ;
28906 PyObject
* obj2
= 0 ;
28907 char *kwnames
[] = {
28908 (char *) "self",(char *) "parentId",(char *) "path", NULL
28912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28915 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28916 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28919 arg3
= wxString_in_helper(obj2
);
28920 if (arg3
== NULL
) SWIG_fail
;
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28931 wxTreeItemId
* resultptr
;
28932 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28936 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28937 resultobj
= t_output_helper(resultobj
,o
);
28953 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28954 PyObject
*resultobj
;
28955 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28956 PyObject
* obj0
= 0 ;
28957 char *kwnames
[] = {
28958 (char *) "self", NULL
28961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 (arg1
)->DoResize();
28968 wxPyEndAllowThreads(__tstate
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28971 Py_INCREF(Py_None
); resultobj
= Py_None
;
28978 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28979 PyObject
*resultobj
;
28980 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28981 PyObject
* obj0
= 0 ;
28982 char *kwnames
[] = {
28983 (char *) "self", NULL
28986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 (arg1
)->ReCreateTree();
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28996 Py_INCREF(Py_None
); resultobj
= Py_None
;
29003 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
29005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29006 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29008 return Py_BuildValue((char *)"");
29010 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29011 PyObject
*resultobj
;
29012 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29013 int arg2
= (int) (int)-1 ;
29014 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29015 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29016 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29017 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29018 long arg5
= (long) 0 ;
29019 wxDirFilterListCtrl
*result
;
29022 PyObject
* obj0
= 0 ;
29023 PyObject
* obj1
= 0 ;
29024 PyObject
* obj2
= 0 ;
29025 PyObject
* obj3
= 0 ;
29026 PyObject
* obj4
= 0 ;
29027 char *kwnames
[] = {
29028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29035 arg2
= (int const) SWIG_AsInt(obj1
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29041 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29047 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29051 arg5
= (long) SWIG_AsLong(obj4
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29055 if (!wxPyCheckForApp()) SWIG_fail
;
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29069 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxDirFilterListCtrl
*result
;
29072 char *kwnames
[] = {
29076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29078 if (!wxPyCheckForApp()) SWIG_fail
;
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29092 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
;
29094 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29095 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29096 int arg3
= (int) (int)-1 ;
29097 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29098 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29099 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29100 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29101 long arg6
= (long) 0 ;
29105 PyObject
* obj0
= 0 ;
29106 PyObject
* obj1
= 0 ;
29107 PyObject
* obj2
= 0 ;
29108 PyObject
* obj3
= 0 ;
29109 PyObject
* obj4
= 0 ;
29110 PyObject
* obj5
= 0 ;
29111 char *kwnames
[] = {
29112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29121 arg3
= (int const) SWIG_AsInt(obj2
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29127 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29133 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29137 arg6
= (long) SWIG_AsLong(obj5
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29156 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29157 PyObject
*resultobj
;
29158 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29159 wxString
*arg2
= 0 ;
29161 bool temp2
= False
;
29162 PyObject
* obj0
= 0 ;
29163 PyObject
* obj1
= 0 ;
29164 PyObject
* obj2
= 0 ;
29165 char *kwnames
[] = {
29166 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29173 arg2
= wxString_in_helper(obj1
);
29174 if (arg2
== NULL
) SWIG_fail
;
29177 arg3
= (int) SWIG_AsInt(obj2
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29186 Py_INCREF(Py_None
); resultobj
= Py_None
;
29201 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
29203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29204 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29206 return Py_BuildValue((char *)"");
29208 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29209 PyObject
*resultobj
;
29210 wxWindow
*arg1
= (wxWindow
*) 0 ;
29211 int arg2
= (int) (int)-1 ;
29212 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29213 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29214 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29215 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29216 long arg5
= (long) 0 ;
29217 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29218 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29219 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29220 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29221 wxPyControl
*result
;
29224 bool temp7
= False
;
29225 PyObject
* obj0
= 0 ;
29226 PyObject
* obj1
= 0 ;
29227 PyObject
* obj2
= 0 ;
29228 PyObject
* obj3
= 0 ;
29229 PyObject
* obj4
= 0 ;
29230 PyObject
* obj5
= 0 ;
29231 PyObject
* obj6
= 0 ;
29232 char *kwnames
[] = {
29233 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29240 arg2
= (int const) SWIG_AsInt(obj1
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29246 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29252 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29256 arg5
= (long) SWIG_AsLong(obj4
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29260 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29263 if (arg6
== NULL
) {
29264 PyErr_SetString(PyExc_TypeError
,"null reference");
29270 arg7
= wxString_in_helper(obj6
);
29271 if (arg7
== NULL
) SWIG_fail
;
29276 if (!wxPyCheckForApp()) SWIG_fail
;
29277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29278 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29280 wxPyEndAllowThreads(__tstate
);
29281 if (PyErr_Occurred()) SWIG_fail
;
29283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29298 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29299 PyObject
*resultobj
;
29300 wxPyControl
*result
;
29301 char *kwnames
[] = {
29305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29307 if (!wxPyCheckForApp()) SWIG_fail
;
29308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 result
= (wxPyControl
*)new wxPyControl();
29311 wxPyEndAllowThreads(__tstate
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29321 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29322 PyObject
*resultobj
;
29323 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29324 PyObject
*arg2
= (PyObject
*) 0 ;
29325 PyObject
*arg3
= (PyObject
*) 0 ;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj1
= 0 ;
29328 PyObject
* obj2
= 0 ;
29329 char *kwnames
[] = {
29330 (char *) "self",(char *) "self",(char *) "_class", NULL
29333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29340 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29345 Py_INCREF(Py_None
); resultobj
= Py_None
;
29352 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29353 PyObject
*resultobj
;
29354 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29357 PyObject
* obj0
= 0 ;
29358 PyObject
* obj1
= 0 ;
29359 char *kwnames
[] = {
29360 (char *) "self",(char *) "size", NULL
29363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29368 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29374 wxPyEndAllowThreads(__tstate
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29377 Py_INCREF(Py_None
); resultobj
= Py_None
;
29384 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29385 PyObject
*resultobj
;
29386 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29391 PyObject
* obj0
= 0 ;
29392 PyObject
* obj1
= 0 ;
29393 PyObject
* obj2
= 0 ;
29394 PyObject
* obj3
= 0 ;
29395 PyObject
* obj4
= 0 ;
29396 char *kwnames
[] = {
29397 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29403 arg2
= (int) SWIG_AsInt(obj1
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29405 arg3
= (int) SWIG_AsInt(obj2
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29407 arg4
= (int) SWIG_AsInt(obj3
);
29408 if (PyErr_Occurred()) SWIG_fail
;
29409 arg5
= (int) SWIG_AsInt(obj4
);
29410 if (PyErr_Occurred()) SWIG_fail
;
29412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29413 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29415 wxPyEndAllowThreads(__tstate
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29418 Py_INCREF(Py_None
); resultobj
= Py_None
;
29425 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29426 PyObject
*resultobj
;
29427 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29432 int arg6
= (int) wxSIZE_AUTO
;
29433 PyObject
* obj0
= 0 ;
29434 PyObject
* obj1
= 0 ;
29435 PyObject
* obj2
= 0 ;
29436 PyObject
* obj3
= 0 ;
29437 PyObject
* obj4
= 0 ;
29438 PyObject
* obj5
= 0 ;
29439 char *kwnames
[] = {
29440 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29446 arg2
= (int) SWIG_AsInt(obj1
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29448 arg3
= (int) SWIG_AsInt(obj2
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29450 arg4
= (int) SWIG_AsInt(obj3
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29452 arg5
= (int) SWIG_AsInt(obj4
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29455 arg6
= (int) SWIG_AsInt(obj5
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29465 Py_INCREF(Py_None
); resultobj
= Py_None
;
29472 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
;
29474 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29477 PyObject
* obj0
= 0 ;
29478 PyObject
* obj1
= 0 ;
29479 PyObject
* obj2
= 0 ;
29480 char *kwnames
[] = {
29481 (char *) "self",(char *) "width",(char *) "height", NULL
29484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29487 arg2
= (int) SWIG_AsInt(obj1
);
29488 if (PyErr_Occurred()) SWIG_fail
;
29489 arg3
= (int) SWIG_AsInt(obj2
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29493 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29495 wxPyEndAllowThreads(__tstate
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29498 Py_INCREF(Py_None
); resultobj
= Py_None
;
29505 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29506 PyObject
*resultobj
;
29507 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29510 PyObject
* obj0
= 0 ;
29511 PyObject
* obj1
= 0 ;
29512 PyObject
* obj2
= 0 ;
29513 char *kwnames
[] = {
29514 (char *) "self",(char *) "x",(char *) "y", NULL
29517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29520 arg2
= (int) SWIG_AsInt(obj1
);
29521 if (PyErr_Occurred()) SWIG_fail
;
29522 arg3
= (int) SWIG_AsInt(obj2
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29526 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29531 Py_INCREF(Py_None
); resultobj
= Py_None
;
29538 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29539 PyObject
*resultobj
;
29540 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29541 int *arg2
= (int *) 0 ;
29542 int *arg3
= (int *) 0 ;
29545 PyObject
* obj0
= 0 ;
29546 char *kwnames
[] = {
29547 (char *) "self", NULL
29552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29557 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29559 wxPyEndAllowThreads(__tstate
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29562 Py_INCREF(Py_None
); resultobj
= Py_None
;
29564 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29565 resultobj
= t_output_helper(resultobj
,o
);
29568 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29569 resultobj
= t_output_helper(resultobj
,o
);
29577 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
;
29579 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29580 int *arg2
= (int *) 0 ;
29581 int *arg3
= (int *) 0 ;
29584 PyObject
* obj0
= 0 ;
29585 char *kwnames
[] = {
29586 (char *) "self", NULL
29591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29601 Py_INCREF(Py_None
); resultobj
= Py_None
;
29603 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29604 resultobj
= t_output_helper(resultobj
,o
);
29607 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29608 resultobj
= t_output_helper(resultobj
,o
);
29616 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29617 PyObject
*resultobj
;
29618 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29619 int *arg2
= (int *) 0 ;
29620 int *arg3
= (int *) 0 ;
29623 PyObject
* obj0
= 0 ;
29624 char *kwnames
[] = {
29625 (char *) "self", NULL
29630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29635 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29640 Py_INCREF(Py_None
); resultobj
= Py_None
;
29642 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29643 resultobj
= t_output_helper(resultobj
,o
);
29646 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29647 resultobj
= t_output_helper(resultobj
,o
);
29655 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29656 PyObject
*resultobj
;
29657 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29659 PyObject
* obj0
= 0 ;
29660 char *kwnames
[] = {
29661 (char *) "self", NULL
29664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29675 wxSize
* resultptr
;
29676 resultptr
= new wxSize((wxSize
&) result
);
29677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29685 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29686 PyObject
*resultobj
;
29687 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29689 PyObject
* obj0
= 0 ;
29690 char *kwnames
[] = {
29691 (char *) "self", NULL
29694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29705 wxSize
* resultptr
;
29706 resultptr
= new wxSize((wxSize
&) result
);
29707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29715 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29716 PyObject
*resultobj
;
29717 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29718 PyObject
* obj0
= 0 ;
29719 char *kwnames
[] = {
29720 (char *) "self", NULL
29723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 (arg1
)->base_InitDialog();
29730 wxPyEndAllowThreads(__tstate
);
29731 if (PyErr_Occurred()) SWIG_fail
;
29733 Py_INCREF(Py_None
); resultobj
= Py_None
;
29740 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29741 PyObject
*resultobj
;
29742 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29744 PyObject
* obj0
= 0 ;
29745 char *kwnames
[] = {
29746 (char *) "self", NULL
29749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29754 result
= (bool)(arg1
)->base_TransferDataToWindow();
29756 wxPyEndAllowThreads(__tstate
);
29757 if (PyErr_Occurred()) SWIG_fail
;
29760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29768 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29769 PyObject
*resultobj
;
29770 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29772 PyObject
* obj0
= 0 ;
29773 char *kwnames
[] = {
29774 (char *) "self", NULL
29777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29796 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29797 PyObject
*resultobj
;
29798 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29800 PyObject
* obj0
= 0 ;
29801 char *kwnames
[] = {
29802 (char *) "self", NULL
29805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 result
= (bool)(arg1
)->base_Validate();
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29824 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29825 PyObject
*resultobj
;
29826 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29828 PyObject
* obj0
= 0 ;
29829 char *kwnames
[] = {
29830 (char *) "self", NULL
29833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29838 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29840 wxPyEndAllowThreads(__tstate
);
29841 if (PyErr_Occurred()) SWIG_fail
;
29844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29852 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29853 PyObject
*resultobj
;
29854 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29856 PyObject
* obj0
= 0 ;
29857 char *kwnames
[] = {
29858 (char *) "self", NULL
29861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29866 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29868 wxPyEndAllowThreads(__tstate
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29880 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29881 PyObject
*resultobj
;
29882 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29884 PyObject
* obj0
= 0 ;
29885 char *kwnames
[] = {
29886 (char *) "self", NULL
29889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29900 wxSize
* resultptr
;
29901 resultptr
= new wxSize((wxSize
&) result
);
29902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29910 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29911 PyObject
*resultobj
;
29912 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29913 wxWindow
*arg2
= (wxWindow
*) 0 ;
29914 PyObject
* obj0
= 0 ;
29915 PyObject
* obj1
= 0 ;
29916 char *kwnames
[] = {
29917 (char *) "self",(char *) "child", NULL
29920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 (arg1
)->base_AddChild(arg2
);
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 Py_INCREF(Py_None
); resultobj
= Py_None
;
29939 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
;
29941 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29942 wxWindow
*arg2
= (wxWindow
*) 0 ;
29943 PyObject
* obj0
= 0 ;
29944 PyObject
* obj1
= 0 ;
29945 char *kwnames
[] = {
29946 (char *) "self",(char *) "child", NULL
29949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 (arg1
)->base_RemoveChild(arg2
);
29958 wxPyEndAllowThreads(__tstate
);
29959 if (PyErr_Occurred()) SWIG_fail
;
29961 Py_INCREF(Py_None
); resultobj
= Py_None
;
29968 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29969 PyObject
*resultobj
;
29970 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29972 PyObject
* obj0
= 0 ;
29973 char *kwnames
[] = {
29974 (char *) "self", NULL
29977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29984 wxPyEndAllowThreads(__tstate
);
29985 if (PyErr_Occurred()) SWIG_fail
;
29988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29996 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29997 PyObject
*resultobj
;
29998 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29999 wxColour
*arg2
= 0 ;
30001 PyObject
* obj0
= 0 ;
30002 PyObject
* obj1
= 0 ;
30003 char *kwnames
[] = {
30004 (char *) "self",(char *) "c", NULL
30007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30012 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30016 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30021 Py_INCREF(Py_None
); resultobj
= Py_None
;
30028 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
;
30030 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30031 wxVisualAttributes result
;
30032 PyObject
* obj0
= 0 ;
30033 char *kwnames
[] = {
30034 (char *) "self", NULL
30037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 result
= (arg1
)->base_GetDefaultAttributes();
30044 wxPyEndAllowThreads(__tstate
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30048 wxVisualAttributes
* resultptr
;
30049 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30058 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
30060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30061 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30063 return Py_BuildValue((char *)"");
30065 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30066 PyObject
*resultobj
;
30067 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30068 int arg2
= (int) 0 ;
30069 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30070 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30071 wxHelpEvent
*result
;
30073 PyObject
* obj0
= 0 ;
30074 PyObject
* obj1
= 0 ;
30075 PyObject
* obj2
= 0 ;
30076 char *kwnames
[] = {
30077 (char *) "type",(char *) "winid",(char *) "pt", NULL
30080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30082 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
30083 if (PyErr_Occurred()) SWIG_fail
;
30086 arg2
= (int) SWIG_AsInt(obj1
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30092 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30109 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
;
30111 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30113 PyObject
* obj0
= 0 ;
30114 char *kwnames
[] = {
30115 (char *) "self", NULL
30118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30129 wxPoint
* resultptr
;
30130 resultptr
= new wxPoint((wxPoint
&) result
);
30131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30139 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30142 wxPoint
*arg2
= 0 ;
30144 PyObject
* obj0
= 0 ;
30145 PyObject
* obj1
= 0 ;
30146 char *kwnames
[] = {
30147 (char *) "self",(char *) "pos", NULL
30150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30159 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30161 wxPyEndAllowThreads(__tstate
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30164 Py_INCREF(Py_None
); resultobj
= Py_None
;
30171 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30172 PyObject
*resultobj
;
30173 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30175 PyObject
* obj0
= 0 ;
30176 char *kwnames
[] = {
30177 (char *) "self", NULL
30180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30186 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30187 result
= (wxString
*) &_result_ref
;
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30195 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30197 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30206 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30207 PyObject
*resultobj
;
30208 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30209 wxString
*arg2
= 0 ;
30210 bool temp2
= False
;
30211 PyObject
* obj0
= 0 ;
30212 PyObject
* obj1
= 0 ;
30213 char *kwnames
[] = {
30214 (char *) "self",(char *) "link", NULL
30217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30221 arg2
= wxString_in_helper(obj1
);
30222 if (arg2
== NULL
) SWIG_fail
;
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30227 (arg1
)->SetLink((wxString
const &)*arg2
);
30229 wxPyEndAllowThreads(__tstate
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30232 Py_INCREF(Py_None
); resultobj
= Py_None
;
30247 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30248 PyObject
*resultobj
;
30249 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30251 PyObject
* obj0
= 0 ;
30252 char *kwnames
[] = {
30253 (char *) "self", NULL
30256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30262 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30263 result
= (wxString
*) &_result_ref
;
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30271 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30273 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30282 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30283 PyObject
*resultobj
;
30284 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30285 wxString
*arg2
= 0 ;
30286 bool temp2
= False
;
30287 PyObject
* obj0
= 0 ;
30288 PyObject
* obj1
= 0 ;
30289 char *kwnames
[] = {
30290 (char *) "self",(char *) "target", NULL
30293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30297 arg2
= wxString_in_helper(obj1
);
30298 if (arg2
== NULL
) SWIG_fail
;
30302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30303 (arg1
)->SetTarget((wxString
const &)*arg2
);
30305 wxPyEndAllowThreads(__tstate
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 Py_INCREF(Py_None
); resultobj
= Py_None
;
30323 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30326 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30328 return Py_BuildValue((char *)"");
30330 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
;
30332 wxWindow
*arg1
= (wxWindow
*) NULL
;
30333 bool arg2
= (bool) True
;
30334 wxContextHelp
*result
;
30335 PyObject
* obj0
= 0 ;
30336 PyObject
* obj1
= 0 ;
30337 char *kwnames
[] = {
30338 (char *) "window",(char *) "doNow", NULL
30341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30347 arg2
= (bool) SWIG_AsBool(obj1
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30351 if (!wxPyCheckForApp()) SWIG_fail
;
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30365 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
;
30367 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30368 PyObject
* obj0
= 0 ;
30369 char *kwnames
[] = {
30370 (char *) "self", NULL
30373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30383 Py_INCREF(Py_None
); resultobj
= Py_None
;
30390 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
;
30392 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30393 wxWindow
*arg2
= (wxWindow
*) NULL
;
30395 PyObject
* obj0
= 0 ;
30396 PyObject
* obj1
= 0 ;
30397 char *kwnames
[] = {
30398 (char *) "self",(char *) "window", NULL
30401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30424 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30425 PyObject
*resultobj
;
30426 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30428 PyObject
* obj0
= 0 ;
30429 char *kwnames
[] = {
30430 (char *) "self", NULL
30433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30438 result
= (bool)(arg1
)->EndContextHelp();
30440 wxPyEndAllowThreads(__tstate
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30452 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30455 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30457 return Py_BuildValue((char *)"");
30459 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30460 PyObject
*resultobj
;
30461 wxWindow
*arg1
= (wxWindow
*) 0 ;
30462 int arg2
= (int) wxID_CONTEXT_HELP
;
30463 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30464 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30465 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30466 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30467 long arg5
= (long) wxBU_AUTODRAW
;
30468 wxContextHelpButton
*result
;
30471 PyObject
* obj0
= 0 ;
30472 PyObject
* obj1
= 0 ;
30473 PyObject
* obj2
= 0 ;
30474 PyObject
* obj3
= 0 ;
30475 PyObject
* obj4
= 0 ;
30476 char *kwnames
[] = {
30477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30484 arg2
= (int) SWIG_AsInt(obj1
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30496 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30500 arg5
= (long) SWIG_AsLong(obj4
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30504 if (!wxPyCheckForApp()) SWIG_fail
;
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30506 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30518 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30521 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30523 return Py_BuildValue((char *)"");
30525 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
;
30527 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30528 wxHelpProvider
*result
;
30529 PyObject
* obj0
= 0 ;
30530 char *kwnames
[] = {
30531 (char *) "helpProvider", NULL
30534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30539 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30551 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30552 PyObject
*resultobj
;
30553 wxHelpProvider
*result
;
30554 char *kwnames
[] = {
30558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30561 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30563 wxPyEndAllowThreads(__tstate
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30573 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30574 PyObject
*resultobj
;
30575 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30576 wxWindow
*arg2
= (wxWindow
*) 0 ;
30578 PyObject
* obj0
= 0 ;
30579 PyObject
* obj1
= 0 ;
30580 char *kwnames
[] = {
30581 (char *) "self",(char *) "window", NULL
30584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30609 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30610 PyObject
*resultobj
;
30611 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30612 wxWindow
*arg2
= (wxWindow
*) 0 ;
30614 PyObject
* obj0
= 0 ;
30615 PyObject
* obj1
= 0 ;
30616 char *kwnames
[] = {
30617 (char *) "self",(char *) "window", NULL
30620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30627 result
= (bool)(arg1
)->ShowHelp(arg2
);
30629 wxPyEndAllowThreads(__tstate
);
30630 if (PyErr_Occurred()) SWIG_fail
;
30633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30641 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30642 PyObject
*resultobj
;
30643 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30644 wxWindow
*arg2
= (wxWindow
*) 0 ;
30645 wxString
*arg3
= 0 ;
30646 bool temp3
= False
;
30647 PyObject
* obj0
= 0 ;
30648 PyObject
* obj1
= 0 ;
30649 PyObject
* obj2
= 0 ;
30650 char *kwnames
[] = {
30651 (char *) "self",(char *) "window",(char *) "text", NULL
30654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30660 arg3
= wxString_in_helper(obj2
);
30661 if (arg3
== NULL
) SWIG_fail
;
30665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30666 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30668 wxPyEndAllowThreads(__tstate
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30671 Py_INCREF(Py_None
); resultobj
= Py_None
;
30686 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30687 PyObject
*resultobj
;
30688 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30690 wxString
*arg3
= 0 ;
30691 bool temp3
= False
;
30692 PyObject
* obj0
= 0 ;
30693 PyObject
* obj1
= 0 ;
30694 PyObject
* obj2
= 0 ;
30695 char *kwnames
[] = {
30696 (char *) "self",(char *) "id",(char *) "text", NULL
30699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30702 arg2
= (int) SWIG_AsInt(obj1
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30705 arg3
= wxString_in_helper(obj2
);
30706 if (arg3
== NULL
) SWIG_fail
;
30710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30711 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 Py_INCREF(Py_None
); resultobj
= Py_None
;
30731 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30732 PyObject
*resultobj
;
30733 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30734 wxWindow
*arg2
= (wxWindow
*) 0 ;
30735 PyObject
* obj0
= 0 ;
30736 PyObject
* obj1
= 0 ;
30737 char *kwnames
[] = {
30738 (char *) "self",(char *) "window", NULL
30741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30748 (arg1
)->RemoveHelp(arg2
);
30750 wxPyEndAllowThreads(__tstate
);
30751 if (PyErr_Occurred()) SWIG_fail
;
30753 Py_INCREF(Py_None
); resultobj
= Py_None
;
30760 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
;
30762 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30763 PyObject
* obj0
= 0 ;
30764 char *kwnames
[] = {
30765 (char *) "self", NULL
30768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30773 wxHelpProvider_Destroy(arg1
);
30775 wxPyEndAllowThreads(__tstate
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30778 Py_INCREF(Py_None
); resultobj
= Py_None
;
30785 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30788 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30790 return Py_BuildValue((char *)"");
30792 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30793 PyObject
*resultobj
;
30794 wxSimpleHelpProvider
*result
;
30795 char *kwnames
[] = {
30799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30804 wxPyEndAllowThreads(__tstate
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30814 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30817 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30819 return Py_BuildValue((char *)"");
30821 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30822 PyObject
*resultobj
;
30823 wxBitmap
*arg1
= 0 ;
30824 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30825 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30826 wxGenericDragImage
*result
;
30827 PyObject
* obj0
= 0 ;
30828 PyObject
* obj1
= 0 ;
30829 char *kwnames
[] = {
30830 (char *) "image",(char *) "cursor", NULL
30833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30837 if (arg1
== NULL
) {
30838 PyErr_SetString(PyExc_TypeError
,"null reference");
30842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30845 if (arg2
== NULL
) {
30846 PyErr_SetString(PyExc_TypeError
,"null reference");
30851 if (!wxPyCheckForApp()) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30865 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30866 PyObject
*resultobj
;
30868 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30869 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30870 wxGenericDragImage
*result
;
30871 PyObject
* obj0
= 0 ;
30872 PyObject
* obj1
= 0 ;
30873 char *kwnames
[] = {
30874 (char *) "image",(char *) "cursor", NULL
30877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30881 if (arg1
== NULL
) {
30882 PyErr_SetString(PyExc_TypeError
,"null reference");
30886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30889 if (arg2
== NULL
) {
30890 PyErr_SetString(PyExc_TypeError
,"null reference");
30895 if (!wxPyCheckForApp()) SWIG_fail
;
30896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30897 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30899 wxPyEndAllowThreads(__tstate
);
30900 if (PyErr_Occurred()) SWIG_fail
;
30902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30909 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30910 PyObject
*resultobj
;
30911 wxString
*arg1
= 0 ;
30912 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30913 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30914 wxGenericDragImage
*result
;
30915 bool temp1
= False
;
30916 PyObject
* obj0
= 0 ;
30917 PyObject
* obj1
= 0 ;
30918 char *kwnames
[] = {
30919 (char *) "str",(char *) "cursor", NULL
30922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30924 arg1
= wxString_in_helper(obj0
);
30925 if (arg1
== NULL
) SWIG_fail
;
30929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30932 if (arg2
== NULL
) {
30933 PyErr_SetString(PyExc_TypeError
,"null reference");
30938 if (!wxPyCheckForApp()) SWIG_fail
;
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30942 wxPyEndAllowThreads(__tstate
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30960 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30961 PyObject
*resultobj
;
30962 wxPyTreeCtrl
*arg1
= 0 ;
30963 wxTreeItemId
*arg2
= 0 ;
30964 wxGenericDragImage
*result
;
30965 PyObject
* obj0
= 0 ;
30966 PyObject
* obj1
= 0 ;
30967 char *kwnames
[] = {
30968 (char *) "treeCtrl",(char *) "id", NULL
30971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30975 if (arg1
== NULL
) {
30976 PyErr_SetString(PyExc_TypeError
,"null reference");
30979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30982 if (arg2
== NULL
) {
30983 PyErr_SetString(PyExc_TypeError
,"null reference");
30987 if (!wxPyCheckForApp()) SWIG_fail
;
30988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30989 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30991 wxPyEndAllowThreads(__tstate
);
30992 if (PyErr_Occurred()) SWIG_fail
;
30994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31001 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31002 PyObject
*resultobj
;
31003 wxPyListCtrl
*arg1
= 0 ;
31005 wxGenericDragImage
*result
;
31006 PyObject
* obj0
= 0 ;
31007 PyObject
* obj1
= 0 ;
31008 char *kwnames
[] = {
31009 (char *) "listCtrl",(char *) "id", NULL
31012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31016 if (arg1
== NULL
) {
31017 PyErr_SetString(PyExc_TypeError
,"null reference");
31020 arg2
= (long) SWIG_AsLong(obj1
);
31021 if (PyErr_Occurred()) SWIG_fail
;
31023 if (!wxPyCheckForApp()) SWIG_fail
;
31024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31025 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31027 wxPyEndAllowThreads(__tstate
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31037 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31038 PyObject
*resultobj
;
31039 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31040 PyObject
* obj0
= 0 ;
31041 char *kwnames
[] = {
31042 (char *) "self", NULL
31045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31052 wxPyEndAllowThreads(__tstate
);
31053 if (PyErr_Occurred()) SWIG_fail
;
31055 Py_INCREF(Py_None
); resultobj
= Py_None
;
31062 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31063 PyObject
*resultobj
;
31064 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31065 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 char *kwnames
[] = {
31069 (char *) "self",(char *) "bitmap", NULL
31072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31079 (arg1
)->SetBackingBitmap(arg2
);
31081 wxPyEndAllowThreads(__tstate
);
31082 if (PyErr_Occurred()) SWIG_fail
;
31084 Py_INCREF(Py_None
); resultobj
= Py_None
;
31091 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31092 PyObject
*resultobj
;
31093 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31094 wxPoint
*arg2
= 0 ;
31095 wxWindow
*arg3
= (wxWindow
*) 0 ;
31096 bool arg4
= (bool) False
;
31097 wxRect
*arg5
= (wxRect
*) NULL
;
31100 PyObject
* obj0
= 0 ;
31101 PyObject
* obj1
= 0 ;
31102 PyObject
* obj2
= 0 ;
31103 PyObject
* obj3
= 0 ;
31104 PyObject
* obj4
= 0 ;
31105 char *kwnames
[] = {
31106 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31116 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31119 arg4
= (bool) SWIG_AsBool(obj3
);
31120 if (PyErr_Occurred()) SWIG_fail
;
31123 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31142 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31143 PyObject
*resultobj
;
31144 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31145 wxPoint
*arg2
= 0 ;
31146 wxWindow
*arg3
= (wxWindow
*) 0 ;
31147 wxWindow
*arg4
= (wxWindow
*) 0 ;
31150 PyObject
* obj0
= 0 ;
31151 PyObject
* obj1
= 0 ;
31152 PyObject
* obj2
= 0 ;
31153 PyObject
* obj3
= 0 ;
31154 char *kwnames
[] = {
31155 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31165 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31167 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31173 wxPyEndAllowThreads(__tstate
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31185 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
;
31187 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31189 PyObject
* obj0
= 0 ;
31190 char *kwnames
[] = {
31191 (char *) "self", NULL
31194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 result
= (bool)(arg1
)->EndDrag();
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31213 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
;
31215 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31216 wxPoint
*arg2
= 0 ;
31219 PyObject
* obj0
= 0 ;
31220 PyObject
* obj1
= 0 ;
31221 char *kwnames
[] = {
31222 (char *) "self",(char *) "pt", NULL
31225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31230 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31234 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31248 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31249 PyObject
*resultobj
;
31250 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31252 PyObject
* obj0
= 0 ;
31253 char *kwnames
[] = {
31254 (char *) "self", NULL
31257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31262 result
= (bool)(arg1
)->Show();
31264 wxPyEndAllowThreads(__tstate
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31276 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31277 PyObject
*resultobj
;
31278 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31280 PyObject
* obj0
= 0 ;
31281 char *kwnames
[] = {
31282 (char *) "self", NULL
31285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31290 result
= (bool)(arg1
)->Hide();
31292 wxPyEndAllowThreads(__tstate
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31304 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31305 PyObject
*resultobj
;
31306 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31307 wxPoint
*arg2
= 0 ;
31310 PyObject
* obj0
= 0 ;
31311 PyObject
* obj1
= 0 ;
31312 char *kwnames
[] = {
31313 (char *) "self",(char *) "pos", NULL
31316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31321 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31331 wxRect
* resultptr
;
31332 resultptr
= new wxRect((wxRect
&) result
);
31333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31341 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31342 PyObject
*resultobj
;
31343 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31345 wxPoint
*arg3
= 0 ;
31348 PyObject
* obj0
= 0 ;
31349 PyObject
* obj1
= 0 ;
31350 PyObject
* obj2
= 0 ;
31351 char *kwnames
[] = {
31352 (char *) "self",(char *) "dc",(char *) "pos", NULL
31355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31361 if (arg2
== NULL
) {
31362 PyErr_SetString(PyExc_TypeError
,"null reference");
31367 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31373 wxPyEndAllowThreads(__tstate
);
31374 if (PyErr_Occurred()) SWIG_fail
;
31377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31385 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31386 PyObject
*resultobj
;
31387 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31389 wxMemoryDC
*arg3
= 0 ;
31395 PyObject
* obj0
= 0 ;
31396 PyObject
* obj1
= 0 ;
31397 PyObject
* obj2
= 0 ;
31398 PyObject
* obj3
= 0 ;
31399 PyObject
* obj4
= 0 ;
31400 char *kwnames
[] = {
31401 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31410 if (arg2
== NULL
) {
31411 PyErr_SetString(PyExc_TypeError
,"null reference");
31414 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31417 if (arg3
== NULL
) {
31418 PyErr_SetString(PyExc_TypeError
,"null reference");
31423 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31427 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31433 wxPyEndAllowThreads(__tstate
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31445 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
;
31447 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31448 wxPoint
*arg2
= 0 ;
31449 wxPoint
*arg3
= 0 ;
31455 PyObject
* obj0
= 0 ;
31456 PyObject
* obj1
= 0 ;
31457 PyObject
* obj2
= 0 ;
31458 PyObject
* obj3
= 0 ;
31459 PyObject
* obj4
= 0 ;
31460 char *kwnames
[] = {
31461 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31469 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31473 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31475 arg4
= (bool) SWIG_AsBool(obj3
);
31476 if (PyErr_Occurred()) SWIG_fail
;
31477 arg5
= (bool) SWIG_AsBool(obj4
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31481 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31483 wxPyEndAllowThreads(__tstate
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31495 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31498 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31500 return Py_BuildValue((char *)"");
31502 static PyMethodDef SwigMethods
[] = {
31503 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31510 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31525 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31537 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31545 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31566 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31580 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31585 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31592 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31597 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31605 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31628 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31637 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31668 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31726 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31731 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31743 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31756 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31768 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31772 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31790 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31797 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31823 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31831 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31852 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31858 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31869 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31871 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31876 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31878 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31883 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31888 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31918 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31963 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31967 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31969 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31981 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31995 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
32000 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
32004 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
32006 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
32007 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32008 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32010 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32011 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
32013 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
32017 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
32018 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
32019 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
32022 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
32023 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
32024 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
32025 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
32026 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
32027 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
32028 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
32029 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
32030 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
32031 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
32032 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
32033 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
32034 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
32035 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
32036 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
32037 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
32038 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
32039 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
32040 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
32041 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
32042 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
32043 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
32044 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
32045 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
32046 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
32047 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
32048 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
32049 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
32050 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
32051 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
32052 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
32053 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
32054 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
32055 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
32056 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
32057 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
32058 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
32059 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
32060 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32061 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32062 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32063 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32064 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32065 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32066 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
32067 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
32068 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
32069 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
32070 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
32071 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
32072 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
32073 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
32074 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
32075 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
32076 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
32077 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
32078 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
32079 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
32080 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
32081 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
32082 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
32083 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
32084 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
32085 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
32086 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
32087 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
32088 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32089 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
32090 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32091 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32092 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
32093 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
32094 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
32095 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
32096 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32097 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32098 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
32099 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
32100 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
32101 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
32102 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
32103 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
32104 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
32105 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
32106 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
32107 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
32108 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
32109 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32110 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32111 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
32112 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
32113 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
32114 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
32115 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32116 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
32117 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
32118 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
32119 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
32120 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
32121 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
32122 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
32123 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
32124 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32125 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32126 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32127 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32128 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
32129 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
32130 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32131 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
32132 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
32133 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
32134 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
32135 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
32136 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
32137 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
32138 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
32139 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
32140 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
32141 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
32142 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
32143 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
32144 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
32145 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
32146 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
32147 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
32148 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
32149 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
32150 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
32151 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
32152 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
32153 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
32154 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
32155 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
32156 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
32157 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32158 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
32159 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
32160 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
32161 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
32162 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
32163 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
32164 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
32165 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
32166 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
32167 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
32168 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
32169 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
32170 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
32171 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
32172 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
32173 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
32174 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
32175 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32176 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32177 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32178 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32179 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
32180 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
32181 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
32182 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32183 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32184 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32185 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
32186 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32187 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
32188 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
32189 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
32190 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
32191 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
32192 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
32193 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
32194 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32195 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32196 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
32197 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
32198 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
32199 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
32200 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
32201 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
32202 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
32203 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32204 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32205 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32206 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
32207 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
32208 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
32209 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
32210 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
32211 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
32212 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
32213 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
32214 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
32215 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
32216 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
32217 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
32218 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
32219 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
32220 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
32221 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
32222 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
32223 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
32224 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
32225 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
32226 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
32227 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
32228 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
32229 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
32230 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
32231 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
32232 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
32233 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
32234 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
32235 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
32236 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
32237 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
32238 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
32239 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
32240 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
32241 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
32242 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
32243 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
32244 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32245 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
32246 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32247 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
32248 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32249 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
32250 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
},
32251 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
},
32252 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32253 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
32254 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32255 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32256 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32257 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
32258 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32259 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32260 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
32261 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
32262 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
32263 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32264 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32265 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32266 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32267 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32268 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32269 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
32270 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32271 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32272 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
32273 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
32274 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
32275 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
32276 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32277 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32278 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32279 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
32280 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
32281 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
32282 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
32283 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32284 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32285 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
32286 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
32287 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32288 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32289 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
32290 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32291 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32292 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32293 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32294 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
32295 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
32296 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32297 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
32298 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
32299 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
32300 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
32301 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
32302 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
32303 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
32304 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
32305 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32306 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
32307 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
32308 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32309 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32310 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
32311 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
32312 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32313 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32314 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
32315 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32316 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32317 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32318 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32319 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
32320 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
32321 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
32322 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
32323 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
32324 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
32325 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
32326 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32327 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32328 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32329 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32330 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32331 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32332 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32333 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32334 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32335 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32336 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32337 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32338 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32339 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32340 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32341 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32342 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32343 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32344 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32345 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32346 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32347 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32348 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32349 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32350 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32355 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32357 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32358 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32360 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32361 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32363 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32364 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32366 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32367 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32369 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32370 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32372 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32373 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32375 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32376 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32378 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32379 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32381 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32382 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32384 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32385 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32387 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32390 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32391 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32393 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32394 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32396 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32397 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32399 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32400 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32402 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32403 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32405 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32406 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32408 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32409 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32411 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32412 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32414 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32415 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32417 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32418 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32420 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32421 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32423 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32424 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32426 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32427 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32429 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32430 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32432 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32433 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32435 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32436 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32438 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32439 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32441 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32442 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32444 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32445 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32447 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32448 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32450 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32451 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32453 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32454 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32456 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32457 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32459 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32460 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32462 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32463 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32465 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32466 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32468 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32469 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32471 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32472 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32474 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32475 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32477 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32478 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32480 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32481 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32483 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32484 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32486 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32487 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32489 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32490 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32492 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32493 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32495 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32496 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32498 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32499 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32501 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32502 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32504 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32505 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32507 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32508 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32510 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32511 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32513 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32514 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32516 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32517 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32519 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32520 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32522 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32523 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32525 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32526 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32528 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32529 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32531 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32532 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32534 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32535 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32537 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32538 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32540 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32541 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32543 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32544 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32546 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32547 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32549 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32550 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32552 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32553 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32555 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32556 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32558 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32559 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32561 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32562 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32564 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32565 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32567 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32568 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32570 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32571 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32573 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32574 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32576 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32577 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32579 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32580 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32582 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32583 return (void *)((wxControl
*) ((wxGauge
*) x
));
32585 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32586 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32588 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32589 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32591 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32592 return (void *)((wxControl
*) ((wxButton
*) x
));
32594 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32595 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32597 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32598 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32600 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32601 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32603 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32604 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32606 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32607 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32609 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32610 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32612 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32613 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32615 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32616 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32618 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32619 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32621 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32622 return (void *)((wxControl
*) ((wxSlider
*) x
));
32624 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32625 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32627 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32628 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32630 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32631 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32633 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32634 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32636 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32637 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32639 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
32640 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
32642 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32643 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32645 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32646 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32648 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32649 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32651 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32652 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32654 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32655 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32657 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32658 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32660 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32661 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32663 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32664 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32666 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32667 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32669 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32670 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32672 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32673 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32675 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32678 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32679 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32681 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32682 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32684 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32687 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32688 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32690 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32691 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32693 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32696 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32699 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32700 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32702 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32705 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32708 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32709 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32711 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32714 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32717 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32720 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32723 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32724 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32726 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32729 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32732 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32735 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32738 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32741 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32742 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32744 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32745 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32747 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32750 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32751 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32753 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32756 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32759 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32760 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32762 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32765 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32766 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32768 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32771 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32774 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32777 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32780 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32783 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32784 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32786 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32787 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32789 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32790 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32792 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32793 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32795 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32796 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32798 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32799 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32801 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32802 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32804 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32805 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32807 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32808 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32810 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32811 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32813 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32814 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32816 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32817 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32819 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32822 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32825 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32826 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32828 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32829 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32831 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32832 return (void *)((wxObject
*) ((wxSizer
*) x
));
32834 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32835 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32837 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32840 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32843 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32846 static void *_p_wxEventTo_p_wxObject(void *x
) {
32847 return (void *)((wxObject
*) ((wxEvent
*) x
));
32849 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32850 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32852 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32853 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32855 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32856 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32858 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32861 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32864 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32867 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32868 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32870 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32871 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32873 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32874 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32876 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32877 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32879 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32880 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32882 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32883 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32885 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32888 static void *_p_wxControlTo_p_wxObject(void *x
) {
32889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32891 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32894 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32897 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32900 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32903 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32906 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32907 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32909 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32912 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32913 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32915 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32916 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32918 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32921 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32924 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32927 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32928 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32930 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32931 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32933 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32936 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32937 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32939 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32942 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32945 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32946 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32948 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32949 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32951 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32952 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32954 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32955 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32957 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32958 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32960 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32961 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32963 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32964 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32966 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32967 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32969 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32970 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32972 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32975 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32976 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32978 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32979 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32981 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32982 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32984 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32985 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32987 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32988 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32990 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32991 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32993 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32994 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32996 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32997 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32999 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33000 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33002 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33003 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33005 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33006 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33008 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33009 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33011 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33012 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33014 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33015 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33017 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33018 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33020 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33023 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33026 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
33027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
33029 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33032 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33035 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33038 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33041 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33042 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33044 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33047 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33050 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33053 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33054 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33056 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33057 return (void *)((wxObject
*) ((wxListItem
*) x
));
33059 static void *_p_wxImageTo_p_wxObject(void *x
) {
33060 return (void *)((wxObject
*) ((wxImage
*) x
));
33062 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33063 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33065 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33066 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33068 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33069 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33071 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33072 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33074 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33077 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33080 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33083 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33084 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33086 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33087 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33089 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33090 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33092 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33093 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33095 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33096 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33098 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33101 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33102 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33104 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33105 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33107 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33108 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33110 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33111 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33113 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33114 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33116 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33117 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33119 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33120 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33122 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33125 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33126 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33128 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33129 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33131 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33132 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33134 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33135 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33137 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33138 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33140 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33141 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33143 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33146 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33147 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33149 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33152 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33155 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33156 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33158 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33159 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33161 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33162 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33164 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33165 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33167 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33168 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33170 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33171 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33173 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33174 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33176 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33177 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33179 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33180 return (void *)((wxWindow
*) ((wxControl
*) x
));
33182 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33183 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33185 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33186 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33188 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33189 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33191 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33192 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33194 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33195 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33197 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33198 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33200 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33201 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33203 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33204 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33206 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33207 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33209 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33210 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33212 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33213 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33215 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33216 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33218 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33219 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33221 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33222 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33224 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33225 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33227 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33228 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33230 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33231 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33233 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33234 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33236 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33237 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33239 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33240 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33242 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33243 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33245 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33246 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33248 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33249 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33251 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33252 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33254 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33255 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33257 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33258 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33260 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33261 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33263 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33264 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33266 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33267 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33269 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33270 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33272 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33273 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33275 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33276 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33278 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33279 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33281 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33282 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33284 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33285 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33287 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33288 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33290 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33291 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33293 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33294 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33296 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33297 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33299 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33300 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33302 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33303 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33305 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33306 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33308 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33309 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33311 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33312 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33314 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
33315 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
33317 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33318 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33320 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33321 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33323 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33324 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33326 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33327 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33329 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33330 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33332 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}};
33333 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}};
33334 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}};
33335 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}};
33336 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}};
33337 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}};
33338 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}};
33339 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}};
33340 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}};
33341 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}};
33342 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}};
33343 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}};
33344 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}};
33345 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}};
33346 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}};
33347 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}};
33348 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}};
33349 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}};
33350 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}};
33351 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}};
33352 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33353 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}};
33354 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}};
33355 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}};
33356 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}};
33357 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}};
33358 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}};
33359 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}};
33360 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}};
33361 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}};
33362 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}};
33363 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}};
33364 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}};
33365 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}};
33366 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}};
33367 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}};
33368 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}};
33369 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}};
33370 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}};
33371 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}};
33372 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}};
33373 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}};
33374 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}};
33375 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}};
33376 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}};
33377 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}};
33378 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}};
33379 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}};
33380 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}};
33381 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}};
33382 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}};
33383 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}};
33384 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}};
33385 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}};
33386 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}};
33387 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}};
33388 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}};
33389 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}};
33390 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}};
33391 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}};
33392 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}};
33393 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}};
33394 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}};
33395 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}};
33396 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}};
33397 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}};
33398 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}};
33399 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}};
33400 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}};
33401 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}};
33402 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}};
33403 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}};
33404 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}};
33405 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}};
33406 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}};
33407 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}};
33408 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}};
33409 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}};
33410 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}};
33411 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33412 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}};
33413 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}};
33414 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}};
33415 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}};
33416 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}};
33418 static swig_type_info
*swig_types_initial
[] = {
33419 _swigt__p_wxTextUrlEvent
,
33420 _swigt__p_wxBookCtrlEvent
,
33422 _swigt__p_wxCheckBox
,
33423 _swigt__p_wxPyTreeCtrl
,
33425 _swigt__p_wxGenericDirCtrl
,
33427 _swigt__p_wxPyTreeItemData
,
33428 _swigt__p_wxItemContainer
,
33429 _swigt__p_wxPyListCtrl
,
33430 _swigt__p_wxDirFilterListCtrl
,
33431 _swigt__p_wxStaticLine
,
33432 _swigt__p_wxControl
,
33433 _swigt__p_wxPyControl
,
33435 _swigt__p_wxToolBarBase
,
33437 _swigt__p_wxToggleButton
,
33438 _swigt__p_wxRadioButton
,
33439 _swigt__p_wxChoice
,
33440 _swigt__p_wxMemoryDC
,
33441 _swigt__p_wxListItemAttr
,
33446 _swigt__p_wxListView
,
33448 _swigt__p_wxVisualAttributes
,
33449 _swigt__p_wxTextCtrl
,
33450 _swigt__p_wxNotebook
,
33451 _swigt__p_wxNotifyEvent
,
33452 _swigt__p_wxArrayString
,
33453 _swigt__p_wxListbook
,
33454 _swigt__p_wxStaticBitmap
,
33455 _swigt__p_wxSlider
,
33456 _swigt__p_wxStaticBox
,
33457 _swigt__p_wxArrayInt
,
33458 _swigt__p_wxContextHelp
,
33460 _swigt__p_wxEvtHandler
,
33461 _swigt__p_wxListEvent
,
33462 _swigt__p_wxCheckListBox
,
33463 _swigt__p_wxListBox
,
33464 _swigt__p_wxBookCtrl
,
33465 _swigt__p_wxSpinButton
,
33466 _swigt__p_wxButton
,
33467 _swigt__p_wxBitmapButton
,
33469 _swigt__p_wxContextHelpButton
,
33470 _swigt__p_wxRadioBox
,
33471 _swigt__p_wxScrollBar
,
33473 _swigt__p_wxTreeItemId
,
33474 _swigt__p_wxComboBox
,
33475 _swigt__p_wxHelpEvent
,
33476 _swigt__p_wxListItem
,
33477 _swigt__p_wxNotebookSizer
,
33478 _swigt__p_wxSpinEvent
,
33479 _swigt__p_wxGenericDragImage
,
33480 _swigt__p_wxSpinCtrl
,
33481 _swigt__p_wxImageList
,
33482 _swigt__p_wxHelpProvider
,
33483 _swigt__p_wxTextAttr
,
33484 _swigt__p_wxSimpleHelpProvider
,
33486 _swigt__p_wxListbookEvent
,
33487 _swigt__p_wxNotebookEvent
,
33488 _swigt__p_wxObject
,
33489 _swigt__p_wxCursor
,
33490 _swigt__p_wxKeyEvent
,
33491 _swigt__p_wxWindow
,
33492 _swigt__p_wxString
,
33493 _swigt__p_wxBitmap
,
33494 _swigt__p_wxTreeEvent
,
33495 _swigt__p_wxMouseEvent
,
33496 _swigt__p_wxCommandEvent
,
33497 _swigt__p_wxStaticText
,
33498 _swigt__p_wxControlWithItems
,
33499 _swigt__p_wxToolBarToolBase
,
33500 _swigt__p_wxColour
,
33501 _swigt__p_wxToolBar
,
33502 _swigt__p_wxBookCtrlSizer
,
33503 _swigt__p_wxValidator
,
33508 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33510 static swig_const_info swig_const_table
[] = {
33520 SWIGEXPORT(void) SWIG_init(void) {
33521 static PyObject
*SWIG_globals
= 0;
33522 static int typeinit
= 0;
33525 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33526 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33527 d
= PyModule_GetDict(m
);
33530 for (i
= 0; swig_types_initial
[i
]; i
++) {
33531 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33535 SWIG_InstallConstants(d
,swig_const_table
);
33537 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33538 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33539 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33540 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33541 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33542 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33543 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33544 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33545 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33546 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33547 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33548 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33549 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33550 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33551 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33552 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33553 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33554 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33555 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33556 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33557 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33558 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33559 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33560 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33561 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33562 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33563 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33564 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33565 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33566 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33567 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33568 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33569 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33570 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33571 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33572 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33573 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33574 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33575 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33576 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33577 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33578 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33579 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33580 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33581 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33582 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33583 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33584 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33585 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33586 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33587 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33588 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33589 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33590 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33591 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33592 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33593 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33594 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33595 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33596 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33597 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33598 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33599 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33600 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33601 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33602 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33603 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33604 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33605 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33606 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33607 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33608 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33609 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33610 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33611 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33612 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33613 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33614 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33615 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33616 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33617 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33618 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33619 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33620 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33621 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33622 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33623 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33624 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33625 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33626 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33627 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33628 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33629 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33630 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33631 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33632 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33633 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33634 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33635 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33636 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33637 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33638 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33639 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33640 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33641 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33642 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33643 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33644 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33645 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33646 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33647 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33648 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33649 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33650 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33651 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33652 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33653 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33654 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33655 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33656 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33657 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33658 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33659 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33660 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33661 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33662 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33663 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33664 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33665 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33666 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33667 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33668 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33669 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33670 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33671 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33672 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33673 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33674 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33675 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33676 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33677 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33678 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33679 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33680 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33681 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33682 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33683 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33684 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33685 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33686 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33687 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33688 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33689 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33690 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33691 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33692 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33693 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33694 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33695 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33696 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33697 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33698 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33699 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33700 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33701 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33702 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33703 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33704 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33705 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33706 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33707 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33708 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33709 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33710 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33711 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33712 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33713 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33714 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33715 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33716 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33717 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33718 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33719 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33720 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33721 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33722 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33723 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33724 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33725 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33726 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33727 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33728 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33729 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33730 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33731 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33732 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33733 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33734 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33735 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33736 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33737 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33738 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33739 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33740 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33741 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33742 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33743 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33744 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33745 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33746 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33747 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33749 // Map renamed classes back to their common name for OOR
33750 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33752 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33753 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33754 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33755 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33756 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33757 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33758 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33759 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33760 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33761 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33762 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33763 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33764 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33765 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33766 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33767 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33768 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33769 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33770 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33771 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33772 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33773 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33774 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33775 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33776 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33777 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33778 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33779 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33780 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33781 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33782 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33783 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33784 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33785 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33786 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33787 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33788 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33789 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33790 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33791 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33792 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33793 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33794 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33795 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33796 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33797 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33798 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33799 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33800 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33801 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33802 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33803 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33804 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33805 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33806 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33807 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33809 // Map renamed classes back to their common name for OOR
33810 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33811 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33813 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33814 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33815 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33816 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33817 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33818 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33819 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33820 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33821 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33822 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33824 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");