1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
304 #define SWIG_name "_controls_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyControlNameStr(wxControlNameStr
);
356 const wxArrayString wxPyEmptyStringArray
;
358 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
440 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
461 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
462 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
463 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
464 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
465 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
466 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
468 #include <wx/checklst.h>
471 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
472 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
474 wxPyClientData
* data
= new wxPyClientData(clientData
);
475 self
->Insert(item
, pos
, data
);
477 self
->Insert(item
, pos
);
479 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
481 self
->GetSelections(lst
);
482 PyObject
*tup
= PyTuple_New(lst
.GetCount());
483 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
484 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
488 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
490 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
491 self
->GetItem(item
)->SetTextColour(c
);
494 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
496 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
497 self
->GetItem(item
)->SetBackgroundColour(c
);
500 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
502 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
503 self
->GetItem(item
)->SetFont(f
);
506 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject
* obj
)
538 if (PyLong_Check(obj
)) {
539 return PyLong_AsUnsignedLong(obj
);
541 long i
= SWIG_AsLong(obj
);
542 if ( !PyErr_Occurred() && (i
< 0)) {
543 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject
* obj
)
553 SWIG_AsUnsignedLong(obj
);
554 if (PyErr_Occurred()) {
562 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
563 self
->AppendText(text
);
565 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
566 return self
->GetValue().Mid(from
, to
- from
);
568 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
569 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
570 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
572 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
574 #include <wx/slider.h>
577 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
578 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
581 // implement dummy items for platforms that don't have this class
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
585 class wxToggleButton
: public wxControl
588 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
589 const wxPoint
&, const wxSize
&, long,
590 const wxValidator
&, const wxString
&)
591 { wxPyRaiseNotImplemented(); }
594 { wxPyRaiseNotImplemented(); }
598 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
600 SWIGSTATICINLINE(PyObject
* )
601 SWIG_FromUnsignedLong(unsigned long value
)
603 return (value
> LONG_MAX
) ?
604 PyLong_FromUnsignedLong(value
)
605 : PyInt_FromLong(swig_numeric_cast(long,value
));
608 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
609 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
610 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
612 Py_INCREF(udata
->m_obj
);
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
620 self
->SetClientData(new wxPyUserData(clientData
));
622 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
623 wxPyUserData
* udata
= NULL
;
624 if (clientData
&& clientData
!= Py_None
)
625 udata
= new wxPyUserData(clientData
);
626 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
627 shortHelp
, longHelp
, udata
);
629 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
630 wxPyUserData
* udata
= NULL
;
631 if (clientData
&& clientData
!= Py_None
)
632 udata
= new wxPyUserData(clientData
);
633 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
634 shortHelp
, longHelp
, udata
);
636 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
637 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
639 Py_INCREF(udata
->m_obj
);
646 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
647 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
650 #include <wx/listctrl.h>
652 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
653 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
654 // Python aware sorting function for wxPyListCtrl
655 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
657 PyObject
* func
= (PyObject
*)funcPtr
;
658 bool blocked
= wxPyBeginBlockThreads();
660 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
661 PyObject
* result
= PyEval_CallObject(func
, args
);
664 retval
= PyInt_AsLong(result
);
668 wxPyEndBlockThreads(blocked
);
672 // C++ Version of a Python aware class
673 class wxPyListCtrl
: public wxListCtrl
{
674 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
676 wxPyListCtrl() : wxListCtrl() {}
677 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) :
683 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
685 bool Create(wxWindow
* parent
, wxWindowID id
,
689 const wxValidator
& validator
,
690 const wxString
& name
) {
691 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
694 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
695 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
696 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
701 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
703 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
704 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
705 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
707 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
709 item
.SetMask( wxLIST_MASK_STATE
|
717 if (self
->GetColumn(col
, item
))
718 return new wxListItem(item
);
722 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
723 wxListItem
* info
= new wxListItem
;
724 info
->m_itemId
= itemId
;
726 info
->m_mask
= 0xFFFF;
727 self
->GetItem(*info
);
730 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
732 self
->GetItemPosition(item
, pos
);
735 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
737 self
->GetItemRect(item
, rect
, code
);
740 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
741 if (!PyCallable_Check(func
))
743 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
745 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
749 return (wxWindow
*)self
->m_mainWin
;
753 #include <wx/treectrl.h>
754 #include "wx/wxPython/pytree.h"
756 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
757 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
758 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
759 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
760 // C++ version of Python aware wxTreeCtrl
761 class wxPyTreeCtrl
: public wxTreeCtrl
{
762 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
764 wxPyTreeCtrl() : wxTreeCtrl() {}
765 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) :
771 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
773 bool Create(wxWindow
*parent
, wxWindowID id
,
777 const wxValidator
& validator
,
778 const wxString
& name
) {
779 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
783 int OnCompareItems(const wxTreeItemId
& item1
,
784 const wxTreeItemId
& item2
) {
787 bool blocked
= wxPyBeginBlockThreads();
788 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
789 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
790 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
791 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
795 wxPyEndBlockThreads(blocked
);
797 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
803 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
807 #if UINT_MAX < LONG_MAX
808 #define SWIG_FromUnsignedInt SWIG_FromLong
810 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
814 SWIGSTATICINLINE(unsigned long)
815 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
816 unsigned long max_value
)
818 if (!PyErr_Occurred()) {
819 if (value
> max_value
) {
821 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
822 value
, type
, max_value
);
823 PyErr_SetObject(PyExc_OverflowError
, err
);
831 #if UINT_MAX != ULONG_MAX
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_AsUnsignedInt(PyObject
*obj
)
835 return swig_numeric_cast(unsigned int,
836 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
837 "unsigned int", UINT_MAX
));
840 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
844 SWIGSTATICINLINE(int)
845 SWIG_CheckUnsignedInt(PyObject
* obj
)
847 SWIG_AsUnsignedInt(obj
);
848 if (PyErr_Occurred()) {
856 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
857 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
859 data
= new wxPyTreeItemData();
860 data
->SetId(item
); // set the id
861 self
->SetItemData(item
, data
);
865 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
866 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
868 data
= new wxPyTreeItemData();
869 data
->SetId(item
); // set the id
870 self
->SetItemData(item
, data
);
872 return data
->GetData();
874 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
875 data
->SetId(item
); // set the id
876 self
->SetItemData(item
, data
);
878 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
879 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
881 data
= new wxPyTreeItemData(obj
);
882 data
->SetId(item
); // set the id
883 self
->SetItemData(item
, data
);
887 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
888 bool blocked
= wxPyBeginBlockThreads();
889 PyObject
* rval
= PyList_New(0);
890 wxArrayTreeItemIds array
;
892 num
= self
->GetSelections(array
);
893 for (x
=0; x
< num
; x
++) {
894 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
895 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
896 PyList_Append(rval
, item
);
899 wxPyEndBlockThreads(blocked
);
902 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
913 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
914 bool blocked
= wxPyBeginBlockThreads();
915 PyObject
* tup
= PyTuple_New(2);
916 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
917 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
918 wxPyEndBlockThreads(blocked
);
921 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
923 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
924 bool blocked
= wxPyBeginBlockThreads();
925 wxRect
* r
= new wxRect(rect
);
926 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
927 wxPyEndBlockThreads(blocked
);
933 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
934 // C++ version of Python aware wxControl
935 class wxPyControl
: public wxControl
937 DECLARE_DYNAMIC_CLASS(wxPyControl
)
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
941 const wxPoint
& pos
= wxDefaultPosition
,
942 const wxSize
& size
= wxDefaultSize
,
944 const wxValidator
& validator
=wxDefaultValidator
,
945 const wxString
& name
= wxPyControlNameStr
)
946 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
948 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
950 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
951 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
959 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
960 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
962 DEC_PYCALLBACK__(InitDialog
);
963 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
964 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
965 DEC_PYCALLBACK_BOOL_(Validate
);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
969 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
971 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
972 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
981 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
983 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
984 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
985 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
992 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
995 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
997 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1000 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1002 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1004 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1007 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1008 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1009 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1013 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1015 #include <wx/generic/dragimgg.h>
1020 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1021 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1026 static PyObject
*_wrap_ButtonNameStr_get() {
1031 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1033 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1040 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxWindow
*arg1
= (wxWindow
*) 0 ;
1044 wxString
*arg3
= 0 ;
1045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1049 long arg6
= (long) 0 ;
1050 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1051 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1052 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1055 bool temp3
= False
;
1058 bool temp8
= False
;
1059 PyObject
* obj0
= 0 ;
1060 PyObject
* obj1
= 0 ;
1061 PyObject
* obj2
= 0 ;
1062 PyObject
* obj3
= 0 ;
1063 PyObject
* obj4
= 0 ;
1064 PyObject
* obj5
= 0 ;
1065 PyObject
* obj6
= 0 ;
1066 PyObject
* obj7
= 0 ;
1068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1074 arg2
= (int) SWIG_AsInt(obj1
);
1075 if (PyErr_Occurred()) SWIG_fail
;
1077 arg3
= wxString_in_helper(obj2
);
1078 if (arg3
== NULL
) SWIG_fail
;
1084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1094 arg6
= (long) SWIG_AsLong(obj5
);
1095 if (PyErr_Occurred()) SWIG_fail
;
1098 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1102 PyErr_SetString(PyExc_TypeError
,"null reference");
1108 arg8
= wxString_in_helper(obj7
);
1109 if (arg8
== NULL
) SWIG_fail
;
1114 if (!wxPyCheckForApp()) SWIG_fail
;
1115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1116 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1118 wxPyEndAllowThreads(__tstate
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1122 resultobj
= wxPyMake_wxObject(result
);
1146 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
*resultobj
;
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1155 if (!wxPyCheckForApp()) SWIG_fail
;
1156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1157 result
= (wxButton
*)new wxButton();
1159 wxPyEndAllowThreads(__tstate
);
1160 if (PyErr_Occurred()) SWIG_fail
;
1163 resultobj
= wxPyMake_wxObject(result
);
1171 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
*resultobj
;
1173 wxButton
*arg1
= (wxButton
*) 0 ;
1174 wxWindow
*arg2
= (wxWindow
*) 0 ;
1176 wxString
*arg4
= 0 ;
1177 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1178 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1179 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1180 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1181 long arg7
= (long) 0 ;
1182 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1183 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1184 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1185 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1187 bool temp4
= False
;
1190 bool temp9
= False
;
1191 PyObject
* obj0
= 0 ;
1192 PyObject
* obj1
= 0 ;
1193 PyObject
* obj2
= 0 ;
1194 PyObject
* obj3
= 0 ;
1195 PyObject
* obj4
= 0 ;
1196 PyObject
* obj5
= 0 ;
1197 PyObject
* obj6
= 0 ;
1198 PyObject
* obj7
= 0 ;
1199 PyObject
* obj8
= 0 ;
1201 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1209 arg3
= (int) SWIG_AsInt(obj2
);
1210 if (PyErr_Occurred()) SWIG_fail
;
1212 arg4
= wxString_in_helper(obj3
);
1213 if (arg4
== NULL
) SWIG_fail
;
1219 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1225 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1229 arg7
= (long) SWIG_AsLong(obj6
);
1230 if (PyErr_Occurred()) SWIG_fail
;
1233 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1237 PyErr_SetString(PyExc_TypeError
,"null reference");
1243 arg9
= wxString_in_helper(obj8
);
1244 if (arg9
== NULL
) SWIG_fail
;
1249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1250 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1252 wxPyEndAllowThreads(__tstate
);
1253 if (PyErr_Occurred()) SWIG_fail
;
1256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1280 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
*resultobj
;
1282 wxButton
*arg1
= (wxButton
*) 0 ;
1283 PyObject
* obj0
= 0 ;
1285 (char *) "self", NULL
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1293 (arg1
)->SetDefault();
1295 wxPyEndAllowThreads(__tstate
);
1296 if (PyErr_Occurred()) SWIG_fail
;
1298 Py_INCREF(Py_None
); resultobj
= Py_None
;
1305 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1306 PyObject
*resultobj
;
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1315 result
= wxButton::GetDefaultSize();
1317 wxPyEndAllowThreads(__tstate
);
1318 if (PyErr_Occurred()) SWIG_fail
;
1322 resultptr
= new wxSize((wxSize
&) result
);
1323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1331 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
*resultobj
;
1333 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1334 wxVisualAttributes result
;
1335 PyObject
* obj0
= 0 ;
1337 (char *) "variant", NULL
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1342 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1343 if (PyErr_Occurred()) SWIG_fail
;
1346 if (!wxPyCheckForApp()) SWIG_fail
;
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1354 wxVisualAttributes
* resultptr
;
1355 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1364 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1367 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1369 return Py_BuildValue((char *)"");
1371 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
*resultobj
;
1373 wxWindow
*arg1
= (wxWindow
*) 0 ;
1375 wxBitmap
*arg3
= 0 ;
1376 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1377 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1378 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1379 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1380 long arg6
= (long) wxBU_AUTODRAW
;
1381 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1382 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1383 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1384 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1385 wxBitmapButton
*result
;
1388 bool temp8
= False
;
1389 PyObject
* obj0
= 0 ;
1390 PyObject
* obj1
= 0 ;
1391 PyObject
* obj2
= 0 ;
1392 PyObject
* obj3
= 0 ;
1393 PyObject
* obj4
= 0 ;
1394 PyObject
* obj5
= 0 ;
1395 PyObject
* obj6
= 0 ;
1396 PyObject
* obj7
= 0 ;
1398 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1404 arg2
= (int) SWIG_AsInt(obj1
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1406 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1410 PyErr_SetString(PyExc_TypeError
,"null reference");
1416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1426 arg6
= (long) SWIG_AsLong(obj5
);
1427 if (PyErr_Occurred()) SWIG_fail
;
1430 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1434 PyErr_SetString(PyExc_TypeError
,"null reference");
1440 arg8
= wxString_in_helper(obj7
);
1441 if (arg8
== NULL
) SWIG_fail
;
1446 if (!wxPyCheckForApp()) SWIG_fail
;
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) SWIG_fail
;
1454 resultobj
= wxPyMake_wxObject(result
);
1470 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
*resultobj
;
1472 wxBitmapButton
*result
;
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1479 if (!wxPyCheckForApp()) SWIG_fail
;
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 result
= (wxBitmapButton
*)new wxBitmapButton();
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1487 resultobj
= wxPyMake_wxObject(result
);
1495 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1496 PyObject
*resultobj
;
1497 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1498 wxWindow
*arg2
= (wxWindow
*) 0 ;
1500 wxBitmap
*arg4
= 0 ;
1501 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1502 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1503 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1504 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1505 long arg7
= (long) wxBU_AUTODRAW
;
1506 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1507 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1508 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1509 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1513 bool temp9
= False
;
1514 PyObject
* obj0
= 0 ;
1515 PyObject
* obj1
= 0 ;
1516 PyObject
* obj2
= 0 ;
1517 PyObject
* obj3
= 0 ;
1518 PyObject
* obj4
= 0 ;
1519 PyObject
* obj5
= 0 ;
1520 PyObject
* obj6
= 0 ;
1521 PyObject
* obj7
= 0 ;
1522 PyObject
* obj8
= 0 ;
1524 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1532 arg3
= (int) SWIG_AsInt(obj2
);
1533 if (PyErr_Occurred()) SWIG_fail
;
1534 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1538 PyErr_SetString(PyExc_TypeError
,"null reference");
1544 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1550 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1554 arg7
= (long) SWIG_AsLong(obj6
);
1555 if (PyErr_Occurred()) SWIG_fail
;
1558 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1562 PyErr_SetString(PyExc_TypeError
,"null reference");
1568 arg9
= wxString_in_helper(obj8
);
1569 if (arg9
== NULL
) SWIG_fail
;
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) SWIG_fail
;
1581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1597 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
*resultobj
;
1599 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1601 PyObject
* obj0
= 0 ;
1603 (char *) "self", NULL
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 result
= (arg1
)->GetBitmapLabel();
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1617 wxBitmap
* resultptr
;
1618 resultptr
= new wxBitmap((wxBitmap
&) result
);
1619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1627 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
*resultobj
;
1629 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1631 PyObject
* obj0
= 0 ;
1633 (char *) "self", NULL
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 result
= (arg1
)->GetBitmapDisabled();
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) SWIG_fail
;
1647 wxBitmap
* resultptr
;
1648 resultptr
= new wxBitmap((wxBitmap
&) result
);
1649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1657 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
*resultobj
;
1659 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1661 PyObject
* obj0
= 0 ;
1663 (char *) "self", NULL
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 result
= (arg1
)->GetBitmapFocus();
1673 wxPyEndAllowThreads(__tstate
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1677 wxBitmap
* resultptr
;
1678 resultptr
= new wxBitmap((wxBitmap
&) result
);
1679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1687 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
*resultobj
;
1689 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1691 PyObject
* obj0
= 0 ;
1693 (char *) "self", NULL
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 result
= (arg1
)->GetBitmapSelected();
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1707 wxBitmap
* resultptr
;
1708 resultptr
= new wxBitmap((wxBitmap
&) result
);
1709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1717 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
*resultobj
;
1719 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1720 wxBitmap
*arg2
= 0 ;
1721 PyObject
* obj0
= 0 ;
1722 PyObject
* obj1
= 0 ;
1724 (char *) "self",(char *) "bitmap", NULL
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1734 PyErr_SetString(PyExc_TypeError
,"null reference");
1738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1739 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1741 wxPyEndAllowThreads(__tstate
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1744 Py_INCREF(Py_None
); resultobj
= Py_None
;
1751 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
*resultobj
;
1753 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1754 wxBitmap
*arg2
= 0 ;
1755 PyObject
* obj0
= 0 ;
1756 PyObject
* obj1
= 0 ;
1758 (char *) "self",(char *) "bitmap", NULL
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1768 PyErr_SetString(PyExc_TypeError
,"null reference");
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) SWIG_fail
;
1778 Py_INCREF(Py_None
); resultobj
= Py_None
;
1785 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
*resultobj
;
1787 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1788 wxBitmap
*arg2
= 0 ;
1789 PyObject
* obj0
= 0 ;
1790 PyObject
* obj1
= 0 ;
1792 (char *) "self",(char *) "bitmap", NULL
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1802 PyErr_SetString(PyExc_TypeError
,"null reference");
1806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1807 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1809 wxPyEndAllowThreads(__tstate
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1812 Py_INCREF(Py_None
); resultobj
= Py_None
;
1819 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
*resultobj
;
1821 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1822 wxBitmap
*arg2
= 0 ;
1823 PyObject
* obj0
= 0 ;
1824 PyObject
* obj1
= 0 ;
1826 (char *) "self",(char *) "bitmap", NULL
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1833 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1836 PyErr_SetString(PyExc_TypeError
,"null reference");
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1846 Py_INCREF(Py_None
); resultobj
= Py_None
;
1853 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
*resultobj
;
1855 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1858 PyObject
* obj0
= 0 ;
1859 PyObject
* obj1
= 0 ;
1860 PyObject
* obj2
= 0 ;
1862 (char *) "self",(char *) "x",(char *) "y", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1868 arg2
= (int) SWIG_AsInt(obj1
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1870 arg3
= (int) SWIG_AsInt(obj2
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 (arg1
)->SetMargins(arg2
,arg3
);
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1879 Py_INCREF(Py_None
); resultobj
= Py_None
;
1886 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
*resultobj
;
1888 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1890 PyObject
* obj0
= 0 ;
1892 (char *) "self", NULL
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1905 resultobj
= SWIG_FromInt((int)result
);
1912 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
*resultobj
;
1914 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1916 PyObject
* obj0
= 0 ;
1918 (char *) "self", NULL
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 resultobj
= SWIG_FromInt((int)result
);
1938 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1941 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1943 return Py_BuildValue((char *)"");
1945 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1946 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1951 static PyObject
*_wrap_CheckBoxNameStr_get() {
1956 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1958 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1965 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
*resultobj
;
1967 wxWindow
*arg1
= (wxWindow
*) 0 ;
1969 wxString
*arg3
= 0 ;
1970 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1971 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1972 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1973 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1974 long arg6
= (long) 0 ;
1975 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1976 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1977 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1978 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1980 bool temp3
= False
;
1983 bool temp8
= False
;
1984 PyObject
* obj0
= 0 ;
1985 PyObject
* obj1
= 0 ;
1986 PyObject
* obj2
= 0 ;
1987 PyObject
* obj3
= 0 ;
1988 PyObject
* obj4
= 0 ;
1989 PyObject
* obj5
= 0 ;
1990 PyObject
* obj6
= 0 ;
1991 PyObject
* obj7
= 0 ;
1993 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1999 arg2
= (int) SWIG_AsInt(obj1
);
2000 if (PyErr_Occurred()) SWIG_fail
;
2002 arg3
= wxString_in_helper(obj2
);
2003 if (arg3
== NULL
) SWIG_fail
;
2009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2015 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2019 arg6
= (long) SWIG_AsLong(obj5
);
2020 if (PyErr_Occurred()) SWIG_fail
;
2023 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2027 PyErr_SetString(PyExc_TypeError
,"null reference");
2033 arg8
= wxString_in_helper(obj7
);
2034 if (arg8
== NULL
) SWIG_fail
;
2039 if (!wxPyCheckForApp()) SWIG_fail
;
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) SWIG_fail
;
2046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2069 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2078 if (!wxPyCheckForApp()) SWIG_fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 result
= (wxCheckBox
*)new wxCheckBox();
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2092 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
*resultobj
;
2094 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2095 wxWindow
*arg2
= (wxWindow
*) 0 ;
2097 wxString
*arg4
= 0 ;
2098 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2099 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2100 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2101 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2102 long arg7
= (long) 0 ;
2103 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2104 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2105 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2106 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2108 bool temp4
= False
;
2111 bool temp9
= False
;
2112 PyObject
* obj0
= 0 ;
2113 PyObject
* obj1
= 0 ;
2114 PyObject
* obj2
= 0 ;
2115 PyObject
* obj3
= 0 ;
2116 PyObject
* obj4
= 0 ;
2117 PyObject
* obj5
= 0 ;
2118 PyObject
* obj6
= 0 ;
2119 PyObject
* obj7
= 0 ;
2120 PyObject
* obj8
= 0 ;
2122 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2130 arg3
= (int) SWIG_AsInt(obj2
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2133 arg4
= wxString_in_helper(obj3
);
2134 if (arg4
== NULL
) SWIG_fail
;
2140 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2146 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2150 arg7
= (long) SWIG_AsLong(obj6
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2154 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2158 PyErr_SetString(PyExc_TypeError
,"null reference");
2164 arg9
= wxString_in_helper(obj8
);
2165 if (arg9
== NULL
) SWIG_fail
;
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) SWIG_fail
;
2177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2201 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
*resultobj
;
2203 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2205 PyObject
* obj0
= 0 ;
2207 (char *) "self", NULL
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 result
= (bool)(arg1
)->GetValue();
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2229 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
*resultobj
;
2231 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2233 PyObject
* obj0
= 0 ;
2235 (char *) "self", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 result
= (bool)(arg1
)->IsChecked();
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2257 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
*resultobj
;
2259 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2261 PyObject
* obj0
= 0 ;
2262 PyObject
* obj1
= 0 ;
2264 (char *) "self",(char *) "state", NULL
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2270 arg2
= (bool const) SWIG_AsBool(obj1
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 (arg1
)->SetValue(arg2
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 Py_INCREF(Py_None
); resultobj
= Py_None
;
2286 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2290 PyObject
* obj0
= 0 ;
2292 (char *) "self", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2300 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2302 wxPyEndAllowThreads(__tstate
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2305 resultobj
= SWIG_FromInt((int)result
);
2312 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
*resultobj
;
2314 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2316 PyObject
* obj0
= 0 ;
2317 PyObject
* obj1
= 0 ;
2319 (char *) "self",(char *) "state", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2325 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 Py_INCREF(Py_None
); resultobj
= Py_None
;
2341 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2345 PyObject
* obj0
= 0 ;
2347 (char *) "self", NULL
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2369 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2371 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2373 PyObject
* obj0
= 0 ;
2375 (char *) "self", NULL
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2397 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
*resultobj
;
2399 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2400 wxVisualAttributes result
;
2401 PyObject
* obj0
= 0 ;
2403 (char *) "variant", NULL
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2408 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2412 if (!wxPyCheckForApp()) SWIG_fail
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2420 wxVisualAttributes
* resultptr
;
2421 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2430 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2433 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2435 return Py_BuildValue((char *)"");
2437 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2438 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2443 static PyObject
*_wrap_ChoiceNameStr_get() {
2448 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2450 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2457 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
*resultobj
;
2459 wxWindow
*arg1
= (wxWindow
*) 0 ;
2460 int arg2
= (int) -1 ;
2461 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2462 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2463 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2464 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2465 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2466 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2467 long arg6
= (long) 0 ;
2468 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2469 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2470 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2471 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2475 bool temp5
= False
;
2476 bool temp8
= False
;
2477 PyObject
* obj0
= 0 ;
2478 PyObject
* obj1
= 0 ;
2479 PyObject
* obj2
= 0 ;
2480 PyObject
* obj3
= 0 ;
2481 PyObject
* obj4
= 0 ;
2482 PyObject
* obj5
= 0 ;
2483 PyObject
* obj6
= 0 ;
2484 PyObject
* obj7
= 0 ;
2486 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2493 arg2
= (int) SWIG_AsInt(obj1
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2499 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2505 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2510 if (! PySequence_Check(obj4
)) {
2511 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2514 arg5
= new wxArrayString
;
2516 int i
, len
=PySequence_Length(obj4
);
2517 for (i
=0; i
<len
; i
++) {
2518 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2520 PyObject
* str
= PyObject_Unicode(item
);
2522 PyObject
* str
= PyObject_Str(item
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2525 arg5
->Add(Py2wxString(str
));
2532 arg6
= (long) SWIG_AsLong(obj5
);
2533 if (PyErr_Occurred()) SWIG_fail
;
2536 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2540 PyErr_SetString(PyExc_TypeError
,"null reference");
2546 arg8
= wxString_in_helper(obj7
);
2547 if (arg8
== NULL
) SWIG_fail
;
2552 if (!wxPyCheckForApp()) SWIG_fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2561 if (temp5
) delete arg5
;
2570 if (temp5
) delete arg5
;
2580 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2589 if (!wxPyCheckForApp()) SWIG_fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 result
= (wxChoice
*)new wxChoice();
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2603 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2605 wxChoice
*arg1
= (wxChoice
*) 0 ;
2606 wxWindow
*arg2
= (wxWindow
*) 0 ;
2607 int arg3
= (int) -1 ;
2608 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2609 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2610 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2611 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2612 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2613 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2614 long arg7
= (long) 0 ;
2615 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2616 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2617 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2618 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2622 bool temp6
= False
;
2623 bool temp9
= False
;
2624 PyObject
* obj0
= 0 ;
2625 PyObject
* obj1
= 0 ;
2626 PyObject
* obj2
= 0 ;
2627 PyObject
* obj3
= 0 ;
2628 PyObject
* obj4
= 0 ;
2629 PyObject
* obj5
= 0 ;
2630 PyObject
* obj6
= 0 ;
2631 PyObject
* obj7
= 0 ;
2632 PyObject
* obj8
= 0 ;
2634 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2643 arg3
= (int) SWIG_AsInt(obj2
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2649 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2655 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2660 if (! PySequence_Check(obj5
)) {
2661 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2664 arg6
= new wxArrayString
;
2666 int i
, len
=PySequence_Length(obj5
);
2667 for (i
=0; i
<len
; i
++) {
2668 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2670 PyObject
* str
= PyObject_Unicode(item
);
2672 PyObject
* str
= PyObject_Str(item
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2675 arg6
->Add(Py2wxString(str
));
2682 arg7
= (long) SWIG_AsLong(obj6
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2686 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2690 PyErr_SetString(PyExc_TypeError
,"null reference");
2696 arg9
= wxString_in_helper(obj8
);
2697 if (arg9
== NULL
) SWIG_fail
;
2702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2703 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2705 wxPyEndAllowThreads(__tstate
);
2706 if (PyErr_Occurred()) SWIG_fail
;
2709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2712 if (temp6
) delete arg6
;
2721 if (temp6
) delete arg6
;
2731 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2733 wxChoice
*arg1
= (wxChoice
*) 0 ;
2735 PyObject
* obj0
= 0 ;
2736 PyObject
* obj1
= 0 ;
2738 (char *) "self",(char *) "n", NULL
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2744 arg2
= (int const) SWIG_AsInt(obj1
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 (arg1
)->SetSelection(arg2
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2753 Py_INCREF(Py_None
); resultobj
= Py_None
;
2760 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxChoice
*arg1
= (wxChoice
*) 0 ;
2763 wxString
*arg2
= 0 ;
2765 bool temp2
= False
;
2766 PyObject
* obj0
= 0 ;
2767 PyObject
* obj1
= 0 ;
2769 (char *) "self",(char *) "string", NULL
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2776 arg2
= wxString_in_helper(obj1
);
2777 if (arg2
== NULL
) SWIG_fail
;
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2804 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
*resultobj
;
2806 wxChoice
*arg1
= (wxChoice
*) 0 ;
2808 wxString
*arg3
= 0 ;
2809 bool temp3
= False
;
2810 PyObject
* obj0
= 0 ;
2811 PyObject
* obj1
= 0 ;
2812 PyObject
* obj2
= 0 ;
2814 (char *) "self",(char *) "n",(char *) "string", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2820 arg2
= (int) SWIG_AsInt(obj1
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2823 arg3
= wxString_in_helper(obj2
);
2824 if (arg3
== NULL
) SWIG_fail
;
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2834 Py_INCREF(Py_None
); resultobj
= Py_None
;
2849 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2852 wxVisualAttributes result
;
2853 PyObject
* obj0
= 0 ;
2855 (char *) "variant", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2860 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2864 if (!wxPyCheckForApp()) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2872 wxVisualAttributes
* resultptr
;
2873 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2882 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2885 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2887 return Py_BuildValue((char *)"");
2889 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2890 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2895 static PyObject
*_wrap_ComboBoxNameStr_get() {
2900 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2902 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2909 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxWindow
*arg1
= (wxWindow
*) 0 ;
2912 int arg2
= (int) -1 ;
2913 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2914 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2915 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2916 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2917 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2918 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2919 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2920 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2921 long arg7
= (long) 0 ;
2922 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2923 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2924 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2925 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2927 bool temp3
= False
;
2930 bool temp6
= False
;
2931 bool temp9
= False
;
2932 PyObject
* obj0
= 0 ;
2933 PyObject
* obj1
= 0 ;
2934 PyObject
* obj2
= 0 ;
2935 PyObject
* obj3
= 0 ;
2936 PyObject
* obj4
= 0 ;
2937 PyObject
* obj5
= 0 ;
2938 PyObject
* obj6
= 0 ;
2939 PyObject
* obj7
= 0 ;
2940 PyObject
* obj8
= 0 ;
2942 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2949 arg2
= (int) SWIG_AsInt(obj1
);
2950 if (PyErr_Occurred()) SWIG_fail
;
2954 arg3
= wxString_in_helper(obj2
);
2955 if (arg3
== NULL
) SWIG_fail
;
2962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2973 if (! PySequence_Check(obj5
)) {
2974 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2977 arg6
= new wxArrayString
;
2979 int i
, len
=PySequence_Length(obj5
);
2980 for (i
=0; i
<len
; i
++) {
2981 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2983 PyObject
* str
= PyObject_Unicode(item
);
2985 PyObject
* str
= PyObject_Str(item
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2988 arg6
->Add(Py2wxString(str
));
2995 arg7
= (long) SWIG_AsLong(obj6
);
2996 if (PyErr_Occurred()) SWIG_fail
;
2999 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3003 PyErr_SetString(PyExc_TypeError
,"null reference");
3009 arg9
= wxString_in_helper(obj8
);
3010 if (arg9
== NULL
) SWIG_fail
;
3015 if (!wxPyCheckForApp()) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 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
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3028 if (temp6
) delete arg6
;
3041 if (temp6
) delete arg6
;
3051 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3060 if (!wxPyCheckForApp()) SWIG_fail
;
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 result
= (wxComboBox
*)new wxComboBox();
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3074 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
*resultobj
;
3076 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3077 wxWindow
*arg2
= (wxWindow
*) 0 ;
3078 int arg3
= (int) -1 ;
3079 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3080 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3081 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3082 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3083 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3084 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3085 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3086 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3087 long arg8
= (long) 0 ;
3088 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3089 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3090 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3091 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3093 bool temp4
= False
;
3096 bool temp7
= False
;
3097 bool temp10
= False
;
3098 PyObject
* obj0
= 0 ;
3099 PyObject
* obj1
= 0 ;
3100 PyObject
* obj2
= 0 ;
3101 PyObject
* obj3
= 0 ;
3102 PyObject
* obj4
= 0 ;
3103 PyObject
* obj5
= 0 ;
3104 PyObject
* obj6
= 0 ;
3105 PyObject
* obj7
= 0 ;
3106 PyObject
* obj8
= 0 ;
3107 PyObject
* obj9
= 0 ;
3109 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3118 arg3
= (int) SWIG_AsInt(obj2
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3123 arg4
= wxString_in_helper(obj3
);
3124 if (arg4
== NULL
) SWIG_fail
;
3131 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3137 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3142 if (! PySequence_Check(obj6
)) {
3143 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3146 arg7
= new wxArrayString
;
3148 int i
, len
=PySequence_Length(obj6
);
3149 for (i
=0; i
<len
; i
++) {
3150 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3152 PyObject
* str
= PyObject_Unicode(item
);
3154 PyObject
* str
= PyObject_Str(item
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3157 arg7
->Add(Py2wxString(str
));
3164 arg8
= (long) SWIG_AsLong(obj7
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3168 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3172 PyErr_SetString(PyExc_TypeError
,"null reference");
3178 arg10
= wxString_in_helper(obj9
);
3179 if (arg10
== NULL
) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 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
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3198 if (temp7
) delete arg7
;
3211 if (temp7
) delete arg7
;
3221 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3223 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3225 PyObject
* obj0
= 0 ;
3227 (char *) "self", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 result
= ((wxComboBox
const *)arg1
)->GetValue();
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3253 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
*resultobj
;
3255 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3256 wxString
*arg2
= 0 ;
3257 bool temp2
= False
;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3261 (char *) "self",(char *) "value", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3268 arg2
= wxString_in_helper(obj1
);
3269 if (arg2
== NULL
) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 (arg1
)->SetValue((wxString
const &)*arg2
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3294 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3296 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3297 PyObject
* obj0
= 0 ;
3299 (char *) "self", NULL
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 Py_INCREF(Py_None
); resultobj
= Py_None
;
3319 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3324 (char *) "self", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 wxPyEndAllowThreads(__tstate
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3337 Py_INCREF(Py_None
); resultobj
= Py_None
;
3344 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
*resultobj
;
3346 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3347 PyObject
* obj0
= 0 ;
3349 (char *) "self", NULL
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3362 Py_INCREF(Py_None
); resultobj
= Py_None
;
3369 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3373 PyObject
* obj0
= 0 ;
3374 PyObject
* obj1
= 0 ;
3376 (char *) "self",(char *) "pos", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3382 arg2
= (long) SWIG_AsLong(obj1
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 (arg1
)->SetInsertionPoint(arg2
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3391 Py_INCREF(Py_None
); resultobj
= Py_None
;
3398 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3400 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3402 PyObject
* obj0
= 0 ;
3404 (char *) "self", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3417 resultobj
= SWIG_FromLong((long)result
);
3424 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3428 PyObject
* obj0
= 0 ;
3430 (char *) "self", NULL
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 resultobj
= SWIG_FromLong((long)result
);
3450 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
;
3452 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3455 wxString
*arg4
= 0 ;
3456 bool temp4
= False
;
3457 PyObject
* obj0
= 0 ;
3458 PyObject
* obj1
= 0 ;
3459 PyObject
* obj2
= 0 ;
3460 PyObject
* obj3
= 0 ;
3462 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3468 arg2
= (long) SWIG_AsLong(obj1
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3470 arg3
= (long) SWIG_AsLong(obj2
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 arg4
= wxString_in_helper(obj3
);
3474 if (arg4
== NULL
) SWIG_fail
;
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) SWIG_fail
;
3484 Py_INCREF(Py_None
); resultobj
= Py_None
;
3499 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3501 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3503 PyObject
* obj0
= 0 ;
3504 PyObject
* obj1
= 0 ;
3506 (char *) "self",(char *) "n", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3512 arg2
= (int) SWIG_AsInt(obj1
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 (arg1
)->SetSelection(arg2
);
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3521 Py_INCREF(Py_None
); resultobj
= Py_None
;
3528 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3530 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3535 PyObject
* obj2
= 0 ;
3537 (char *) "self",(char *) "from",(char *) "to", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3543 arg2
= (long) SWIG_AsLong(obj1
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3545 arg3
= (long) SWIG_AsLong(obj2
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 (arg1
)->SetSelection(arg2
,arg3
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 Py_INCREF(Py_None
); resultobj
= Py_None
;
3561 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3564 wxString
*arg2
= 0 ;
3566 bool temp2
= False
;
3567 PyObject
* obj0
= 0 ;
3568 PyObject
* obj1
= 0 ;
3570 (char *) "self",(char *) "string", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3577 arg2
= wxString_in_helper(obj1
);
3578 if (arg2
== NULL
) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3605 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
;
3607 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3609 wxString
*arg3
= 0 ;
3610 bool temp3
= False
;
3611 PyObject
* obj0
= 0 ;
3612 PyObject
* obj1
= 0 ;
3613 PyObject
* obj2
= 0 ;
3615 (char *) "self",(char *) "n",(char *) "string", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3621 arg2
= (int) SWIG_AsInt(obj1
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3624 arg3
= wxString_in_helper(obj2
);
3625 if (arg3
== NULL
) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3635 Py_INCREF(Py_None
); resultobj
= Py_None
;
3650 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3654 PyObject
* obj0
= 0 ;
3655 PyObject
* obj1
= 0 ;
3657 (char *) "self",(char *) "editable", NULL
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3663 arg2
= (bool) SWIG_AsBool(obj1
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 (arg1
)->SetEditable(arg2
);
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 Py_INCREF(Py_None
); resultobj
= Py_None
;
3679 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
;
3681 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3682 PyObject
* obj0
= 0 ;
3684 (char *) "self", NULL
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 (arg1
)->SetInsertionPointEnd();
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3710 PyObject
* obj1
= 0 ;
3711 PyObject
* obj2
= 0 ;
3713 (char *) "self",(char *) "from",(char *) "to", NULL
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 arg2
= (long) SWIG_AsLong(obj1
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3721 arg3
= (long) SWIG_AsLong(obj2
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 (arg1
)->Remove(arg2
,arg3
);
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 Py_INCREF(Py_None
); resultobj
= Py_None
;
3737 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3740 wxVisualAttributes result
;
3741 PyObject
* obj0
= 0 ;
3743 (char *) "variant", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3748 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3752 if (!wxPyCheckForApp()) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3760 wxVisualAttributes
* resultptr
;
3761 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3770 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3773 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3775 return Py_BuildValue((char *)"");
3777 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3778 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3783 static PyObject
*_wrap_GaugeNameStr_get() {
3788 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3790 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3797 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxWindow
*arg1
= (wxWindow
*) 0 ;
3802 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3803 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3804 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3805 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3806 long arg6
= (long) wxGA_HORIZONTAL
;
3807 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3808 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3809 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3810 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3814 bool temp8
= False
;
3815 PyObject
* obj0
= 0 ;
3816 PyObject
* obj1
= 0 ;
3817 PyObject
* obj2
= 0 ;
3818 PyObject
* obj3
= 0 ;
3819 PyObject
* obj4
= 0 ;
3820 PyObject
* obj5
= 0 ;
3821 PyObject
* obj6
= 0 ;
3822 PyObject
* obj7
= 0 ;
3824 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3830 arg2
= (int) SWIG_AsInt(obj1
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3832 arg3
= (int) SWIG_AsInt(obj2
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3837 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3843 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3847 arg6
= (long) SWIG_AsLong(obj5
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3851 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3855 PyErr_SetString(PyExc_TypeError
,"null reference");
3861 arg8
= wxString_in_helper(obj7
);
3862 if (arg8
== NULL
) SWIG_fail
;
3867 if (!wxPyCheckForApp()) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3889 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3898 if (!wxPyCheckForApp()) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (wxGauge
*)new wxGauge();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3912 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxGauge
*arg1
= (wxGauge
*) 0 ;
3915 wxWindow
*arg2
= (wxWindow
*) 0 ;
3918 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3919 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3920 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3921 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3922 long arg7
= (long) wxGA_HORIZONTAL
;
3923 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3924 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3925 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3926 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3930 bool temp9
= False
;
3931 PyObject
* obj0
= 0 ;
3932 PyObject
* obj1
= 0 ;
3933 PyObject
* obj2
= 0 ;
3934 PyObject
* obj3
= 0 ;
3935 PyObject
* obj4
= 0 ;
3936 PyObject
* obj5
= 0 ;
3937 PyObject
* obj6
= 0 ;
3938 PyObject
* obj7
= 0 ;
3939 PyObject
* obj8
= 0 ;
3941 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3949 arg3
= (int) SWIG_AsInt(obj2
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3951 arg4
= (int) SWIG_AsInt(obj3
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3956 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3962 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3966 arg7
= (long) SWIG_AsLong(obj6
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3970 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3974 PyErr_SetString(PyExc_TypeError
,"null reference");
3980 arg9
= wxString_in_helper(obj8
);
3981 if (arg9
== NULL
) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4009 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
;
4011 wxGauge
*arg1
= (wxGauge
*) 0 ;
4013 PyObject
* obj0
= 0 ;
4014 PyObject
* obj1
= 0 ;
4016 (char *) "self",(char *) "range", NULL
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4022 arg2
= (int) SWIG_AsInt(obj1
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 (arg1
)->SetRange(arg2
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 Py_INCREF(Py_None
); resultobj
= Py_None
;
4038 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
*resultobj
;
4040 wxGauge
*arg1
= (wxGauge
*) 0 ;
4042 PyObject
* obj0
= 0 ;
4044 (char *) "self", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4057 resultobj
= SWIG_FromInt((int)result
);
4064 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
;
4066 wxGauge
*arg1
= (wxGauge
*) 0 ;
4068 PyObject
* obj0
= 0 ;
4069 PyObject
* obj1
= 0 ;
4071 (char *) "self",(char *) "pos", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4077 arg2
= (int) SWIG_AsInt(obj1
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 (arg1
)->SetValue(arg2
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 Py_INCREF(Py_None
); resultobj
= Py_None
;
4093 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxGauge
*arg1
= (wxGauge
*) 0 ;
4097 PyObject
* obj0
= 0 ;
4099 (char *) "self", NULL
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_FromInt((int)result
);
4119 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
;
4121 wxGauge
*arg1
= (wxGauge
*) 0 ;
4123 PyObject
* obj0
= 0 ;
4125 (char *) "self", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4147 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxGauge
*arg1
= (wxGauge
*) 0 ;
4151 PyObject
* obj0
= 0 ;
4152 PyObject
* obj1
= 0 ;
4154 (char *) "self",(char *) "w", NULL
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4160 arg2
= (int) SWIG_AsInt(obj1
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 (arg1
)->SetShadowWidth(arg2
);
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4169 Py_INCREF(Py_None
); resultobj
= Py_None
;
4176 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 wxGauge
*arg1
= (wxGauge
*) 0 ;
4180 PyObject
* obj0
= 0 ;
4182 (char *) "self", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= SWIG_FromInt((int)result
);
4202 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
;
4204 wxGauge
*arg1
= (wxGauge
*) 0 ;
4206 PyObject
* obj0
= 0 ;
4207 PyObject
* obj1
= 0 ;
4209 (char *) "self",(char *) "w", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4215 arg2
= (int) SWIG_AsInt(obj1
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 (arg1
)->SetBezelFace(arg2
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 Py_INCREF(Py_None
); resultobj
= Py_None
;
4231 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
;
4233 wxGauge
*arg1
= (wxGauge
*) 0 ;
4235 PyObject
* obj0
= 0 ;
4237 (char *) "self", NULL
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 resultobj
= SWIG_FromInt((int)result
);
4257 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4259 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4260 wxVisualAttributes result
;
4261 PyObject
* obj0
= 0 ;
4263 (char *) "variant", NULL
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4268 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4272 if (!wxPyCheckForApp()) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4280 wxVisualAttributes
* resultptr
;
4281 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4290 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4293 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4295 return Py_BuildValue((char *)"");
4297 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4298 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4303 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4308 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4310 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4317 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4318 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4323 static PyObject
*_wrap_StaticBoxNameStr_get() {
4328 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4330 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4337 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4338 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4343 static PyObject
*_wrap_StaticTextNameStr_get() {
4348 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4350 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4357 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxWindow
*arg1
= (wxWindow
*) 0 ;
4361 wxString
*arg3
= 0 ;
4362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4366 long arg6
= (long) 0 ;
4367 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4368 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4369 wxStaticBox
*result
;
4370 bool temp3
= False
;
4373 bool temp7
= False
;
4374 PyObject
* obj0
= 0 ;
4375 PyObject
* obj1
= 0 ;
4376 PyObject
* obj2
= 0 ;
4377 PyObject
* obj3
= 0 ;
4378 PyObject
* obj4
= 0 ;
4379 PyObject
* obj5
= 0 ;
4380 PyObject
* obj6
= 0 ;
4382 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 arg2
= (int) SWIG_AsInt(obj1
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 arg3
= wxString_in_helper(obj2
);
4392 if (arg3
== NULL
) SWIG_fail
;
4398 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4404 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4408 arg6
= (long) SWIG_AsLong(obj5
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4413 arg7
= wxString_in_helper(obj6
);
4414 if (arg7
== NULL
) SWIG_fail
;
4419 if (!wxPyCheckForApp()) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= wxPyMake_wxObject(result
);
4451 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxStaticBox
*result
;
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4460 if (!wxPyCheckForApp()) SWIG_fail
;
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 result
= (wxStaticBox
*)new wxStaticBox();
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= wxPyMake_wxObject(result
);
4476 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4479 wxWindow
*arg2
= (wxWindow
*) 0 ;
4481 wxString
*arg4
= 0 ;
4482 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4483 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4484 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4485 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4486 long arg7
= (long) 0 ;
4487 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4488 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4490 bool temp4
= False
;
4493 bool temp8
= False
;
4494 PyObject
* obj0
= 0 ;
4495 PyObject
* obj1
= 0 ;
4496 PyObject
* obj2
= 0 ;
4497 PyObject
* obj3
= 0 ;
4498 PyObject
* obj4
= 0 ;
4499 PyObject
* obj5
= 0 ;
4500 PyObject
* obj6
= 0 ;
4501 PyObject
* obj7
= 0 ;
4503 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4511 arg3
= (int) SWIG_AsInt(obj2
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 arg4
= wxString_in_helper(obj3
);
4515 if (arg4
== NULL
) SWIG_fail
;
4521 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4527 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4531 arg7
= (long) SWIG_AsLong(obj6
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4536 arg8
= wxString_in_helper(obj7
);
4537 if (arg8
== NULL
) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4573 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
;
4575 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4576 wxVisualAttributes result
;
4577 PyObject
* obj0
= 0 ;
4579 (char *) "variant", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4584 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4588 if (!wxPyCheckForApp()) SWIG_fail
;
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4596 wxVisualAttributes
* resultptr
;
4597 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4606 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4609 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4611 return Py_BuildValue((char *)"");
4613 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
;
4615 wxWindow
*arg1
= (wxWindow
*) 0 ;
4617 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4618 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4619 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4620 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4621 long arg5
= (long) wxLI_HORIZONTAL
;
4622 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4623 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4624 wxStaticLine
*result
;
4627 bool temp6
= False
;
4628 PyObject
* obj0
= 0 ;
4629 PyObject
* obj1
= 0 ;
4630 PyObject
* obj2
= 0 ;
4631 PyObject
* obj3
= 0 ;
4632 PyObject
* obj4
= 0 ;
4633 PyObject
* obj5
= 0 ;
4635 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4641 arg2
= (int) SWIG_AsInt(obj1
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4652 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4656 arg5
= (long) SWIG_AsLong(obj4
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4661 arg6
= wxString_in_helper(obj5
);
4662 if (arg6
== NULL
) SWIG_fail
;
4667 if (!wxPyCheckForApp()) SWIG_fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4689 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
;
4691 wxStaticLine
*result
;
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4698 if (!wxPyCheckForApp()) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 result
= (wxStaticLine
*)new wxStaticLine();
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4712 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4715 wxWindow
*arg2
= (wxWindow
*) 0 ;
4717 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4718 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4719 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4720 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4721 long arg6
= (long) wxLI_HORIZONTAL
;
4722 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4723 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4727 bool temp7
= False
;
4728 PyObject
* obj0
= 0 ;
4729 PyObject
* obj1
= 0 ;
4730 PyObject
* obj2
= 0 ;
4731 PyObject
* obj3
= 0 ;
4732 PyObject
* obj4
= 0 ;
4733 PyObject
* obj5
= 0 ;
4734 PyObject
* obj6
= 0 ;
4736 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4744 arg3
= (int) SWIG_AsInt(obj2
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4749 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4755 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4759 arg6
= (long) SWIG_AsLong(obj5
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4764 arg7
= wxString_in_helper(obj6
);
4765 if (arg7
== NULL
) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4793 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
*resultobj
;
4795 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4797 PyObject
* obj0
= 0 ;
4799 (char *) "self", NULL
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4821 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (int)wxStaticLine::GetDefaultSize();
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= SWIG_FromInt((int)result
);
4843 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4846 wxVisualAttributes result
;
4847 PyObject
* obj0
= 0 ;
4849 (char *) "variant", NULL
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4854 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4858 if (!wxPyCheckForApp()) SWIG_fail
;
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4866 wxVisualAttributes
* resultptr
;
4867 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4876 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4879 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4881 return Py_BuildValue((char *)"");
4883 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 wxWindow
*arg1
= (wxWindow
*) 0 ;
4887 wxString
*arg3
= 0 ;
4888 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4889 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4890 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4891 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4892 long arg6
= (long) 0 ;
4893 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4894 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4895 wxStaticText
*result
;
4896 bool temp3
= False
;
4899 bool temp7
= False
;
4900 PyObject
* obj0
= 0 ;
4901 PyObject
* obj1
= 0 ;
4902 PyObject
* obj2
= 0 ;
4903 PyObject
* obj3
= 0 ;
4904 PyObject
* obj4
= 0 ;
4905 PyObject
* obj5
= 0 ;
4906 PyObject
* obj6
= 0 ;
4908 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4914 arg2
= (int) SWIG_AsInt(obj1
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4917 arg3
= wxString_in_helper(obj2
);
4918 if (arg3
== NULL
) SWIG_fail
;
4924 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4930 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4934 arg6
= (long) SWIG_AsLong(obj5
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4939 arg7
= wxString_in_helper(obj6
);
4940 if (arg7
== NULL
) SWIG_fail
;
4945 if (!wxPyCheckForApp()) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4975 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
;
4977 wxStaticText
*result
;
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4984 if (!wxPyCheckForApp()) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (wxStaticText
*)new wxStaticText();
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4998 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
;
5000 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5001 wxWindow
*arg2
= (wxWindow
*) 0 ;
5003 wxString
*arg4
= 0 ;
5004 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5005 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5006 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5007 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5008 long arg7
= (long) 0 ;
5009 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5010 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5012 bool temp4
= False
;
5015 bool temp8
= False
;
5016 PyObject
* obj0
= 0 ;
5017 PyObject
* obj1
= 0 ;
5018 PyObject
* obj2
= 0 ;
5019 PyObject
* obj3
= 0 ;
5020 PyObject
* obj4
= 0 ;
5021 PyObject
* obj5
= 0 ;
5022 PyObject
* obj6
= 0 ;
5023 PyObject
* obj7
= 0 ;
5025 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5033 arg3
= (int) SWIG_AsInt(obj2
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 arg4
= wxString_in_helper(obj3
);
5037 if (arg4
== NULL
) SWIG_fail
;
5043 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5049 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5053 arg7
= (long) SWIG_AsLong(obj6
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5058 arg8
= wxString_in_helper(obj7
);
5059 if (arg8
== NULL
) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5095 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5098 wxVisualAttributes result
;
5099 PyObject
* obj0
= 0 ;
5101 (char *) "variant", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5106 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 if (!wxPyCheckForApp()) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5118 wxVisualAttributes
* resultptr
;
5119 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5128 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5131 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5133 return Py_BuildValue((char *)"");
5135 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxWindow
*arg1
= (wxWindow
*) 0 ;
5139 wxBitmap
*arg3
= 0 ;
5140 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5141 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5142 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5143 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5144 long arg6
= (long) 0 ;
5145 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5146 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5147 wxStaticBitmap
*result
;
5150 bool temp7
= False
;
5151 PyObject
* obj0
= 0 ;
5152 PyObject
* obj1
= 0 ;
5153 PyObject
* obj2
= 0 ;
5154 PyObject
* obj3
= 0 ;
5155 PyObject
* obj4
= 0 ;
5156 PyObject
* obj5
= 0 ;
5157 PyObject
* obj6
= 0 ;
5159 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5165 arg2
= (int) SWIG_AsInt(obj1
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5167 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5171 PyErr_SetString(PyExc_TypeError
,"null reference");
5177 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5183 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5187 arg6
= (long) SWIG_AsLong(obj5
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5192 arg7
= wxString_in_helper(obj6
);
5193 if (arg7
== NULL
) SWIG_fail
;
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5220 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxStaticBitmap
*result
;
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5229 if (!wxPyCheckForApp()) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5243 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5245 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5246 wxWindow
*arg2
= (wxWindow
*) 0 ;
5248 wxBitmap
*arg4
= 0 ;
5249 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5250 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5251 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5252 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5253 long arg7
= (long) 0 ;
5254 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5255 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5259 bool temp8
= False
;
5260 PyObject
* obj0
= 0 ;
5261 PyObject
* obj1
= 0 ;
5262 PyObject
* obj2
= 0 ;
5263 PyObject
* obj3
= 0 ;
5264 PyObject
* obj4
= 0 ;
5265 PyObject
* obj5
= 0 ;
5266 PyObject
* obj6
= 0 ;
5267 PyObject
* obj7
= 0 ;
5269 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5277 arg3
= (int) SWIG_AsInt(obj2
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5279 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5283 PyErr_SetString(PyExc_TypeError
,"null reference");
5289 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5295 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5299 arg7
= (long) SWIG_AsLong(obj6
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5304 arg8
= wxString_in_helper(obj7
);
5305 if (arg8
== NULL
) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5333 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
;
5335 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5337 PyObject
* obj0
= 0 ;
5339 (char *) "self", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= (arg1
)->GetBitmap();
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5353 wxBitmap
* resultptr
;
5354 resultptr
= new wxBitmap((wxBitmap
&) result
);
5355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5363 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5366 wxBitmap
*arg2
= 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5370 (char *) "self",(char *) "bitmap", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5380 PyErr_SetString(PyExc_TypeError
,"null reference");
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5390 Py_INCREF(Py_None
); resultobj
= Py_None
;
5397 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5401 PyObject
* obj0
= 0 ;
5402 PyObject
* obj1
= 0 ;
5404 (char *) "self",(char *) "icon", NULL
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5414 PyErr_SetString(PyExc_TypeError
,"null reference");
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5424 Py_INCREF(Py_None
); resultobj
= Py_None
;
5431 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
;
5433 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5434 wxVisualAttributes result
;
5435 PyObject
* obj0
= 0 ;
5437 (char *) "variant", NULL
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5442 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5446 if (!wxPyCheckForApp()) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5454 wxVisualAttributes
* resultptr
;
5455 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5464 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5467 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5469 return Py_BuildValue((char *)"");
5471 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5472 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5477 static PyObject
*_wrap_ListBoxNameStr_get() {
5482 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5484 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5491 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5493 wxWindow
*arg1
= (wxWindow
*) 0 ;
5495 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5496 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5497 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5498 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5499 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5500 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5501 long arg6
= (long) 0 ;
5502 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5503 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5504 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5505 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5509 bool temp5
= False
;
5510 bool temp8
= False
;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5513 PyObject
* obj2
= 0 ;
5514 PyObject
* obj3
= 0 ;
5515 PyObject
* obj4
= 0 ;
5516 PyObject
* obj5
= 0 ;
5517 PyObject
* obj6
= 0 ;
5518 PyObject
* obj7
= 0 ;
5520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5526 arg2
= (int) SWIG_AsInt(obj1
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5531 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5537 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5542 if (! PySequence_Check(obj4
)) {
5543 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5546 arg5
= new wxArrayString
;
5548 int i
, len
=PySequence_Length(obj4
);
5549 for (i
=0; i
<len
; i
++) {
5550 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5552 PyObject
* str
= PyObject_Unicode(item
);
5554 PyObject
* str
= PyObject_Str(item
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5557 arg5
->Add(Py2wxString(str
));
5564 arg6
= (long) SWIG_AsLong(obj5
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5568 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5572 PyErr_SetString(PyExc_TypeError
,"null reference");
5578 arg8
= wxString_in_helper(obj7
);
5579 if (arg8
== NULL
) SWIG_fail
;
5584 if (!wxPyCheckForApp()) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5593 if (temp5
) delete arg5
;
5602 if (temp5
) delete arg5
;
5612 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
;
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5621 if (!wxPyCheckForApp()) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 result
= (wxListBox
*)new wxListBox();
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5635 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxListBox
*arg1
= (wxListBox
*) 0 ;
5638 wxWindow
*arg2
= (wxWindow
*) 0 ;
5640 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5641 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5642 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5643 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5644 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5645 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5646 long arg7
= (long) 0 ;
5647 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5648 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5649 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5650 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5654 bool temp6
= False
;
5655 bool temp9
= False
;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5658 PyObject
* obj2
= 0 ;
5659 PyObject
* obj3
= 0 ;
5660 PyObject
* obj4
= 0 ;
5661 PyObject
* obj5
= 0 ;
5662 PyObject
* obj6
= 0 ;
5663 PyObject
* obj7
= 0 ;
5664 PyObject
* obj8
= 0 ;
5666 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5674 arg3
= (int) SWIG_AsInt(obj2
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5679 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5685 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5690 if (! PySequence_Check(obj5
)) {
5691 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5694 arg6
= new wxArrayString
;
5696 int i
, len
=PySequence_Length(obj5
);
5697 for (i
=0; i
<len
; i
++) {
5698 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5700 PyObject
* str
= PyObject_Unicode(item
);
5702 PyObject
* str
= PyObject_Str(item
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5705 arg6
->Add(Py2wxString(str
));
5712 arg7
= (long) SWIG_AsLong(obj6
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5716 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5720 PyErr_SetString(PyExc_TypeError
,"null reference");
5726 arg9
= wxString_in_helper(obj8
);
5727 if (arg9
== NULL
) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5742 if (temp6
) delete arg6
;
5751 if (temp6
) delete arg6
;
5761 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
;
5763 wxListBox
*arg1
= (wxListBox
*) 0 ;
5764 wxString
*arg2
= 0 ;
5766 PyObject
*arg4
= (PyObject
*) NULL
;
5767 bool temp2
= False
;
5768 PyObject
* obj0
= 0 ;
5769 PyObject
* obj1
= 0 ;
5770 PyObject
* obj2
= 0 ;
5771 PyObject
* obj3
= 0 ;
5773 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5780 arg2
= wxString_in_helper(obj1
);
5781 if (arg2
== NULL
) SWIG_fail
;
5784 arg3
= (int) SWIG_AsInt(obj2
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 Py_INCREF(Py_None
); resultobj
= Py_None
;
5811 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxListBox
*arg1
= (wxListBox
*) 0 ;
5814 wxArrayString
*arg2
= 0 ;
5816 bool temp2
= False
;
5817 PyObject
* obj0
= 0 ;
5818 PyObject
* obj1
= 0 ;
5819 PyObject
* obj2
= 0 ;
5821 (char *) "self",(char *) "items",(char *) "pos", NULL
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5828 if (! PySequence_Check(obj1
)) {
5829 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5832 arg2
= new wxArrayString
;
5834 int i
, len
=PySequence_Length(obj1
);
5835 for (i
=0; i
<len
; i
++) {
5836 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5838 PyObject
* str
= PyObject_Unicode(item
);
5840 PyObject
* str
= PyObject_Str(item
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5843 arg2
->Add(Py2wxString(str
));
5848 arg3
= (int) SWIG_AsInt(obj2
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 Py_INCREF(Py_None
); resultobj
= Py_None
;
5859 if (temp2
) delete arg2
;
5864 if (temp2
) delete arg2
;
5870 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
;
5872 wxListBox
*arg1
= (wxListBox
*) 0 ;
5873 wxArrayString
*arg2
= 0 ;
5874 bool temp2
= False
;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5878 (char *) "self",(char *) "items", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5885 if (! PySequence_Check(obj1
)) {
5886 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5889 arg2
= new wxArrayString
;
5891 int i
, len
=PySequence_Length(obj1
);
5892 for (i
=0; i
<len
; i
++) {
5893 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5895 PyObject
* str
= PyObject_Unicode(item
);
5897 PyObject
* str
= PyObject_Str(item
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5900 arg2
->Add(Py2wxString(str
));
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 (arg1
)->Set((wxArrayString
const &)*arg2
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 Py_INCREF(Py_None
); resultobj
= Py_None
;
5914 if (temp2
) delete arg2
;
5919 if (temp2
) delete arg2
;
5925 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxListBox
*arg1
= (wxListBox
*) 0 ;
5930 PyObject
* obj0
= 0 ;
5931 PyObject
* obj1
= 0 ;
5933 (char *) "self",(char *) "n", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5939 arg2
= (int) SWIG_AsInt(obj1
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5957 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
;
5959 wxListBox
*arg1
= (wxListBox
*) 0 ;
5961 bool arg3
= (bool) True
;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 PyObject
* obj2
= 0 ;
5966 (char *) "self",(char *) "n",(char *) "select", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5972 arg2
= (int) SWIG_AsInt(obj1
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 arg3
= (bool) SWIG_AsBool(obj2
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 (arg1
)->SetSelection(arg2
,arg3
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5985 Py_INCREF(Py_None
); resultobj
= Py_None
;
5992 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
;
5994 wxListBox
*arg1
= (wxListBox
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5999 (char *) "self",(char *) "n", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6005 arg2
= (int) SWIG_AsInt(obj1
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 (arg1
)->Select(arg2
);
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6014 Py_INCREF(Py_None
); resultobj
= Py_None
;
6021 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
*resultobj
;
6023 wxListBox
*arg1
= (wxListBox
*) 0 ;
6025 PyObject
* obj0
= 0 ;
6026 PyObject
* obj1
= 0 ;
6028 (char *) "self",(char *) "n", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6034 arg2
= (int) SWIG_AsInt(obj1
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 (arg1
)->Deselect(arg2
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 Py_INCREF(Py_None
); resultobj
= Py_None
;
6050 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxListBox
*arg1
= (wxListBox
*) 0 ;
6053 int arg2
= (int) -1 ;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6057 (char *) "self",(char *) "itemToLeaveSelected", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6064 arg2
= (int) SWIG_AsInt(obj1
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 (arg1
)->DeselectAll(arg2
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 Py_INCREF(Py_None
); resultobj
= Py_None
;
6081 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
;
6083 wxListBox
*arg1
= (wxListBox
*) 0 ;
6084 wxString
*arg2
= 0 ;
6085 bool arg3
= (bool) True
;
6087 bool temp2
= False
;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6092 (char *) "self",(char *) "s",(char *) "select", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6099 arg2
= wxString_in_helper(obj1
);
6100 if (arg2
== NULL
) SWIG_fail
;
6104 arg3
= (bool) SWIG_AsBool(obj2
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6131 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
;
6133 wxListBox
*arg1
= (wxListBox
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6137 (char *) "self", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6157 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxListBox
*arg1
= (wxListBox
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6164 (char *) "self",(char *) "n", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 arg2
= (int) SWIG_AsInt(obj1
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetFirstItem(arg2
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 Py_INCREF(Py_None
); resultobj
= Py_None
;
6186 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
;
6188 wxListBox
*arg1
= (wxListBox
*) 0 ;
6189 wxString
*arg2
= 0 ;
6190 bool temp2
= False
;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6194 (char *) "self",(char *) "s", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6201 arg2
= wxString_in_helper(obj1
);
6202 if (arg2
== NULL
) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 Py_INCREF(Py_None
); resultobj
= Py_None
;
6227 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxListBox
*arg1
= (wxListBox
*) 0 ;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6234 (char *) "self",(char *) "n", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6240 arg2
= (int) SWIG_AsInt(obj1
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 (arg1
)->EnsureVisible(arg2
);
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 Py_INCREF(Py_None
); resultobj
= Py_None
;
6256 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxListBox
*arg1
= (wxListBox
*) 0 ;
6259 wxString
*arg2
= 0 ;
6260 bool temp2
= False
;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6264 (char *) "self",(char *) "s", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6271 arg2
= wxString_in_helper(obj1
);
6272 if (arg2
== NULL
) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 Py_INCREF(Py_None
); resultobj
= Py_None
;
6297 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6299 wxListBox
*arg1
= (wxListBox
*) 0 ;
6301 PyObject
* obj0
= 0 ;
6303 (char *) "self", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6325 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
;
6327 wxListBox
*arg1
= (wxListBox
*) 0 ;
6329 wxColour
*arg3
= 0 ;
6331 PyObject
* obj0
= 0 ;
6332 PyObject
* obj1
= 0 ;
6333 PyObject
* obj2
= 0 ;
6335 (char *) "self",(char *) "item",(char *) "c", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6341 arg2
= (int) SWIG_AsInt(obj1
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6345 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 Py_INCREF(Py_None
); resultobj
= Py_None
;
6361 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxListBox
*arg1
= (wxListBox
*) 0 ;
6365 wxColour
*arg3
= 0 ;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6369 PyObject
* obj2
= 0 ;
6371 (char *) "self",(char *) "item",(char *) "c", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 arg2
= (int) SWIG_AsInt(obj1
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6381 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 Py_INCREF(Py_None
); resultobj
= Py_None
;
6397 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 wxListBox
*arg1
= (wxListBox
*) 0 ;
6402 PyObject
* obj0
= 0 ;
6403 PyObject
* obj1
= 0 ;
6404 PyObject
* obj2
= 0 ;
6406 (char *) "self",(char *) "item",(char *) "f", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6412 arg2
= (int) SWIG_AsInt(obj1
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6414 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6418 PyErr_SetString(PyExc_TypeError
,"null reference");
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6428 Py_INCREF(Py_None
); resultobj
= Py_None
;
6435 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
;
6437 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6438 wxVisualAttributes result
;
6439 PyObject
* obj0
= 0 ;
6441 (char *) "variant", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6446 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6450 if (!wxPyCheckForApp()) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6458 wxVisualAttributes
* resultptr
;
6459 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6468 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6471 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6473 return Py_BuildValue((char *)"");
6475 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxWindow
*arg1
= (wxWindow
*) 0 ;
6479 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6480 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6481 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6482 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6483 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6484 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6485 long arg6
= (long) 0 ;
6486 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6487 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6488 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6489 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6490 wxCheckListBox
*result
;
6493 bool temp5
= False
;
6494 bool temp8
= False
;
6495 PyObject
* obj0
= 0 ;
6496 PyObject
* obj1
= 0 ;
6497 PyObject
* obj2
= 0 ;
6498 PyObject
* obj3
= 0 ;
6499 PyObject
* obj4
= 0 ;
6500 PyObject
* obj5
= 0 ;
6501 PyObject
* obj6
= 0 ;
6502 PyObject
* obj7
= 0 ;
6504 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6510 arg2
= (int) SWIG_AsInt(obj1
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6515 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6521 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6526 if (! PySequence_Check(obj4
)) {
6527 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6530 arg5
= new wxArrayString
;
6532 int i
, len
=PySequence_Length(obj4
);
6533 for (i
=0; i
<len
; i
++) {
6534 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6536 PyObject
* str
= PyObject_Unicode(item
);
6538 PyObject
* str
= PyObject_Str(item
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6541 arg5
->Add(Py2wxString(str
));
6548 arg6
= (long) SWIG_AsLong(obj5
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6552 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6556 PyErr_SetString(PyExc_TypeError
,"null reference");
6562 arg8
= wxString_in_helper(obj7
);
6563 if (arg8
== NULL
) SWIG_fail
;
6568 if (!wxPyCheckForApp()) SWIG_fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6577 if (temp5
) delete arg5
;
6586 if (temp5
) delete arg5
;
6596 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
;
6598 wxCheckListBox
*result
;
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6605 if (!wxPyCheckForApp()) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 result
= (wxCheckListBox
*)new wxCheckListBox();
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6619 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6622 wxWindow
*arg2
= (wxWindow
*) 0 ;
6624 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6625 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6626 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6627 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6628 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6629 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6630 long arg7
= (long) 0 ;
6631 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6632 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6633 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6634 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6638 bool temp6
= False
;
6639 bool temp9
= False
;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6642 PyObject
* obj2
= 0 ;
6643 PyObject
* obj3
= 0 ;
6644 PyObject
* obj4
= 0 ;
6645 PyObject
* obj5
= 0 ;
6646 PyObject
* obj6
= 0 ;
6647 PyObject
* obj7
= 0 ;
6648 PyObject
* obj8
= 0 ;
6650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6658 arg3
= (int) SWIG_AsInt(obj2
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6663 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6669 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6674 if (! PySequence_Check(obj5
)) {
6675 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6678 arg6
= new wxArrayString
;
6680 int i
, len
=PySequence_Length(obj5
);
6681 for (i
=0; i
<len
; i
++) {
6682 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6684 PyObject
* str
= PyObject_Unicode(item
);
6686 PyObject
* str
= PyObject_Str(item
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6689 arg6
->Add(Py2wxString(str
));
6696 arg7
= (long) SWIG_AsLong(obj6
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6704 PyErr_SetString(PyExc_TypeError
,"null reference");
6710 arg9
= wxString_in_helper(obj8
);
6711 if (arg9
== NULL
) SWIG_fail
;
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6726 if (temp6
) delete arg6
;
6735 if (temp6
) delete arg6
;
6745 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6747 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6750 PyObject
* obj0
= 0 ;
6751 PyObject
* obj1
= 0 ;
6753 (char *) "self",(char *) "index", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6759 arg2
= (int) SWIG_AsInt(obj1
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 result
= (bool)(arg1
)->IsChecked(arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6777 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6781 int arg3
= (int) True
;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6784 PyObject
* obj2
= 0 ;
6786 (char *) "self",(char *) "index",(char *) "check", NULL
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6792 arg2
= (int) SWIG_AsInt(obj1
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 arg3
= (int) SWIG_AsInt(obj2
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 (arg1
)->Check(arg2
,arg3
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 Py_INCREF(Py_None
); resultobj
= Py_None
;
6812 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6821 (char *) "self",(char *) "pt", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_FromInt((int)result
);
6845 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6853 PyObject
* obj2
= 0 ;
6855 (char *) "self",(char *) "x",(char *) "y", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6861 arg2
= (int) SWIG_AsInt(obj1
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6863 arg3
= (int) SWIG_AsInt(obj2
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= SWIG_FromInt((int)result
);
6879 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6882 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6884 return Py_BuildValue((char *)"");
6886 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6887 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6892 static PyObject
*_wrap_TextCtrlNameStr_get() {
6897 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6899 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6906 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6907 PyObject
*resultobj
;
6910 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (wxTextAttr
*)new wxTextAttr();
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6925 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6926 PyObject
*resultobj
;
6927 wxColour
*arg1
= 0 ;
6928 wxColour
const &arg2_defvalue
= wxNullColour
;
6929 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6930 wxFont
const &arg3_defvalue
= wxNullFont
;
6931 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6932 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6936 PyObject
* obj0
= 0 ;
6937 PyObject
* obj1
= 0 ;
6938 PyObject
* obj2
= 0 ;
6939 PyObject
* obj3
= 0 ;
6941 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6944 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6949 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6953 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6957 PyErr_SetString(PyExc_TypeError
,"null reference");
6962 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6979 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6984 argc
= PyObject_Length(args
);
6985 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6986 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6989 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6991 if ((argc
>= 1) && (argc
<= 4)) {
6994 _v
= wxColour_typecheck(argv
[0]);
6998 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7001 _v
= wxColour_typecheck(argv
[1]);
7005 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7009 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
7018 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7020 _v
= SWIG_CheckInt(argv
[3]);
7022 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7029 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
7034 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
;
7036 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7037 PyObject
* obj0
= 0 ;
7039 (char *) "self", NULL
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 Py_INCREF(Py_None
); resultobj
= Py_None
;
7059 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "self", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 Py_INCREF(Py_None
); resultobj
= Py_None
;
7084 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7087 wxColour
*arg2
= 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7092 (char *) "self",(char *) "colText", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7100 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 Py_INCREF(Py_None
); resultobj
= Py_None
;
7116 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7118 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7119 wxColour
*arg2
= 0 ;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7124 (char *) "self",(char *) "colBack", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7132 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 Py_INCREF(Py_None
); resultobj
= Py_None
;
7148 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7152 long arg3
= (long) wxTEXT_ATTR_FONT
;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7155 PyObject
* obj2
= 0 ;
7157 (char *) "self",(char *) "font",(char *) "flags", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7167 PyErr_SetString(PyExc_TypeError
,"null reference");
7171 arg3
= (long) SWIG_AsLong(obj2
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7195 (char *) "self",(char *) "alignment", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7201 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 Py_INCREF(Py_None
); resultobj
= Py_None
;
7217 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7220 wxArrayInt
*arg2
= 0 ;
7221 bool temp2
= False
;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7225 (char *) "self",(char *) "tabs", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7232 if (! PySequence_Check(obj1
)) {
7233 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7236 arg2
= new wxArrayInt
;
7238 int i
, len
=PySequence_Length(obj1
);
7239 for (i
=0; i
<len
; i
++) {
7240 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7241 PyObject
* number
= PyNumber_Int(item
);
7242 arg2
->Add(PyInt_AS_LONG(number
));
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7256 if (temp2
) delete arg2
;
7261 if (temp2
) delete arg2
;
7267 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7271 int arg3
= (int) 0 ;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7274 PyObject
* obj2
= 0 ;
7276 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7282 arg2
= (int) SWIG_AsInt(obj1
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 arg3
= (int) SWIG_AsInt(obj2
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 (arg1
)->SetLeftIndent(arg2
,arg3
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7302 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7307 PyObject
* obj1
= 0 ;
7309 (char *) "self",(char *) "indent", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7315 arg2
= (int) SWIG_AsInt(obj1
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 (arg1
)->SetRightIndent(arg2
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 Py_INCREF(Py_None
); resultobj
= Py_None
;
7331 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7336 PyObject
* obj1
= 0 ;
7338 (char *) "self",(char *) "flags", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7344 arg2
= (long) SWIG_AsLong(obj1
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 (arg1
)->SetFlags(arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 Py_INCREF(Py_None
); resultobj
= Py_None
;
7360 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7364 PyObject
* obj0
= 0 ;
7366 (char *) "self", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7388 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7394 (char *) "self", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7416 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7420 PyObject
* obj0
= 0 ;
7422 (char *) "self", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7444 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7450 (char *) "self", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7472 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7478 (char *) "self", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7500 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7504 PyObject
* obj0
= 0 ;
7506 (char *) "self", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7528 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7532 PyObject
* obj0
= 0 ;
7534 (char *) "self", NULL
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7556 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7564 (char *) "self",(char *) "flag", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7570 arg2
= (long) SWIG_AsLong(obj1
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7588 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7594 (char *) "self", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7604 result
= (wxColour
*) &_result_ref
;
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7617 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7621 PyObject
* obj0
= 0 ;
7623 (char *) "self", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7633 result
= (wxColour
*) &_result_ref
;
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7646 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7652 (char *) "self", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7662 result
= (wxFont
*) &_result_ref
;
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 wxFont
* resultptr
= new wxFont(*result
);
7670 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7678 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7684 (char *) "self", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= SWIG_FromInt((int)result
);
7704 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7720 result
= (wxArrayInt
*) &_result_ref
;
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= PyList_New(0);
7729 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7730 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7731 PyList_Append(resultobj
, val
);
7741 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 (char *) "self", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= SWIG_FromLong((long)result
);
7767 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7773 (char *) "self", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_FromLong((long)result
);
7793 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
;
7795 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7797 PyObject
* obj0
= 0 ;
7799 (char *) "self", NULL
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_FromLong((long)result
);
7819 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "self", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_FromLong((long)result
);
7845 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7873 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxTextAttr
*arg1
= 0 ;
7876 wxTextAttr
*arg2
= 0 ;
7877 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7880 PyObject
* obj1
= 0 ;
7881 PyObject
* obj2
= 0 ;
7883 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7891 PyErr_SetString(PyExc_TypeError
,"null reference");
7894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7898 PyErr_SetString(PyExc_TypeError
,"null reference");
7901 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7911 wxTextAttr
* resultptr
;
7912 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7921 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7924 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7926 return Py_BuildValue((char *)"");
7928 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxWindow
*arg1
= (wxWindow
*) 0 ;
7932 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7933 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7934 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7935 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7936 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7937 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7938 long arg6
= (long) 0 ;
7939 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7940 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7941 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7942 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7944 bool temp3
= False
;
7947 bool temp8
= False
;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7950 PyObject
* obj2
= 0 ;
7951 PyObject
* obj3
= 0 ;
7952 PyObject
* obj4
= 0 ;
7953 PyObject
* obj5
= 0 ;
7954 PyObject
* obj6
= 0 ;
7955 PyObject
* obj7
= 0 ;
7957 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7963 arg2
= (int) SWIG_AsInt(obj1
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7967 arg3
= wxString_in_helper(obj2
);
7968 if (arg3
== NULL
) SWIG_fail
;
7975 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7981 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7985 arg6
= (long) SWIG_AsLong(obj5
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7989 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7993 PyErr_SetString(PyExc_TypeError
,"null reference");
7999 arg8
= wxString_in_helper(obj7
);
8000 if (arg8
== NULL
) SWIG_fail
;
8005 if (!wxPyCheckForApp()) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= wxPyMake_wxObject(result
);
8037 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8046 if (!wxPyCheckForApp()) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= (wxTextCtrl
*)new wxTextCtrl();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= wxPyMake_wxObject(result
);
8062 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8065 wxWindow
*arg2
= (wxWindow
*) 0 ;
8067 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8068 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8069 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8070 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8071 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8072 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8073 long arg7
= (long) 0 ;
8074 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8075 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8076 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8077 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8079 bool temp4
= False
;
8082 bool temp9
= False
;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8086 PyObject
* obj3
= 0 ;
8087 PyObject
* obj4
= 0 ;
8088 PyObject
* obj5
= 0 ;
8089 PyObject
* obj6
= 0 ;
8090 PyObject
* obj7
= 0 ;
8091 PyObject
* obj8
= 0 ;
8093 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8101 arg3
= (int) SWIG_AsInt(obj2
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8105 arg4
= wxString_in_helper(obj3
);
8106 if (arg4
== NULL
) SWIG_fail
;
8113 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8119 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8123 arg7
= (long) SWIG_AsLong(obj6
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8127 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8131 PyErr_SetString(PyExc_TypeError
,"null reference");
8137 arg9
= wxString_in_helper(obj8
);
8138 if (arg9
== NULL
) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8174 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8180 (char *) "self", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8206 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8209 wxString
*arg2
= 0 ;
8210 bool temp2
= False
;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8214 (char *) "self",(char *) "value", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8221 arg2
= wxString_in_helper(obj1
);
8222 if (arg2
== NULL
) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 (arg1
)->SetValue((wxString
const &)*arg2
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 Py_INCREF(Py_None
); resultobj
= Py_None
;
8247 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
;
8249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8255 PyObject
* obj2
= 0 ;
8257 (char *) "self",(char *) "from",(char *) "to", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8263 arg2
= (long) SWIG_AsLong(obj1
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8265 arg3
= (long) SWIG_AsLong(obj2
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8287 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8292 PyObject
* obj0
= 0 ;
8293 PyObject
* obj1
= 0 ;
8295 (char *) "self",(char *) "lineNo", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8301 arg2
= (long) SWIG_AsLong(obj1
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= SWIG_FromInt((int)result
);
8317 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8325 (char *) "self",(char *) "lineNo", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8331 arg2
= (long) SWIG_AsLong(obj1
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8353 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8357 PyObject
* obj0
= 0 ;
8359 (char *) "self", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= SWIG_FromInt((int)result
);
8379 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8383 PyObject
* obj0
= 0 ;
8385 (char *) "self", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8407 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8413 (char *) "self", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8435 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8441 (char *) "self", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8463 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8467 PyObject
* obj0
= 0 ;
8469 (char *) "self", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8491 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8494 long *arg2
= (long *) 0 ;
8495 long *arg3
= (long *) 0 ;
8498 PyObject
* obj0
= 0 ;
8500 (char *) "self", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 Py_INCREF(Py_None
); resultobj
= Py_None
;
8517 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8518 resultobj
= t_output_helper(resultobj
,o
);
8521 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8522 resultobj
= t_output_helper(resultobj
,o
);
8530 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8534 PyObject
* obj0
= 0 ;
8536 (char *) "self", NULL
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8562 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
;
8564 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8565 PyObject
* obj0
= 0 ;
8567 (char *) "self", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 Py_INCREF(Py_None
); resultobj
= Py_None
;
8587 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8592 wxString
*arg4
= 0 ;
8593 bool temp4
= False
;
8594 PyObject
* obj0
= 0 ;
8595 PyObject
* obj1
= 0 ;
8596 PyObject
* obj2
= 0 ;
8597 PyObject
* obj3
= 0 ;
8599 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 arg2
= (long) SWIG_AsLong(obj1
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8607 arg3
= (long) SWIG_AsLong(obj2
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 arg4
= wxString_in_helper(obj3
);
8611 if (arg4
== NULL
) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 Py_INCREF(Py_None
); resultobj
= Py_None
;
8636 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
;
8638 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8641 PyObject
* obj0
= 0 ;
8642 PyObject
* obj1
= 0 ;
8643 PyObject
* obj2
= 0 ;
8645 (char *) "self",(char *) "from",(char *) "to", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8651 arg2
= (long) SWIG_AsLong(obj1
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8653 arg3
= (long) SWIG_AsLong(obj2
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 (arg1
)->Remove(arg2
,arg3
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 Py_INCREF(Py_None
); resultobj
= Py_None
;
8669 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8672 wxString
*arg2
= 0 ;
8674 bool temp2
= False
;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj1
= 0 ;
8678 (char *) "self",(char *) "file", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8685 arg2
= wxString_in_helper(obj1
);
8686 if (arg2
== NULL
) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8713 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
;
8715 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8716 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8717 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8719 bool temp2
= False
;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8723 (char *) "self",(char *) "file", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8731 arg2
= wxString_in_helper(obj1
);
8732 if (arg2
== NULL
) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8760 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8763 PyObject
* obj0
= 0 ;
8765 (char *) "self", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 (arg1
)->MarkDirty();
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 Py_INCREF(Py_None
); resultobj
= Py_None
;
8785 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8788 PyObject
* obj0
= 0 ;
8790 (char *) "self", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 (arg1
)->DiscardEdits();
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 Py_INCREF(Py_None
); resultobj
= Py_None
;
8810 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8813 unsigned long arg2
;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8817 (char *) "self",(char *) "len", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8823 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 (arg1
)->SetMaxLength(arg2
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 Py_INCREF(Py_None
); resultobj
= Py_None
;
8839 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8842 wxString
*arg2
= 0 ;
8843 bool temp2
= False
;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8847 (char *) "self",(char *) "text", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8854 arg2
= wxString_in_helper(obj1
);
8855 if (arg2
== NULL
) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 (arg1
)->WriteText((wxString
const &)*arg2
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 Py_INCREF(Py_None
); resultobj
= Py_None
;
8880 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8883 wxString
*arg2
= 0 ;
8884 bool temp2
= False
;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8888 (char *) "self",(char *) "text", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8895 arg2
= wxString_in_helper(obj1
);
8896 if (arg2
== NULL
) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 (arg1
)->AppendText((wxString
const &)*arg2
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 Py_INCREF(Py_None
); resultobj
= Py_None
;
8921 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
;
8923 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8924 wxKeyEvent
*arg2
= 0 ;
8926 PyObject
* obj0
= 0 ;
8927 PyObject
* obj1
= 0 ;
8929 (char *) "self",(char *) "event", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8939 PyErr_SetString(PyExc_TypeError
,"null reference");
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8958 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8963 wxTextAttr
*arg4
= 0 ;
8965 PyObject
* obj0
= 0 ;
8966 PyObject
* obj1
= 0 ;
8967 PyObject
* obj2
= 0 ;
8968 PyObject
* obj3
= 0 ;
8970 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8976 arg2
= (long) SWIG_AsLong(obj1
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8978 arg3
= (long) SWIG_AsLong(obj2
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8980 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8984 PyErr_SetString(PyExc_TypeError
,"null reference");
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9003 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9007 wxTextAttr
*arg3
= 0 ;
9009 PyObject
* obj0
= 0 ;
9010 PyObject
* obj1
= 0 ;
9011 PyObject
* obj2
= 0 ;
9013 (char *) "self",(char *) "position",(char *) "style", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9019 arg2
= (long) SWIG_AsLong(obj1
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9021 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9025 PyErr_SetString(PyExc_TypeError
,"null reference");
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9044 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9047 wxTextAttr
*arg2
= 0 ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9052 (char *) "self",(char *) "style", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9062 PyErr_SetString(PyExc_TypeError
,"null reference");
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9081 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9085 PyObject
* obj0
= 0 ;
9087 (char *) "self", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9097 result
= (wxTextAttr
*) &_result_ref
;
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9110 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9118 PyObject
* obj2
= 0 ;
9120 (char *) "self",(char *) "x",(char *) "y", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9126 arg2
= (long) SWIG_AsLong(obj1
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9128 arg3
= (long) SWIG_AsLong(obj2
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_FromLong((long)result
);
9144 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9148 long *arg3
= (long *) 0 ;
9149 long *arg4
= (long *) 0 ;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9155 (char *) "self",(char *) "pos", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 arg2
= (long) SWIG_AsLong(obj1
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 Py_INCREF(Py_None
); resultobj
= Py_None
;
9174 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9175 resultobj
= t_output_helper(resultobj
,o
);
9178 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9179 resultobj
= t_output_helper(resultobj
,o
);
9187 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9189 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9194 (char *) "self",(char *) "pos", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9200 arg2
= (long) SWIG_AsLong(obj1
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 (arg1
)->ShowPosition(arg2
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 Py_INCREF(Py_None
); resultobj
= Py_None
;
9216 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9220 long *arg3
= (long *) 0 ;
9221 long *arg4
= (long *) 0 ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9229 (char *) "self",(char *) "pt", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9239 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_FromInt((int)result
);
9250 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9251 resultobj
= t_output_helper(resultobj
,o
);
9254 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9255 resultobj
= t_output_helper(resultobj
,o
);
9263 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9268 (char *) "self", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9288 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9291 PyObject
* obj0
= 0 ;
9293 (char *) "self", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 Py_INCREF(Py_None
); resultobj
= Py_None
;
9313 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9316 PyObject
* obj0
= 0 ;
9318 (char *) "self", NULL
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 Py_INCREF(Py_None
); resultobj
= Py_None
;
9338 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9342 PyObject
* obj0
= 0 ;
9344 (char *) "self", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9366 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9367 PyObject
*resultobj
;
9368 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9370 PyObject
* obj0
= 0 ;
9372 (char *) "self", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9394 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9398 PyObject
* obj0
= 0 ;
9400 (char *) "self", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9422 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9425 PyObject
* obj0
= 0 ;
9427 (char *) "self", NULL
9430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 Py_INCREF(Py_None
); resultobj
= Py_None
;
9447 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9449 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9450 PyObject
* obj0
= 0 ;
9452 (char *) "self", NULL
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 Py_INCREF(Py_None
); resultobj
= Py_None
;
9472 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
;
9474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9478 (char *) "self", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9500 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9506 (char *) "self", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9528 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9535 (char *) "self",(char *) "pos", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9541 arg2
= (long) SWIG_AsLong(obj1
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 (arg1
)->SetInsertionPoint(arg2
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 Py_INCREF(Py_None
); resultobj
= Py_None
;
9557 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9560 PyObject
* obj0
= 0 ;
9562 (char *) "self", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 (arg1
)->SetInsertionPointEnd();
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 Py_INCREF(Py_None
); resultobj
= Py_None
;
9582 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
;
9584 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9586 PyObject
* obj0
= 0 ;
9588 (char *) "self", NULL
9591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9601 resultobj
= SWIG_FromLong((long)result
);
9608 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9612 PyObject
* obj0
= 0 ;
9614 (char *) "self", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= SWIG_FromLong((long)result
);
9634 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9641 PyObject
* obj2
= 0 ;
9643 (char *) "self",(char *) "from",(char *) "to", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9649 arg2
= (long) SWIG_AsLong(obj1
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9651 arg3
= (long) SWIG_AsLong(obj2
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 (arg1
)->SetSelection(arg2
,arg3
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 Py_INCREF(Py_None
); resultobj
= Py_None
;
9667 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9670 PyObject
* obj0
= 0 ;
9672 (char *) "self", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 (arg1
)->SelectAll();
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 Py_INCREF(Py_None
); resultobj
= Py_None
;
9692 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9699 (char *) "self",(char *) "editable", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9705 arg2
= (bool) SWIG_AsBool(obj1
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 (arg1
)->SetEditable(arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 Py_INCREF(Py_None
); resultobj
= Py_None
;
9721 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9724 wxString
*arg2
= 0 ;
9725 bool temp2
= False
;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9729 (char *) "self",(char *) "text", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9736 arg2
= wxString_in_helper(obj1
);
9737 if (arg2
== NULL
) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9747 Py_INCREF(Py_None
); resultobj
= Py_None
;
9762 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 PyObject
* obj2
= 0 ;
9772 (char *) "self",(char *) "from",(char *) "to", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9778 arg2
= (long) SWIG_AsLong(obj1
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9780 arg3
= (long) SWIG_AsLong(obj2
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9802 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9805 wxVisualAttributes result
;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "variant", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9813 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9817 if (!wxPyCheckForApp()) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9825 wxVisualAttributes
* resultptr
;
9826 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9835 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9838 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9840 return Py_BuildValue((char *)"");
9842 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9845 wxMouseEvent
*arg2
= 0 ;
9848 wxTextUrlEvent
*result
;
9849 PyObject
* obj0
= 0 ;
9850 PyObject
* obj1
= 0 ;
9851 PyObject
* obj2
= 0 ;
9852 PyObject
* obj3
= 0 ;
9854 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9858 arg1
= (int) SWIG_AsInt(obj0
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9864 PyErr_SetString(PyExc_TypeError
,"null reference");
9867 arg3
= (long) SWIG_AsLong(obj2
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9869 arg4
= (long) SWIG_AsLong(obj3
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9885 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9888 wxMouseEvent
*result
;
9889 PyObject
* obj0
= 0 ;
9891 (char *) "self", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9901 result
= (wxMouseEvent
*) &_result_ref
;
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9914 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_FromLong((long)result
);
9940 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "self", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_FromLong((long)result
);
9966 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9969 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9971 return Py_BuildValue((char *)"");
9973 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9974 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9979 static PyObject
*_wrap_ScrollBarNameStr_get() {
9984 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9986 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9993 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
;
9995 wxWindow
*arg1
= (wxWindow
*) 0 ;
9996 int arg2
= (int) -1 ;
9997 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9998 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9999 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10000 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10001 long arg5
= (long) wxSB_HORIZONTAL
;
10002 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10003 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10004 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10005 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10006 wxScrollBar
*result
;
10009 bool temp7
= False
;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 PyObject
* obj2
= 0 ;
10013 PyObject
* obj3
= 0 ;
10014 PyObject
* obj4
= 0 ;
10015 PyObject
* obj5
= 0 ;
10016 PyObject
* obj6
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10025 arg2
= (int) SWIG_AsInt(obj1
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10037 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10041 arg5
= (long) SWIG_AsLong(obj4
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10045 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10048 if (arg6
== NULL
) {
10049 PyErr_SetString(PyExc_TypeError
,"null reference");
10055 arg7
= wxString_in_helper(obj6
);
10056 if (arg7
== NULL
) SWIG_fail
;
10061 if (!wxPyCheckForApp()) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10083 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxScrollBar
*result
;
10086 char *kwnames
[] = {
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10092 if (!wxPyCheckForApp()) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (wxScrollBar
*)new wxScrollBar();
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10106 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10109 wxWindow
*arg2
= (wxWindow
*) 0 ;
10110 int arg3
= (int) -1 ;
10111 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10112 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10113 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10114 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10115 long arg6
= (long) wxSB_HORIZONTAL
;
10116 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10117 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10118 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10119 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10123 bool temp8
= False
;
10124 PyObject
* obj0
= 0 ;
10125 PyObject
* obj1
= 0 ;
10126 PyObject
* obj2
= 0 ;
10127 PyObject
* obj3
= 0 ;
10128 PyObject
* obj4
= 0 ;
10129 PyObject
* obj5
= 0 ;
10130 PyObject
* obj6
= 0 ;
10131 PyObject
* obj7
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10142 arg3
= (int) SWIG_AsInt(obj2
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10148 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10154 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10158 arg6
= (long) SWIG_AsLong(obj5
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10162 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10165 if (arg7
== NULL
) {
10166 PyErr_SetString(PyExc_TypeError
,"null reference");
10172 arg8
= wxString_in_helper(obj7
);
10173 if (arg8
== NULL
) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10201 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
*resultobj
;
10203 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10205 PyObject
* obj0
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_FromInt((int)result
);
10227 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
;
10229 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 char *kwnames
[] = {
10233 (char *) "self", NULL
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= SWIG_FromInt((int)result
);
10253 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
*resultobj
;
10255 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10257 PyObject
* obj0
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "self", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_FromInt((int)result
);
10279 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10281 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= SWIG_FromInt((int)result
);
10305 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
;
10307 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10309 PyObject
* obj0
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "self", NULL
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10333 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 PyObject
* obj1
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self",(char *) "viewStart", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 arg2
= (int) SWIG_AsInt(obj1
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 (arg1
)->SetThumbPosition(arg2
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 Py_INCREF(Py_None
); resultobj
= Py_None
;
10362 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10369 bool arg6
= (bool) True
;
10370 PyObject
* obj0
= 0 ;
10371 PyObject
* obj1
= 0 ;
10372 PyObject
* obj2
= 0 ;
10373 PyObject
* obj3
= 0 ;
10374 PyObject
* obj4
= 0 ;
10375 PyObject
* obj5
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 arg2
= (int) SWIG_AsInt(obj1
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10385 arg3
= (int) SWIG_AsInt(obj2
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10387 arg4
= (int) SWIG_AsInt(obj3
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10389 arg5
= (int) SWIG_AsInt(obj4
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 arg6
= (bool) SWIG_AsBool(obj5
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 Py_INCREF(Py_None
); resultobj
= Py_None
;
10409 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10412 wxVisualAttributes result
;
10413 PyObject
* obj0
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "variant", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10420 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10424 if (!wxPyCheckForApp()) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10432 wxVisualAttributes
* resultptr
;
10433 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10442 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10445 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10447 return Py_BuildValue((char *)"");
10449 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10450 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10455 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10460 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10462 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10469 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10470 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10475 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10480 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10482 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10489 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxWindow
*arg1
= (wxWindow
*) 0 ;
10492 int arg2
= (int) -1 ;
10493 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10494 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10495 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10496 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10497 long arg5
= (long) wxSP_HORIZONTAL
;
10498 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10499 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10500 wxSpinButton
*result
;
10503 bool temp6
= False
;
10504 PyObject
* obj0
= 0 ;
10505 PyObject
* obj1
= 0 ;
10506 PyObject
* obj2
= 0 ;
10507 PyObject
* obj3
= 0 ;
10508 PyObject
* obj4
= 0 ;
10509 PyObject
* obj5
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 arg2
= (int) SWIG_AsInt(obj1
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10524 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10530 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10534 arg5
= (long) SWIG_AsLong(obj4
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10539 arg6
= wxString_in_helper(obj5
);
10540 if (arg6
== NULL
) SWIG_fail
;
10545 if (!wxPyCheckForApp()) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10567 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 wxSpinButton
*result
;
10570 char *kwnames
[] = {
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10576 if (!wxPyCheckForApp()) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (wxSpinButton
*)new wxSpinButton();
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10590 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10593 wxWindow
*arg2
= (wxWindow
*) 0 ;
10594 int arg3
= (int) -1 ;
10595 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10596 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10597 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10598 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10599 long arg6
= (long) wxSP_HORIZONTAL
;
10600 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10601 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10605 bool temp7
= False
;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 PyObject
* obj3
= 0 ;
10610 PyObject
* obj4
= 0 ;
10611 PyObject
* obj5
= 0 ;
10612 PyObject
* obj6
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10623 arg3
= (int) SWIG_AsInt(obj2
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10629 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10635 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10639 arg6
= (long) SWIG_AsLong(obj5
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10644 arg7
= wxString_in_helper(obj6
);
10645 if (arg7
== NULL
) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10673 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10675 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10677 PyObject
* obj0
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= SWIG_FromInt((int)result
);
10699 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10703 PyObject
* obj0
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= SWIG_FromInt((int)result
);
10725 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10729 PyObject
* obj0
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= SWIG_FromInt((int)result
);
10751 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10755 PyObject
* obj0
= 0 ;
10756 PyObject
* obj1
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self",(char *) "val", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10764 arg2
= (int) SWIG_AsInt(obj1
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 (arg1
)->SetValue(arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 Py_INCREF(Py_None
); resultobj
= Py_None
;
10780 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self",(char *) "minVal", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10793 arg2
= (int) SWIG_AsInt(obj1
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->SetMin(arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 Py_INCREF(Py_None
); resultobj
= Py_None
;
10809 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "self",(char *) "maxVal", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10822 arg2
= (int) SWIG_AsInt(obj1
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 (arg1
)->SetMax(arg2
);
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 Py_INCREF(Py_None
); resultobj
= Py_None
;
10838 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10840 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 PyObject
* obj2
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 arg2
= (int) SWIG_AsInt(obj1
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10855 arg3
= (int) SWIG_AsInt(obj2
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 (arg1
)->SetRange(arg2
,arg3
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10864 Py_INCREF(Py_None
); resultobj
= Py_None
;
10871 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
;
10873 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10875 PyObject
* obj0
= 0 ;
10876 char *kwnames
[] = {
10877 (char *) "self", NULL
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10899 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10902 wxVisualAttributes result
;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "variant", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10910 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 if (!wxPyCheckForApp()) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10922 wxVisualAttributes
* resultptr
;
10923 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10932 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10935 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10937 return Py_BuildValue((char *)"");
10939 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxWindow
*arg1
= (wxWindow
*) 0 ;
10942 int arg2
= (int) -1 ;
10943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10949 long arg6
= (long) wxSP_ARROW_KEYS
;
10950 int arg7
= (int) 0 ;
10951 int arg8
= (int) 100 ;
10952 int arg9
= (int) 0 ;
10953 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10954 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10955 wxSpinCtrl
*result
;
10956 bool temp3
= False
;
10959 bool temp10
= False
;
10960 PyObject
* obj0
= 0 ;
10961 PyObject
* obj1
= 0 ;
10962 PyObject
* obj2
= 0 ;
10963 PyObject
* obj3
= 0 ;
10964 PyObject
* obj4
= 0 ;
10965 PyObject
* obj5
= 0 ;
10966 PyObject
* obj6
= 0 ;
10967 PyObject
* obj7
= 0 ;
10968 PyObject
* obj8
= 0 ;
10969 PyObject
* obj9
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10978 arg2
= (int) SWIG_AsInt(obj1
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10983 arg3
= wxString_in_helper(obj2
);
10984 if (arg3
== NULL
) SWIG_fail
;
10991 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10997 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11001 arg6
= (long) SWIG_AsLong(obj5
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 arg7
= (int) SWIG_AsInt(obj6
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11009 arg8
= (int) SWIG_AsInt(obj7
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11013 arg9
= (int) SWIG_AsInt(obj8
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11018 arg10
= wxString_in_helper(obj9
);
11019 if (arg10
== NULL
) SWIG_fail
;
11024 if (!wxPyCheckForApp()) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11054 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
;
11056 wxSpinCtrl
*result
;
11057 char *kwnames
[] = {
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11063 if (!wxPyCheckForApp()) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11077 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11080 wxWindow
*arg2
= (wxWindow
*) 0 ;
11081 int arg3
= (int) -1 ;
11082 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11083 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11084 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11085 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11086 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11087 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11088 long arg7
= (long) wxSP_ARROW_KEYS
;
11089 int arg8
= (int) 0 ;
11090 int arg9
= (int) 100 ;
11091 int arg10
= (int) 0 ;
11092 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11093 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11095 bool temp4
= False
;
11098 bool temp11
= False
;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 PyObject
* obj2
= 0 ;
11102 PyObject
* obj3
= 0 ;
11103 PyObject
* obj4
= 0 ;
11104 PyObject
* obj5
= 0 ;
11105 PyObject
* obj6
= 0 ;
11106 PyObject
* obj7
= 0 ;
11107 PyObject
* obj8
= 0 ;
11108 PyObject
* obj9
= 0 ;
11109 PyObject
* obj10
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11120 arg3
= (int) SWIG_AsInt(obj2
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11125 arg4
= wxString_in_helper(obj3
);
11126 if (arg4
== NULL
) SWIG_fail
;
11133 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11139 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11143 arg7
= (long) SWIG_AsLong(obj6
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11147 arg8
= (int) SWIG_AsInt(obj7
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 arg9
= (int) SWIG_AsInt(obj8
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11155 arg10
= (int) SWIG_AsInt(obj9
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11160 arg11
= wxString_in_helper(obj10
);
11161 if (arg11
== NULL
) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11197 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= SWIG_FromInt((int)result
);
11223 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
*resultobj
;
11225 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 char *kwnames
[] = {
11230 (char *) "self",(char *) "value", NULL
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11236 arg2
= (int) SWIG_AsInt(obj1
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 (arg1
)->SetValue(arg2
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 Py_INCREF(Py_None
); resultobj
= Py_None
;
11252 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11255 wxString
*arg2
= 0 ;
11256 bool temp2
= False
;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self",(char *) "text", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 arg2
= wxString_in_helper(obj1
);
11268 if (arg2
== NULL
) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 (arg1
)->SetValue((wxString
const &)*arg2
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 Py_INCREF(Py_None
); resultobj
= Py_None
;
11293 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 PyObject
* obj1
= 0 ;
11300 PyObject
* obj2
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11308 arg2
= (int) SWIG_AsInt(obj1
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11310 arg3
= (int) SWIG_AsInt(obj2
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 (arg1
)->SetRange(arg2
,arg3
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 Py_INCREF(Py_None
); resultobj
= Py_None
;
11326 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= SWIG_FromInt((int)result
);
11352 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
;
11354 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_FromInt((int)result
);
11378 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 PyObject
* obj2
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "self",(char *) "from",(char *) "to", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11393 arg2
= (long) SWIG_AsLong(obj1
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11395 arg3
= (long) SWIG_AsLong(obj2
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 (arg1
)->SetSelection(arg2
,arg3
);
11401 wxPyEndAllowThreads(__tstate
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 Py_INCREF(Py_None
); resultobj
= Py_None
;
11411 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
;
11413 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11414 wxVisualAttributes result
;
11415 PyObject
* obj0
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "variant", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11422 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11426 if (!wxPyCheckForApp()) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11434 wxVisualAttributes
* resultptr
;
11435 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11444 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11447 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11449 return Py_BuildValue((char *)"");
11451 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11454 int arg2
= (int) 0 ;
11455 wxSpinEvent
*result
;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "commandType",(char *) "winid", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11464 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11468 arg2
= (int) SWIG_AsInt(obj1
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11485 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11489 PyObject
* obj0
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 resultobj
= SWIG_FromInt((int)result
);
11511 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 PyObject
* obj1
= 0 ;
11517 char *kwnames
[] = {
11518 (char *) "self",(char *) "pos", NULL
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11524 arg2
= (int) SWIG_AsInt(obj1
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 (arg1
)->SetPosition(arg2
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 Py_INCREF(Py_None
); resultobj
= Py_None
;
11540 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11543 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11545 return Py_BuildValue((char *)"");
11547 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11548 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11553 static PyObject
*_wrap_RadioBoxNameStr_get() {
11558 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11560 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11567 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11568 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11573 static PyObject
*_wrap_RadioButtonNameStr_get() {
11578 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11580 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11587 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
;
11589 wxWindow
*arg1
= (wxWindow
*) 0 ;
11591 wxString
*arg3
= 0 ;
11592 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11593 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11594 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11595 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11596 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11597 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11598 int arg7
= (int) 0 ;
11599 long arg8
= (long) wxRA_HORIZONTAL
;
11600 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11601 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11602 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11603 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11604 wxRadioBox
*result
;
11605 bool temp3
= False
;
11608 bool temp6
= False
;
11609 bool temp10
= False
;
11610 PyObject
* obj0
= 0 ;
11611 PyObject
* obj1
= 0 ;
11612 PyObject
* obj2
= 0 ;
11613 PyObject
* obj3
= 0 ;
11614 PyObject
* obj4
= 0 ;
11615 PyObject
* obj5
= 0 ;
11616 PyObject
* obj6
= 0 ;
11617 PyObject
* obj7
= 0 ;
11618 PyObject
* obj8
= 0 ;
11619 PyObject
* obj9
= 0 ;
11620 char *kwnames
[] = {
11621 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11627 arg2
= (int) SWIG_AsInt(obj1
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 arg3
= wxString_in_helper(obj2
);
11631 if (arg3
== NULL
) SWIG_fail
;
11637 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11643 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11648 if (! PySequence_Check(obj5
)) {
11649 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11652 arg6
= new wxArrayString
;
11654 int i
, len
=PySequence_Length(obj5
);
11655 for (i
=0; i
<len
; i
++) {
11656 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11658 PyObject
* str
= PyObject_Unicode(item
);
11660 PyObject
* str
= PyObject_Str(item
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11663 arg6
->Add(Py2wxString(str
));
11670 arg7
= (int) SWIG_AsInt(obj6
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11674 arg8
= (long) SWIG_AsLong(obj7
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11678 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11681 if (arg9
== NULL
) {
11682 PyErr_SetString(PyExc_TypeError
,"null reference");
11688 arg10
= wxString_in_helper(obj9
);
11689 if (arg10
== NULL
) SWIG_fail
;
11694 if (!wxPyCheckForApp()) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 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
);
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11707 if (temp6
) delete arg6
;
11720 if (temp6
) delete arg6
;
11730 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
;
11732 wxRadioBox
*result
;
11733 char *kwnames
[] = {
11737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11739 if (!wxPyCheckForApp()) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (wxRadioBox
*)new wxRadioBox();
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11753 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
;
11755 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11756 wxWindow
*arg2
= (wxWindow
*) 0 ;
11758 wxString
*arg4
= 0 ;
11759 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11760 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11761 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11762 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11763 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11764 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11765 int arg8
= (int) 0 ;
11766 long arg9
= (long) wxRA_HORIZONTAL
;
11767 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11768 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11769 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11770 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11772 bool temp4
= False
;
11775 bool temp7
= False
;
11776 bool temp11
= False
;
11777 PyObject
* obj0
= 0 ;
11778 PyObject
* obj1
= 0 ;
11779 PyObject
* obj2
= 0 ;
11780 PyObject
* obj3
= 0 ;
11781 PyObject
* obj4
= 0 ;
11782 PyObject
* obj5
= 0 ;
11783 PyObject
* obj6
= 0 ;
11784 PyObject
* obj7
= 0 ;
11785 PyObject
* obj8
= 0 ;
11786 PyObject
* obj9
= 0 ;
11787 PyObject
* obj10
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11797 arg3
= (int) SWIG_AsInt(obj2
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 arg4
= wxString_in_helper(obj3
);
11801 if (arg4
== NULL
) SWIG_fail
;
11807 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11813 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11818 if (! PySequence_Check(obj6
)) {
11819 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11822 arg7
= new wxArrayString
;
11824 int i
, len
=PySequence_Length(obj6
);
11825 for (i
=0; i
<len
; i
++) {
11826 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11828 PyObject
* str
= PyObject_Unicode(item
);
11830 PyObject
* str
= PyObject_Str(item
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11833 arg7
->Add(Py2wxString(str
));
11840 arg8
= (int) SWIG_AsInt(obj7
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 arg9
= (long) SWIG_AsLong(obj8
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11848 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11851 if (arg10
== NULL
) {
11852 PyErr_SetString(PyExc_TypeError
,"null reference");
11858 arg11
= wxString_in_helper(obj10
);
11859 if (arg11
== NULL
) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 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
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11878 if (temp7
) delete arg7
;
11891 if (temp7
) delete arg7
;
11901 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
*resultobj
;
11903 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self",(char *) "n", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11914 arg2
= (int) SWIG_AsInt(obj1
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 (arg1
)->SetSelection(arg2
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 Py_INCREF(Py_None
); resultobj
= Py_None
;
11930 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11934 PyObject
* obj0
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "self", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= SWIG_FromInt((int)result
);
11956 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
;
11958 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11960 PyObject
* obj0
= 0 ;
11961 char *kwnames
[] = {
11962 (char *) "self", NULL
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11988 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11991 wxString
*arg2
= 0 ;
11993 bool temp2
= False
;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self",(char *) "s", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12004 arg2
= wxString_in_helper(obj1
);
12005 if (arg2
== NULL
) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12032 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
;
12034 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12036 PyObject
* obj0
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_FromInt((int)result
);
12058 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12061 wxString
*arg2
= 0 ;
12063 bool temp2
= False
;
12064 PyObject
* obj0
= 0 ;
12065 PyObject
* obj1
= 0 ;
12066 char *kwnames
[] = {
12067 (char *) "self",(char *) "s", NULL
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12074 arg2
= wxString_in_helper(obj1
);
12075 if (arg2
== NULL
) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_FromInt((int)result
);
12100 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
;
12102 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 PyObject
* obj1
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self",(char *) "n", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12114 arg2
= (int) SWIG_AsInt(obj1
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12136 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12140 wxString
*arg3
= 0 ;
12141 bool temp3
= False
;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 PyObject
* obj2
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self",(char *) "n",(char *) "label", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12152 arg2
= (int) SWIG_AsInt(obj1
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 arg3
= wxString_in_helper(obj2
);
12156 if (arg3
== NULL
) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 Py_INCREF(Py_None
); resultobj
= Py_None
;
12181 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12185 bool arg3
= (bool) True
;
12186 PyObject
* obj0
= 0 ;
12187 PyObject
* obj1
= 0 ;
12188 PyObject
* obj2
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self",(char *) "n",(char *) "enable", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12196 arg2
= (int) SWIG_AsInt(obj1
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 arg3
= (bool) SWIG_AsBool(obj2
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 (arg1
)->Enable(arg2
,arg3
);
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 Py_INCREF(Py_None
); resultobj
= Py_None
;
12216 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12220 bool arg3
= (bool) True
;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 PyObject
* obj2
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self",(char *) "n",(char *) "show", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12231 arg2
= (int) SWIG_AsInt(obj1
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 arg3
= (bool) SWIG_AsBool(obj2
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 (arg1
)->Show(arg2
,arg3
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 Py_INCREF(Py_None
); resultobj
= Py_None
;
12251 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= SWIG_FromInt((int)result
);
12277 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12278 PyObject
*resultobj
;
12279 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12281 PyObject
* obj0
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= SWIG_FromInt((int)result
);
12303 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12310 PyObject
* obj0
= 0 ;
12311 PyObject
* obj1
= 0 ;
12312 PyObject
* obj2
= 0 ;
12313 PyObject
* obj3
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12321 arg2
= (int) SWIG_AsInt(obj1
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12323 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12325 arg4
= (long) SWIG_AsLong(obj3
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= SWIG_FromInt((int)result
);
12341 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12344 wxVisualAttributes result
;
12345 PyObject
* obj0
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "variant", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12352 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12356 if (!wxPyCheckForApp()) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12364 wxVisualAttributes
* resultptr
;
12365 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12374 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12377 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12379 return Py_BuildValue((char *)"");
12381 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxWindow
*arg1
= (wxWindow
*) 0 ;
12385 wxString
*arg3
= 0 ;
12386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12390 long arg6
= (long) 0 ;
12391 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12392 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12393 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12394 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12395 wxRadioButton
*result
;
12396 bool temp3
= False
;
12399 bool temp8
= False
;
12400 PyObject
* obj0
= 0 ;
12401 PyObject
* obj1
= 0 ;
12402 PyObject
* obj2
= 0 ;
12403 PyObject
* obj3
= 0 ;
12404 PyObject
* obj4
= 0 ;
12405 PyObject
* obj5
= 0 ;
12406 PyObject
* obj6
= 0 ;
12407 PyObject
* obj7
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12415 arg2
= (int) SWIG_AsInt(obj1
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 arg3
= wxString_in_helper(obj2
);
12419 if (arg3
== NULL
) SWIG_fail
;
12425 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12431 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12435 arg6
= (long) SWIG_AsLong(obj5
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12439 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12442 if (arg7
== NULL
) {
12443 PyErr_SetString(PyExc_TypeError
,"null reference");
12449 arg8
= wxString_in_helper(obj7
);
12450 if (arg8
== NULL
) SWIG_fail
;
12455 if (!wxPyCheckForApp()) SWIG_fail
;
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12485 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxRadioButton
*result
;
12488 char *kwnames
[] = {
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12494 if (!wxPyCheckForApp()) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (wxRadioButton
*)new wxRadioButton();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12508 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12511 wxWindow
*arg2
= (wxWindow
*) 0 ;
12513 wxString
*arg4
= 0 ;
12514 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12515 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12516 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12517 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12518 long arg7
= (long) 0 ;
12519 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12520 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12521 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12522 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12524 bool temp4
= False
;
12527 bool temp9
= False
;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 PyObject
* obj2
= 0 ;
12531 PyObject
* obj3
= 0 ;
12532 PyObject
* obj4
= 0 ;
12533 PyObject
* obj5
= 0 ;
12534 PyObject
* obj6
= 0 ;
12535 PyObject
* obj7
= 0 ;
12536 PyObject
* obj8
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12546 arg3
= (int) SWIG_AsInt(obj2
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 arg4
= wxString_in_helper(obj3
);
12550 if (arg4
== NULL
) SWIG_fail
;
12556 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12562 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12566 arg7
= (long) SWIG_AsLong(obj6
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12570 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12573 if (arg8
== NULL
) {
12574 PyErr_SetString(PyExc_TypeError
,"null reference");
12580 arg9
= wxString_in_helper(obj8
);
12581 if (arg9
== NULL
) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12617 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
;
12619 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12621 PyObject
* obj0
= 0 ;
12622 char *kwnames
[] = {
12623 (char *) "self", NULL
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (bool)(arg1
)->GetValue();
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12645 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self",(char *) "value", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12658 arg2
= (bool) SWIG_AsBool(obj1
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 (arg1
)->SetValue(arg2
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 Py_INCREF(Py_None
); resultobj
= Py_None
;
12674 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12677 wxVisualAttributes result
;
12678 PyObject
* obj0
= 0 ;
12679 char *kwnames
[] = {
12680 (char *) "variant", NULL
12683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12685 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12689 if (!wxPyCheckForApp()) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12697 wxVisualAttributes
* resultptr
;
12698 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12707 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12710 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12712 return Py_BuildValue((char *)"");
12714 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12715 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12720 static PyObject
*_wrap_SliderNameStr_get() {
12725 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12727 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12734 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxWindow
*arg1
= (wxWindow
*) 0 ;
12741 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12742 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12743 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12744 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12745 long arg8
= (long) wxSL_HORIZONTAL
;
12746 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12747 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12748 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12749 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12753 bool temp10
= False
;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 PyObject
* obj2
= 0 ;
12757 PyObject
* obj3
= 0 ;
12758 PyObject
* obj4
= 0 ;
12759 PyObject
* obj5
= 0 ;
12760 PyObject
* obj6
= 0 ;
12761 PyObject
* obj7
= 0 ;
12762 PyObject
* obj8
= 0 ;
12763 PyObject
* obj9
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12771 arg2
= (int) SWIG_AsInt(obj1
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12773 arg3
= (int) SWIG_AsInt(obj2
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12775 arg4
= (int) SWIG_AsInt(obj3
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12777 arg5
= (int) SWIG_AsInt(obj4
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12782 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12788 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12792 arg8
= (long) SWIG_AsLong(obj7
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12799 if (arg9
== NULL
) {
12800 PyErr_SetString(PyExc_TypeError
,"null reference");
12806 arg10
= wxString_in_helper(obj9
);
12807 if (arg10
== NULL
) SWIG_fail
;
12812 if (!wxPyCheckForApp()) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12834 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12837 char *kwnames
[] = {
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12843 if (!wxPyCheckForApp()) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (wxSlider
*)new wxSlider();
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12857 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
;
12859 wxSlider
*arg1
= (wxSlider
*) 0 ;
12860 wxWindow
*arg2
= (wxWindow
*) 0 ;
12865 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12866 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12867 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12868 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12869 long arg9
= (long) wxSL_HORIZONTAL
;
12870 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12871 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12872 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12873 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12877 bool temp11
= False
;
12878 PyObject
* obj0
= 0 ;
12879 PyObject
* obj1
= 0 ;
12880 PyObject
* obj2
= 0 ;
12881 PyObject
* obj3
= 0 ;
12882 PyObject
* obj4
= 0 ;
12883 PyObject
* obj5
= 0 ;
12884 PyObject
* obj6
= 0 ;
12885 PyObject
* obj7
= 0 ;
12886 PyObject
* obj8
= 0 ;
12887 PyObject
* obj9
= 0 ;
12888 PyObject
* obj10
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12898 arg3
= (int) SWIG_AsInt(obj2
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12900 arg4
= (int) SWIG_AsInt(obj3
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12902 arg5
= (int) SWIG_AsInt(obj4
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12904 arg6
= (int) SWIG_AsInt(obj5
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12909 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12915 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12919 arg9
= (long) SWIG_AsLong(obj8
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12923 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12926 if (arg10
== NULL
) {
12927 PyErr_SetString(PyExc_TypeError
,"null reference");
12933 arg11
= wxString_in_helper(obj10
);
12934 if (arg11
== NULL
) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12962 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxSlider
*arg1
= (wxSlider
*) 0 ;
12966 PyObject
* obj0
= 0 ;
12967 char *kwnames
[] = {
12968 (char *) "self", NULL
12971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_FromInt((int)result
);
12988 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
;
12990 wxSlider
*arg1
= (wxSlider
*) 0 ;
12992 PyObject
* obj0
= 0 ;
12993 PyObject
* obj1
= 0 ;
12994 char *kwnames
[] = {
12995 (char *) "self",(char *) "value", NULL
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13001 arg2
= (int) SWIG_AsInt(obj1
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 (arg1
)->SetValue(arg2
);
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13010 Py_INCREF(Py_None
); resultobj
= Py_None
;
13017 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxSlider
*arg1
= (wxSlider
*) 0 ;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 PyObject
* obj2
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13032 arg2
= (int) SWIG_AsInt(obj1
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13034 arg3
= (int) SWIG_AsInt(obj2
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 (arg1
)->SetRange(arg2
,arg3
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 Py_INCREF(Py_None
); resultobj
= Py_None
;
13050 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxSlider
*arg1
= (wxSlider
*) 0 ;
13054 PyObject
* obj0
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "self", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_FromInt((int)result
);
13076 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxSlider
*arg1
= (wxSlider
*) 0 ;
13080 PyObject
* obj0
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "self", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= SWIG_FromInt((int)result
);
13102 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxSlider
*arg1
= (wxSlider
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self",(char *) "minValue", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13115 arg2
= (int) SWIG_AsInt(obj1
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 (arg1
)->SetMin(arg2
);
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 Py_INCREF(Py_None
); resultobj
= Py_None
;
13131 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13133 wxSlider
*arg1
= (wxSlider
*) 0 ;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 char *kwnames
[] = {
13138 (char *) "self",(char *) "maxValue", NULL
13141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13144 arg2
= (int) SWIG_AsInt(obj1
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 (arg1
)->SetMax(arg2
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 Py_INCREF(Py_None
); resultobj
= Py_None
;
13160 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13161 PyObject
*resultobj
;
13162 wxSlider
*arg1
= (wxSlider
*) 0 ;
13164 PyObject
* obj0
= 0 ;
13165 PyObject
* obj1
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self",(char *) "lineSize", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13173 arg2
= (int) SWIG_AsInt(obj1
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 (arg1
)->SetLineSize(arg2
);
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 Py_INCREF(Py_None
); resultobj
= Py_None
;
13189 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
;
13191 wxSlider
*arg1
= (wxSlider
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "self",(char *) "pageSize", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13202 arg2
= (int) SWIG_AsInt(obj1
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 (arg1
)->SetPageSize(arg2
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 Py_INCREF(Py_None
); resultobj
= Py_None
;
13218 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
;
13220 wxSlider
*arg1
= (wxSlider
*) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= SWIG_FromInt((int)result
);
13244 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxSlider
*arg1
= (wxSlider
*) 0 ;
13248 PyObject
* obj0
= 0 ;
13249 char *kwnames
[] = {
13250 (char *) "self", NULL
13253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_FromInt((int)result
);
13270 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxSlider
*arg1
= (wxSlider
*) 0 ;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self",(char *) "lenPixels", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13283 arg2
= (int) SWIG_AsInt(obj1
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 (arg1
)->SetThumbLength(arg2
);
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 Py_INCREF(Py_None
); resultobj
= Py_None
;
13299 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxSlider
*arg1
= (wxSlider
*) 0 ;
13303 PyObject
* obj0
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 resultobj
= SWIG_FromInt((int)result
);
13325 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxSlider
*arg1
= (wxSlider
*) 0 ;
13329 int arg3
= (int) 1 ;
13330 PyObject
* obj0
= 0 ;
13331 PyObject
* obj1
= 0 ;
13332 PyObject
* obj2
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "n",(char *) "pos", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13340 arg2
= (int) SWIG_AsInt(obj1
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 arg3
= (int) SWIG_AsInt(obj2
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 (arg1
)->SetTickFreq(arg2
,arg3
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 Py_INCREF(Py_None
); resultobj
= Py_None
;
13360 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
;
13362 wxSlider
*arg1
= (wxSlider
*) 0 ;
13364 PyObject
* obj0
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "self", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= SWIG_FromInt((int)result
);
13386 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
;
13388 wxSlider
*arg1
= (wxSlider
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 (arg1
)->ClearTicks();
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 Py_INCREF(Py_None
); resultobj
= Py_None
;
13411 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
;
13413 wxSlider
*arg1
= (wxSlider
*) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 PyObject
* obj1
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self",(char *) "tickPos", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13424 arg2
= (int) SWIG_AsInt(obj1
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 (arg1
)->SetTick(arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 Py_INCREF(Py_None
); resultobj
= Py_None
;
13440 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxSlider
*arg1
= (wxSlider
*) 0 ;
13443 PyObject
* obj0
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 (arg1
)->ClearSel();
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 Py_INCREF(Py_None
); resultobj
= Py_None
;
13465 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
;
13467 wxSlider
*arg1
= (wxSlider
*) 0 ;
13469 PyObject
* obj0
= 0 ;
13470 char *kwnames
[] = {
13471 (char *) "self", NULL
13474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= SWIG_FromInt((int)result
);
13491 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
;
13493 wxSlider
*arg1
= (wxSlider
*) 0 ;
13495 PyObject
* obj0
= 0 ;
13496 char *kwnames
[] = {
13497 (char *) "self", NULL
13500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= SWIG_FromInt((int)result
);
13517 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13518 PyObject
*resultobj
;
13519 wxSlider
*arg1
= (wxSlider
*) 0 ;
13522 PyObject
* obj0
= 0 ;
13523 PyObject
* obj1
= 0 ;
13524 PyObject
* obj2
= 0 ;
13525 char *kwnames
[] = {
13526 (char *) "self",(char *) "min",(char *) "max", NULL
13529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13532 arg2
= (int) SWIG_AsInt(obj1
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13534 arg3
= (int) SWIG_AsInt(obj2
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 (arg1
)->SetSelection(arg2
,arg3
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 Py_INCREF(Py_None
); resultobj
= Py_None
;
13550 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13553 wxVisualAttributes result
;
13554 PyObject
* obj0
= 0 ;
13555 char *kwnames
[] = {
13556 (char *) "variant", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13561 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13565 if (!wxPyCheckForApp()) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13573 wxVisualAttributes
* resultptr
;
13574 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13583 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13586 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13588 return Py_BuildValue((char *)"");
13590 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13591 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13596 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13601 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13603 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13610 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxWindow
*arg1
= (wxWindow
*) 0 ;
13614 wxString
*arg3
= 0 ;
13615 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13616 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13617 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13618 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13619 long arg6
= (long) 0 ;
13620 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13621 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13622 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13623 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13624 wxToggleButton
*result
;
13625 bool temp3
= False
;
13628 bool temp8
= False
;
13629 PyObject
* obj0
= 0 ;
13630 PyObject
* obj1
= 0 ;
13631 PyObject
* obj2
= 0 ;
13632 PyObject
* obj3
= 0 ;
13633 PyObject
* obj4
= 0 ;
13634 PyObject
* obj5
= 0 ;
13635 PyObject
* obj6
= 0 ;
13636 PyObject
* obj7
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13644 arg2
= (int) SWIG_AsInt(obj1
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 arg3
= wxString_in_helper(obj2
);
13648 if (arg3
== NULL
) SWIG_fail
;
13654 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13660 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13664 arg6
= (long) SWIG_AsLong(obj5
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13668 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13671 if (arg7
== NULL
) {
13672 PyErr_SetString(PyExc_TypeError
,"null reference");
13678 arg8
= wxString_in_helper(obj7
);
13679 if (arg8
== NULL
) SWIG_fail
;
13684 if (!wxPyCheckForApp()) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13714 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxToggleButton
*result
;
13717 char *kwnames
[] = {
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13723 if (!wxPyCheckForApp()) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 result
= (wxToggleButton
*)new wxToggleButton();
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13737 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13740 wxWindow
*arg2
= (wxWindow
*) 0 ;
13742 wxString
*arg4
= 0 ;
13743 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13744 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13745 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13746 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13747 long arg7
= (long) 0 ;
13748 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13749 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13750 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13751 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13753 bool temp4
= False
;
13756 bool temp9
= False
;
13757 PyObject
* obj0
= 0 ;
13758 PyObject
* obj1
= 0 ;
13759 PyObject
* obj2
= 0 ;
13760 PyObject
* obj3
= 0 ;
13761 PyObject
* obj4
= 0 ;
13762 PyObject
* obj5
= 0 ;
13763 PyObject
* obj6
= 0 ;
13764 PyObject
* obj7
= 0 ;
13765 PyObject
* obj8
= 0 ;
13766 char *kwnames
[] = {
13767 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13775 arg3
= (int) SWIG_AsInt(obj2
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13778 arg4
= wxString_in_helper(obj3
);
13779 if (arg4
== NULL
) SWIG_fail
;
13785 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13791 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13795 arg7
= (long) SWIG_AsLong(obj6
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13799 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13802 if (arg8
== NULL
) {
13803 PyErr_SetString(PyExc_TypeError
,"null reference");
13809 arg9
= wxString_in_helper(obj8
);
13810 if (arg9
== NULL
) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13846 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
;
13848 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13850 PyObject
* obj0
= 0 ;
13851 PyObject
* obj1
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self",(char *) "value", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13859 arg2
= (bool) SWIG_AsBool(obj1
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 (arg1
)->SetValue(arg2
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 Py_INCREF(Py_None
); resultobj
= Py_None
;
13875 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
;
13877 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13879 PyObject
* obj0
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13903 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13906 wxString
*arg2
= 0 ;
13907 bool temp2
= False
;
13908 PyObject
* obj0
= 0 ;
13909 PyObject
* obj1
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self",(char *) "label", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13918 arg2
= wxString_in_helper(obj1
);
13919 if (arg2
== NULL
) SWIG_fail
;
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 (arg1
)->SetLabel((wxString
const &)*arg2
);
13926 wxPyEndAllowThreads(__tstate
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13929 Py_INCREF(Py_None
); resultobj
= Py_None
;
13944 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
;
13946 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13947 wxVisualAttributes result
;
13948 PyObject
* obj0
= 0 ;
13949 char *kwnames
[] = {
13950 (char *) "variant", NULL
13953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13955 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13959 if (!wxPyCheckForApp()) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13967 wxVisualAttributes
* resultptr
;
13968 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13977 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13980 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13982 return Py_BuildValue((char *)"");
13984 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13985 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13990 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13995 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13997 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14004 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
;
14006 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14030 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14035 PyObject
* obj0
= 0 ;
14036 PyObject
* obj1
= 0 ;
14037 char *kwnames
[] = {
14038 (char *) "self",(char *) "n", NULL
14041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14044 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= wxPyMake_wxObject(result
);
14062 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14066 PyObject
* obj0
= 0 ;
14067 char *kwnames
[] = {
14068 (char *) "self", NULL
14071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= SWIG_FromInt((int)result
);
14088 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14092 wxString
*arg3
= 0 ;
14094 bool temp3
= False
;
14095 PyObject
* obj0
= 0 ;
14096 PyObject
* obj1
= 0 ;
14097 PyObject
* obj2
= 0 ;
14098 char *kwnames
[] = {
14099 (char *) "self",(char *) "n",(char *) "strText", NULL
14102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14105 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 arg3
= wxString_in_helper(obj2
);
14109 if (arg3
== NULL
) SWIG_fail
;
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14136 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
;
14138 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 PyObject
* obj1
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self",(char *) "n", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14150 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14172 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14175 wxImageList
*arg2
= (wxImageList
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 PyObject
* obj1
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self",(char *) "imageList", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 (arg1
)->SetImageList(arg2
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 Py_INCREF(Py_None
); resultobj
= Py_None
;
14201 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14204 wxImageList
*arg2
= (wxImageList
*) 0 ;
14205 PyObject
* obj0
= 0 ;
14206 PyObject
* obj1
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self",(char *) "imageList", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14215 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 (arg1
)->AssignImageList(arg2
);
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 Py_INCREF(Py_None
); resultobj
= Py_None
;
14230 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14233 wxImageList
*result
;
14234 PyObject
* obj0
= 0 ;
14235 char *kwnames
[] = {
14236 (char *) "self", NULL
14239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14250 resultobj
= wxPyMake_wxObject(result
);
14258 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
;
14260 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14263 PyObject
* obj0
= 0 ;
14264 PyObject
* obj1
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "self",(char *) "n", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14272 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= SWIG_FromInt((int)result
);
14288 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14294 PyObject
* obj0
= 0 ;
14295 PyObject
* obj1
= 0 ;
14296 PyObject
* obj2
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "self",(char *) "n",(char *) "imageId", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14304 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14306 arg3
= (int) SWIG_AsInt(obj2
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14324 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14325 PyObject
*resultobj
;
14326 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 PyObject
* obj1
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self",(char *) "size", NULL
14335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14340 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 Py_INCREF(Py_None
); resultobj
= Py_None
;
14356 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
;
14358 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14362 PyObject
* obj0
= 0 ;
14363 PyObject
* obj1
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self",(char *) "sizePage", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14373 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14383 wxSize
* resultptr
;
14384 resultptr
= new wxSize((wxSize
&) result
);
14385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14393 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 PyObject
* obj1
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self",(char *) "n", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14407 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (bool)(arg1
)->DeletePage(arg2
);
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14425 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14430 PyObject
* obj0
= 0 ;
14431 PyObject
* obj1
= 0 ;
14432 char *kwnames
[] = {
14433 (char *) "self",(char *) "n", NULL
14436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14439 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (bool)(arg1
)->RemovePage(arg2
);
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14457 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (bool)(arg1
)->DeleteAllPages();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14485 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
*resultobj
;
14487 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14488 wxWindow
*arg2
= (wxWindow
*) 0 ;
14489 wxString
*arg3
= 0 ;
14490 bool arg4
= (bool) False
;
14491 int arg5
= (int) -1 ;
14493 bool temp3
= False
;
14494 PyObject
* obj0
= 0 ;
14495 PyObject
* obj1
= 0 ;
14496 PyObject
* obj2
= 0 ;
14497 PyObject
* obj3
= 0 ;
14498 PyObject
* obj4
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 arg3
= wxString_in_helper(obj2
);
14510 if (arg3
== NULL
) SWIG_fail
;
14514 arg4
= (bool) SWIG_AsBool(obj3
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14518 arg5
= (int) SWIG_AsInt(obj4
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14545 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
;
14547 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14549 wxWindow
*arg3
= (wxWindow
*) 0 ;
14550 wxString
*arg4
= 0 ;
14551 bool arg5
= (bool) False
;
14552 int arg6
= (int) -1 ;
14554 bool temp4
= False
;
14555 PyObject
* obj0
= 0 ;
14556 PyObject
* obj1
= 0 ;
14557 PyObject
* obj2
= 0 ;
14558 PyObject
* obj3
= 0 ;
14559 PyObject
* obj4
= 0 ;
14560 PyObject
* obj5
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14568 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14570 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14573 arg4
= wxString_in_helper(obj3
);
14574 if (arg4
== NULL
) SWIG_fail
;
14578 arg5
= (bool) SWIG_AsBool(obj4
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14582 arg6
= (int) SWIG_AsInt(obj5
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14609 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self",(char *) "n", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14623 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= (int)(arg1
)->SetSelection(arg2
);
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= SWIG_FromInt((int)result
);
14639 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14642 bool arg2
= (bool) True
;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self",(char *) "forward", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14653 arg2
= (bool) SWIG_AsBool(obj1
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 (arg1
)->AdvanceSelection(arg2
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 Py_INCREF(Py_None
); resultobj
= Py_None
;
14670 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14673 wxVisualAttributes result
;
14674 PyObject
* obj0
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "variant", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14681 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14685 if (!wxPyCheckForApp()) SWIG_fail
;
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14693 wxVisualAttributes
* resultptr
;
14694 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14703 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14706 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14708 return Py_BuildValue((char *)"");
14710 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
;
14712 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14713 int arg2
= (int) 0 ;
14714 int arg3
= (int) -1 ;
14715 int arg4
= (int) -1 ;
14716 wxBookCtrlEvent
*result
;
14717 PyObject
* obj0
= 0 ;
14718 PyObject
* obj1
= 0 ;
14719 PyObject
* obj2
= 0 ;
14720 PyObject
* obj3
= 0 ;
14721 char *kwnames
[] = {
14722 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14727 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14731 arg2
= (int) SWIG_AsInt(obj1
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14735 arg3
= (int) SWIG_AsInt(obj2
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14739 arg4
= (int) SWIG_AsInt(obj3
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14756 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 resultobj
= SWIG_FromInt((int)result
);
14782 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14786 PyObject
* obj0
= 0 ;
14787 PyObject
* obj1
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "self",(char *) "nSel", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14795 arg2
= (int) SWIG_AsInt(obj1
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 (arg1
)->SetSelection(arg2
);
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 Py_INCREF(Py_None
); resultobj
= Py_None
;
14811 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14815 PyObject
* obj0
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "self", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_FromInt((int)result
);
14837 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 PyObject
* obj1
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self",(char *) "nOldSel", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14850 arg2
= (int) SWIG_AsInt(obj1
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 (arg1
)->SetOldSelection(arg2
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 Py_INCREF(Py_None
); resultobj
= Py_None
;
14866 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14869 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14871 return Py_BuildValue((char *)"");
14873 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxWindow
*arg1
= (wxWindow
*) 0 ;
14876 int arg2
= (int) -1 ;
14877 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14878 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14879 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14880 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14881 long arg5
= (long) 0 ;
14882 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14883 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14884 wxNotebook
*result
;
14887 bool temp6
= False
;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 PyObject
* obj2
= 0 ;
14891 PyObject
* obj3
= 0 ;
14892 PyObject
* obj4
= 0 ;
14893 PyObject
* obj5
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 arg2
= (int) SWIG_AsInt(obj1
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14908 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14914 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14918 arg5
= (long) SWIG_AsLong(obj4
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14923 arg6
= wxString_in_helper(obj5
);
14924 if (arg6
== NULL
) SWIG_fail
;
14929 if (!wxPyCheckForApp()) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= wxPyMake_wxObject(result
);
14953 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxNotebook
*result
;
14956 char *kwnames
[] = {
14960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14962 if (!wxPyCheckForApp()) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (wxNotebook
*)new wxNotebook();
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= wxPyMake_wxObject(result
);
14978 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14981 wxWindow
*arg2
= (wxWindow
*) 0 ;
14983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14987 long arg6
= (long) 0 ;
14988 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14989 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14993 bool temp7
= False
;
14994 PyObject
* obj0
= 0 ;
14995 PyObject
* obj1
= 0 ;
14996 PyObject
* obj2
= 0 ;
14997 PyObject
* obj3
= 0 ;
14998 PyObject
* obj4
= 0 ;
14999 PyObject
* obj5
= 0 ;
15000 PyObject
* obj6
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15010 arg3
= (int) SWIG_AsInt(obj2
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15015 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15021 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15025 arg6
= (long) SWIG_AsLong(obj5
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15030 arg7
= wxString_in_helper(obj6
);
15031 if (arg7
== NULL
) SWIG_fail
;
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15059 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= SWIG_FromInt((int)result
);
15085 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self",(char *) "padding", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15101 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 Py_INCREF(Py_None
); resultobj
= Py_None
;
15117 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 PyObject
* obj1
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self",(char *) "sz", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15142 Py_INCREF(Py_None
); resultobj
= Py_None
;
15149 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15152 wxPoint
*arg2
= 0 ;
15153 long *arg3
= (long *) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "self",(char *) "pt", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15169 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= SWIG_FromInt((int)result
);
15180 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15181 resultobj
= t_output_helper(resultobj
,o
);
15189 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self",(char *) "sizePage", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15206 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15216 wxSize
* resultptr
;
15217 resultptr
= new wxSize((wxSize
&) result
);
15218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15226 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15229 wxVisualAttributes result
;
15230 PyObject
* obj0
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "variant", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15237 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15241 if (!wxPyCheckForApp()) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15249 wxVisualAttributes
* resultptr
;
15250 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15259 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15262 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15264 return Py_BuildValue((char *)"");
15266 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15269 int arg2
= (int) 0 ;
15270 int arg3
= (int) -1 ;
15271 int arg4
= (int) -1 ;
15272 wxNotebookEvent
*result
;
15273 PyObject
* obj0
= 0 ;
15274 PyObject
* obj1
= 0 ;
15275 PyObject
* obj2
= 0 ;
15276 PyObject
* obj3
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15283 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15287 arg2
= (int) SWIG_AsInt(obj1
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15291 arg3
= (int) SWIG_AsInt(obj2
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15295 arg4
= (int) SWIG_AsInt(obj3
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15312 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15315 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15317 return Py_BuildValue((char *)"");
15319 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 wxWindow
*arg1
= (wxWindow
*) 0 ;
15322 int arg2
= (int) -1 ;
15323 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15324 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15325 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15326 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15327 long arg5
= (long) 0 ;
15328 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15329 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15330 wxListbook
*result
;
15333 bool temp6
= False
;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 PyObject
* obj2
= 0 ;
15337 PyObject
* obj3
= 0 ;
15338 PyObject
* obj4
= 0 ;
15339 PyObject
* obj5
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15348 arg2
= (int) SWIG_AsInt(obj1
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15354 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15360 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15364 arg5
= (long) SWIG_AsLong(obj4
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15369 arg6
= wxString_in_helper(obj5
);
15370 if (arg6
== NULL
) SWIG_fail
;
15375 if (!wxPyCheckForApp()) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15397 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
;
15399 wxListbook
*result
;
15400 char *kwnames
[] = {
15404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15406 if (!wxPyCheckForApp()) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 result
= (wxListbook
*)new wxListbook();
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15420 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 wxListbook
*arg1
= (wxListbook
*) 0 ;
15423 wxWindow
*arg2
= (wxWindow
*) 0 ;
15425 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15426 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15427 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15428 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15429 long arg6
= (long) 0 ;
15430 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15431 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15435 bool temp7
= False
;
15436 PyObject
* obj0
= 0 ;
15437 PyObject
* obj1
= 0 ;
15438 PyObject
* obj2
= 0 ;
15439 PyObject
* obj3
= 0 ;
15440 PyObject
* obj4
= 0 ;
15441 PyObject
* obj5
= 0 ;
15442 PyObject
* obj6
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15452 arg3
= (int) SWIG_AsInt(obj2
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15467 arg6
= (long) SWIG_AsLong(obj5
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15472 arg7
= wxString_in_helper(obj6
);
15473 if (arg7
== NULL
) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15501 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxListbook
*arg1
= (wxListbook
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15529 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15532 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15534 return Py_BuildValue((char *)"");
15536 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15539 int arg2
= (int) 0 ;
15540 int arg3
= (int) -1 ;
15541 int arg4
= (int) -1 ;
15542 wxListbookEvent
*result
;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 PyObject
* obj2
= 0 ;
15546 PyObject
* obj3
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15553 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15557 arg2
= (int) SWIG_AsInt(obj1
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15561 arg3
= (int) SWIG_AsInt(obj2
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15565 arg4
= (int) SWIG_AsInt(obj3
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15582 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15585 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15587 return Py_BuildValue((char *)"");
15589 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
;
15591 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15592 wxBookCtrlSizer
*result
;
15593 PyObject
* obj0
= 0 ;
15594 char *kwnames
[] = {
15595 (char *) "nb", NULL
15598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15615 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15617 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15618 PyObject
* obj0
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 (arg1
)->RecalcSizes();
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 Py_INCREF(Py_None
); resultobj
= Py_None
;
15640 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15644 PyObject
* obj0
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "self", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 result
= (arg1
)->CalcMin();
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15660 wxSize
* resultptr
;
15661 resultptr
= new wxSize((wxSize
&) result
);
15662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15670 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
;
15672 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15673 wxBookCtrl
*result
;
15674 PyObject
* obj0
= 0 ;
15675 char *kwnames
[] = {
15676 (char *) "self", NULL
15679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15696 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15698 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15699 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15701 return Py_BuildValue((char *)"");
15703 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15706 wxNotebookSizer
*result
;
15707 PyObject
* obj0
= 0 ;
15708 char *kwnames
[] = {
15709 (char *) "nb", NULL
15712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15729 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 (arg1
)->RecalcSizes();
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15747 Py_INCREF(Py_None
); resultobj
= Py_None
;
15754 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15758 PyObject
* obj0
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "self", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 result
= (arg1
)->CalcMin();
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15774 wxSize
* resultptr
;
15775 resultptr
= new wxSize((wxSize
&) result
);
15776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15784 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
;
15786 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15787 wxNotebook
*result
;
15788 PyObject
* obj0
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15804 resultobj
= wxPyMake_wxObject(result
);
15812 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15815 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15817 return Py_BuildValue((char *)"");
15819 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15820 PyObject
*resultobj
;
15821 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15823 PyObject
* obj0
= 0 ;
15824 char *kwnames
[] = {
15825 (char *) "self", NULL
15828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 result
= (int)(arg1
)->GetId();
15835 wxPyEndAllowThreads(__tstate
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= SWIG_FromInt((int)result
);
15845 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15849 PyObject
* obj0
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 result
= (wxControl
*)(arg1
)->GetControl();
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= wxPyMake_wxObject(result
);
15873 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15876 wxToolBarBase
*result
;
15877 PyObject
* obj0
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "self", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= wxPyMake_wxObject(result
);
15901 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "self", NULL
15910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (int)(arg1
)->IsButton();
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= SWIG_FromInt((int)result
);
15927 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15928 PyObject
*resultobj
;
15929 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15931 PyObject
* obj0
= 0 ;
15932 char *kwnames
[] = {
15933 (char *) "self", NULL
15936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (int)(arg1
)->IsControl();
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= SWIG_FromInt((int)result
);
15953 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15957 PyObject
* obj0
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 result
= (int)(arg1
)->IsSeparator();
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= SWIG_FromInt((int)result
);
15979 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15983 PyObject
* obj0
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= (int)(arg1
)->GetStyle();
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15998 resultobj
= SWIG_FromInt((int)result
);
16005 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16009 PyObject
* obj0
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "self", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 result
= (int)(arg1
)->GetKind();
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16024 resultobj
= SWIG_FromInt((int)result
);
16031 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16035 PyObject
* obj0
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "self", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (bool)(arg1
)->IsEnabled();
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16059 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16063 PyObject
* obj0
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "self", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (bool)(arg1
)->IsToggled();
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16087 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (bool)(arg1
)->CanBeToggled();
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16115 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16119 PyObject
* obj0
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16131 result
= (wxBitmap
*) &_result_ref
;
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16138 wxBitmap
* resultptr
= new wxBitmap(*result
);
16139 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16147 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16163 result
= (wxBitmap
*) &_result_ref
;
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 wxBitmap
* resultptr
= new wxBitmap(*result
);
16171 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16179 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
;
16181 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16183 PyObject
* obj0
= 0 ;
16184 char *kwnames
[] = {
16185 (char *) "self", NULL
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 result
= (arg1
)->GetBitmap();
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16199 wxBitmap
* resultptr
;
16200 resultptr
= new wxBitmap((wxBitmap
&) result
);
16201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16209 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (arg1
)->GetLabel();
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16241 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(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_GetShortHelp",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
= (arg1
)->GetShortHelp();
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16273 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 result
= (arg1
)->GetLongHelp();
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16305 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16310 PyObject
* obj0
= 0 ;
16311 PyObject
* obj1
= 0 ;
16312 char *kwnames
[] = {
16313 (char *) "self",(char *) "enable", NULL
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16319 arg2
= (bool) SWIG_AsBool(obj1
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 result
= (bool)(arg1
)->Enable(arg2
);
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16337 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16339 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16340 PyObject
* obj0
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "self", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16355 Py_INCREF(Py_None
); resultobj
= Py_None
;
16362 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
;
16364 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16367 PyObject
* obj0
= 0 ;
16368 PyObject
* obj1
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "toggle", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16376 arg2
= (bool) SWIG_AsBool(obj1
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 result
= (bool)(arg1
)->SetToggle(arg2
);
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16394 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
;
16396 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16397 wxString
*arg2
= 0 ;
16399 bool temp2
= False
;
16400 PyObject
* obj0
= 0 ;
16401 PyObject
* obj1
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "self",(char *) "help", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16410 arg2
= wxString_in_helper(obj1
);
16411 if (arg2
== NULL
) SWIG_fail
;
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16438 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16441 wxString
*arg2
= 0 ;
16443 bool temp2
= False
;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self",(char *) "help", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16454 arg2
= wxString_in_helper(obj1
);
16455 if (arg2
== NULL
) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16482 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16483 PyObject
*resultobj
;
16484 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16485 wxBitmap
*arg2
= 0 ;
16486 PyObject
* obj0
= 0 ;
16487 PyObject
* obj1
= 0 ;
16488 char *kwnames
[] = {
16489 (char *) "self",(char *) "bmp", NULL
16492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16498 if (arg2
== NULL
) {
16499 PyErr_SetString(PyExc_TypeError
,"null reference");
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 Py_INCREF(Py_None
); resultobj
= Py_None
;
16516 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16519 wxBitmap
*arg2
= 0 ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self",(char *) "bmp", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16532 if (arg2
== NULL
) {
16533 PyErr_SetString(PyExc_TypeError
,"null reference");
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 Py_INCREF(Py_None
); resultobj
= Py_None
;
16550 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
;
16552 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16553 wxString
*arg2
= 0 ;
16554 bool temp2
= False
;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self",(char *) "label", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16565 arg2
= wxString_in_helper(obj1
);
16566 if (arg2
== NULL
) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 (arg1
)->SetLabel((wxString
const &)*arg2
);
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16576 Py_INCREF(Py_None
); resultobj
= Py_None
;
16591 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16594 PyObject
* obj0
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 Py_INCREF(Py_None
); resultobj
= Py_None
;
16616 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16619 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self",(char *) "tbar", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 (arg1
)->Attach(arg2
);
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 Py_INCREF(Py_None
); resultobj
= Py_None
;
16645 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16659 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16661 wxPyEndAllowThreads(__tstate
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16664 resultobj
= result
;
16671 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16674 PyObject
*arg2
= (PyObject
*) 0 ;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self",(char *) "clientData", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 Py_INCREF(Py_None
); resultobj
= Py_None
;
16699 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16702 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16704 return Py_BuildValue((char *)"");
16706 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16710 wxString
*arg3
= 0 ;
16711 wxBitmap
*arg4
= 0 ;
16712 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16713 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16714 int arg6
= (int) wxITEM_NORMAL
;
16715 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16716 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16717 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16718 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16719 PyObject
*arg9
= (PyObject
*) NULL
;
16720 wxToolBarToolBase
*result
;
16721 bool temp3
= False
;
16722 bool temp7
= False
;
16723 bool temp8
= False
;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 PyObject
* obj2
= 0 ;
16727 PyObject
* obj3
= 0 ;
16728 PyObject
* obj4
= 0 ;
16729 PyObject
* obj5
= 0 ;
16730 PyObject
* obj6
= 0 ;
16731 PyObject
* obj7
= 0 ;
16732 PyObject
* obj8
= 0 ;
16733 char *kwnames
[] = {
16734 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16740 arg2
= (int) SWIG_AsInt(obj1
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 arg3
= wxString_in_helper(obj2
);
16744 if (arg3
== NULL
) SWIG_fail
;
16747 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16750 if (arg4
== NULL
) {
16751 PyErr_SetString(PyExc_TypeError
,"null reference");
16755 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16758 if (arg5
== NULL
) {
16759 PyErr_SetString(PyExc_TypeError
,"null reference");
16764 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16769 arg7
= wxString_in_helper(obj6
);
16770 if (arg7
== NULL
) SWIG_fail
;
16776 arg8
= wxString_in_helper(obj7
);
16777 if (arg8
== NULL
) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= wxPyMake_wxObject(result
);
16824 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16829 wxString
*arg4
= 0 ;
16830 wxBitmap
*arg5
= 0 ;
16831 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16832 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16833 int arg7
= (int) wxITEM_NORMAL
;
16834 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16835 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16836 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16837 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16838 PyObject
*arg10
= (PyObject
*) NULL
;
16839 wxToolBarToolBase
*result
;
16840 bool temp4
= False
;
16841 bool temp8
= False
;
16842 bool temp9
= False
;
16843 PyObject
* obj0
= 0 ;
16844 PyObject
* obj1
= 0 ;
16845 PyObject
* obj2
= 0 ;
16846 PyObject
* obj3
= 0 ;
16847 PyObject
* obj4
= 0 ;
16848 PyObject
* obj5
= 0 ;
16849 PyObject
* obj6
= 0 ;
16850 PyObject
* obj7
= 0 ;
16851 PyObject
* obj8
= 0 ;
16852 PyObject
* obj9
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16860 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16862 arg3
= (int) SWIG_AsInt(obj2
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 arg4
= wxString_in_helper(obj3
);
16866 if (arg4
== NULL
) SWIG_fail
;
16869 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16870 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16872 if (arg5
== NULL
) {
16873 PyErr_SetString(PyExc_TypeError
,"null reference");
16877 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16880 if (arg6
== NULL
) {
16881 PyErr_SetString(PyExc_TypeError
,"null reference");
16886 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16891 arg8
= wxString_in_helper(obj7
);
16892 if (arg8
== NULL
) SWIG_fail
;
16898 arg9
= wxString_in_helper(obj8
);
16899 if (arg9
== NULL
) SWIG_fail
;
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 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
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16914 resultobj
= wxPyMake_wxObject(result
);
16946 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16949 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16950 wxToolBarToolBase
*result
;
16951 PyObject
* obj0
= 0 ;
16952 PyObject
* obj1
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self",(char *) "tool", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= wxPyMake_wxObject(result
);
16978 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16980 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16982 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16983 wxToolBarToolBase
*result
;
16984 PyObject
* obj0
= 0 ;
16985 PyObject
* obj1
= 0 ;
16986 PyObject
* obj2
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self",(char *) "pos",(char *) "tool", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16994 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16996 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= wxPyMake_wxObject(result
);
17014 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17017 wxControl
*arg2
= (wxControl
*) 0 ;
17018 wxToolBarToolBase
*result
;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 char *kwnames
[] = {
17022 (char *) "self",(char *) "control", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= wxPyMake_wxObject(result
);
17046 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17050 wxControl
*arg3
= (wxControl
*) 0 ;
17051 wxToolBarToolBase
*result
;
17052 PyObject
* obj0
= 0 ;
17053 PyObject
* obj1
= 0 ;
17054 PyObject
* obj2
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self",(char *) "pos",(char *) "control", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17062 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17064 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17068 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17074 resultobj
= wxPyMake_wxObject(result
);
17082 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 PyObject
* obj1
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "self",(char *) "id", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17096 arg2
= (int) SWIG_AsInt(obj1
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= wxPyMake_wxObject(result
);
17114 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17117 wxToolBarToolBase
*result
;
17118 PyObject
* obj0
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= wxPyMake_wxObject(result
);
17142 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17146 wxToolBarToolBase
*result
;
17147 PyObject
* obj0
= 0 ;
17148 PyObject
* obj1
= 0 ;
17149 char *kwnames
[] = {
17150 (char *) "self",(char *) "pos", NULL
17153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17156 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= wxPyMake_wxObject(result
);
17174 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17178 wxToolBarToolBase
*result
;
17179 PyObject
* obj0
= 0 ;
17180 PyObject
* obj1
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "id", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17188 arg2
= (int) SWIG_AsInt(obj1
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= wxPyMake_wxObject(result
);
17206 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17211 PyObject
* obj0
= 0 ;
17212 PyObject
* obj1
= 0 ;
17213 char *kwnames
[] = {
17214 (char *) "self",(char *) "pos", NULL
17217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17220 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17238 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "self",(char *) "id", NULL
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17252 arg2
= (int) SWIG_AsInt(obj1
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (bool)(arg1
)->DeleteTool(arg2
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17270 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17273 PyObject
* obj0
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 (arg1
)->ClearTools();
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 Py_INCREF(Py_None
); resultobj
= Py_None
;
17295 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17296 PyObject
*resultobj
;
17297 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17299 PyObject
* obj0
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "self", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (bool)(arg1
)->Realize();
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17323 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17324 PyObject
*resultobj
;
17325 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17328 PyObject
* obj0
= 0 ;
17329 PyObject
* obj1
= 0 ;
17330 PyObject
* obj2
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self",(char *) "id",(char *) "enable", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 arg2
= (int) SWIG_AsInt(obj1
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17340 arg3
= (bool) SWIG_AsBool(obj2
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 (arg1
)->EnableTool(arg2
,arg3
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 Py_INCREF(Py_None
); resultobj
= Py_None
;
17356 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17361 PyObject
* obj0
= 0 ;
17362 PyObject
* obj1
= 0 ;
17363 PyObject
* obj2
= 0 ;
17364 char *kwnames
[] = {
17365 (char *) "self",(char *) "id",(char *) "toggle", NULL
17368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17371 arg2
= (int) SWIG_AsInt(obj1
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17373 arg3
= (bool) SWIG_AsBool(obj2
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 (arg1
)->ToggleTool(arg2
,arg3
);
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17382 Py_INCREF(Py_None
); resultobj
= Py_None
;
17389 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17391 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17394 PyObject
* obj0
= 0 ;
17395 PyObject
* obj1
= 0 ;
17396 PyObject
* obj2
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self",(char *) "id",(char *) "toggle", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17404 arg2
= (int) SWIG_AsInt(obj1
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17406 arg3
= (bool) SWIG_AsBool(obj2
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17410 (arg1
)->SetToggle(arg2
,arg3
);
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 Py_INCREF(Py_None
); resultobj
= Py_None
;
17422 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
;
17424 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 PyObject
* obj1
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self",(char *) "id", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17436 arg2
= (int) SWIG_AsInt(obj1
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= result
;
17452 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17456 PyObject
*arg3
= (PyObject
*) 0 ;
17457 PyObject
* obj0
= 0 ;
17458 PyObject
* obj1
= 0 ;
17459 PyObject
* obj2
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self",(char *) "id",(char *) "clientData", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17467 arg2
= (int) SWIG_AsInt(obj1
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17477 Py_INCREF(Py_None
); resultobj
= Py_None
;
17484 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self",(char *) "id", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 arg2
= (int) SWIG_AsInt(obj1
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= SWIG_FromInt((int)result
);
17514 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self",(char *) "id", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17528 arg2
= (int) SWIG_AsInt(obj1
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 result
= (bool)(arg1
)->GetToolState(arg2
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17546 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
;
17548 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 char *kwnames
[] = {
17554 (char *) "self",(char *) "id", NULL
17557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17560 arg2
= (int) SWIG_AsInt(obj1
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17578 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
;
17580 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17582 wxString
*arg3
= 0 ;
17583 bool temp3
= False
;
17584 PyObject
* obj0
= 0 ;
17585 PyObject
* obj1
= 0 ;
17586 PyObject
* obj2
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self",(char *) "id",(char *) "helpString", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17594 arg2
= (int) SWIG_AsInt(obj1
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 arg3
= wxString_in_helper(obj2
);
17598 if (arg3
== NULL
) SWIG_fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 Py_INCREF(Py_None
); resultobj
= Py_None
;
17623 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17628 PyObject
* obj0
= 0 ;
17629 PyObject
* obj1
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "self",(char *) "id", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17637 arg2
= (int) SWIG_AsInt(obj1
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= (arg1
)->GetToolShortHelp(arg2
);
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17659 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17663 wxString
*arg3
= 0 ;
17664 bool temp3
= False
;
17665 PyObject
* obj0
= 0 ;
17666 PyObject
* obj1
= 0 ;
17667 PyObject
* obj2
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self",(char *) "id",(char *) "helpString", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17675 arg2
= (int) SWIG_AsInt(obj1
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 arg3
= wxString_in_helper(obj2
);
17679 if (arg3
== NULL
) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 Py_INCREF(Py_None
); resultobj
= Py_None
;
17704 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
;
17706 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self",(char *) "id", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17718 arg2
= (int) SWIG_AsInt(obj1
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 result
= (arg1
)->GetToolLongHelp(arg2
);
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17740 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
;
17742 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17745 PyObject
* obj0
= 0 ;
17746 PyObject
* obj1
= 0 ;
17747 PyObject
* obj2
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "self",(char *) "x",(char *) "y", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17755 arg2
= (int) SWIG_AsInt(obj1
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17757 arg3
= (int) SWIG_AsInt(obj2
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 (arg1
)->SetMargins(arg2
,arg3
);
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17766 Py_INCREF(Py_None
); resultobj
= Py_None
;
17773 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
;
17775 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17778 PyObject
* obj0
= 0 ;
17779 PyObject
* obj1
= 0 ;
17780 char *kwnames
[] = {
17781 (char *) "self",(char *) "size", NULL
17784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17789 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 Py_INCREF(Py_None
); resultobj
= Py_None
;
17805 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
;
17807 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17809 PyObject
* obj0
= 0 ;
17810 PyObject
* obj1
= 0 ;
17811 char *kwnames
[] = {
17812 (char *) "self",(char *) "packing", NULL
17815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17818 arg2
= (int) SWIG_AsInt(obj1
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 (arg1
)->SetToolPacking(arg2
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 Py_INCREF(Py_None
); resultobj
= Py_None
;
17834 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 char *kwnames
[] = {
17841 (char *) "self",(char *) "separation", NULL
17844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",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 (arg1
)->SetToolSeparation(arg2
);
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 Py_INCREF(Py_None
); resultobj
= Py_None
;
17863 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
;
17865 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17867 PyObject
* obj0
= 0 ;
17868 char *kwnames
[] = {
17869 (char *) "self", NULL
17872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 result
= (arg1
)->GetToolMargins();
17879 wxPyEndAllowThreads(__tstate
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17883 wxSize
* resultptr
;
17884 resultptr
= new wxSize((wxSize
&) result
);
17885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17893 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17897 PyObject
* obj0
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (arg1
)->GetMargins();
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17913 wxSize
* resultptr
;
17914 resultptr
= new wxSize((wxSize
&) result
);
17915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17923 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17927 PyObject
* obj0
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "self", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= (int)(arg1
)->GetToolPacking();
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_FromInt((int)result
);
17949 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17953 PyObject
* obj0
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 result
= (int)(arg1
)->GetToolSeparation();
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= SWIG_FromInt((int)result
);
17975 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 PyObject
* obj1
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self",(char *) "nRows", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17988 arg2
= (int) SWIG_AsInt(obj1
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 (arg1
)->SetRows(arg2
);
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 Py_INCREF(Py_None
); resultobj
= Py_None
;
18004 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 PyObject
* obj1
= 0 ;
18011 PyObject
* obj2
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self",(char *) "rows",(char *) "cols", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18019 arg2
= (int) SWIG_AsInt(obj1
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18021 arg3
= (int) SWIG_AsInt(obj2
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 Py_INCREF(Py_None
); resultobj
= Py_None
;
18037 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
;
18039 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 result
= (int)(arg1
)->GetMaxRows();
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= SWIG_FromInt((int)result
);
18063 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (int)(arg1
)->GetMaxCols();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= SWIG_FromInt((int)result
);
18089 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 PyObject
* obj1
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self",(char *) "size", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18105 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 Py_INCREF(Py_None
); resultobj
= Py_None
;
18121 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18125 PyObject
* obj0
= 0 ;
18126 char *kwnames
[] = {
18127 (char *) "self", NULL
18130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 result
= (arg1
)->GetToolBitmapSize();
18137 wxPyEndAllowThreads(__tstate
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18141 wxSize
* resultptr
;
18142 resultptr
= new wxSize((wxSize
&) result
);
18143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18151 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
;
18153 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18155 PyObject
* obj0
= 0 ;
18156 char *kwnames
[] = {
18157 (char *) "self", NULL
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 result
= (arg1
)->GetToolSize();
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18171 wxSize
* resultptr
;
18172 resultptr
= new wxSize((wxSize
&) result
);
18173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18181 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
;
18183 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18186 wxToolBarToolBase
*result
;
18187 PyObject
* obj0
= 0 ;
18188 PyObject
* obj1
= 0 ;
18189 PyObject
* obj2
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self",(char *) "x",(char *) "y", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18197 arg2
= (int) SWIG_AsInt(obj1
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18199 arg3
= (int) SWIG_AsInt(obj2
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= wxPyMake_wxObject(result
);
18217 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18221 wxToolBarToolBase
*result
;
18222 PyObject
* obj0
= 0 ;
18223 PyObject
* obj1
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "self",(char *) "toolid", NULL
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18231 arg2
= (int) SWIG_AsInt(obj1
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= wxPyMake_wxObject(result
);
18249 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18253 PyObject
* obj0
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (bool)(arg1
)->IsVertical();
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18277 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18280 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18282 return Py_BuildValue((char *)"");
18284 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxWindow
*arg1
= (wxWindow
*) 0 ;
18288 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18289 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18290 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18291 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18292 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18293 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18294 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18298 bool temp6
= False
;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 PyObject
* obj2
= 0 ;
18302 PyObject
* obj3
= 0 ;
18303 PyObject
* obj4
= 0 ;
18304 PyObject
* obj5
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18312 arg2
= (int) SWIG_AsInt(obj1
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18317 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18323 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18327 arg5
= (long) SWIG_AsLong(obj4
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18332 arg6
= wxString_in_helper(obj5
);
18333 if (arg6
== NULL
) SWIG_fail
;
18338 if (!wxPyCheckForApp()) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= wxPyMake_wxObject(result
);
18362 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18365 char *kwnames
[] = {
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18371 if (!wxPyCheckForApp()) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (wxToolBar
*)new wxToolBar();
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= wxPyMake_wxObject(result
);
18387 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18390 wxWindow
*arg2
= (wxWindow
*) 0 ;
18392 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18393 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18394 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18395 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18396 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18397 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18398 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18402 bool temp7
= False
;
18403 PyObject
* obj0
= 0 ;
18404 PyObject
* obj1
= 0 ;
18405 PyObject
* obj2
= 0 ;
18406 PyObject
* obj3
= 0 ;
18407 PyObject
* obj4
= 0 ;
18408 PyObject
* obj5
= 0 ;
18409 PyObject
* obj6
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18419 arg3
= (int) SWIG_AsInt(obj2
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18424 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18430 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18434 arg6
= (long) SWIG_AsLong(obj5
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18439 arg7
= wxString_in_helper(obj6
);
18440 if (arg7
== NULL
) SWIG_fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18468 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18473 wxToolBarToolBase
*result
;
18474 PyObject
* obj0
= 0 ;
18475 PyObject
* obj1
= 0 ;
18476 PyObject
* obj2
= 0 ;
18477 char *kwnames
[] = {
18478 (char *) "self",(char *) "x",(char *) "y", NULL
18481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18484 arg2
= (int) SWIG_AsInt(obj1
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18486 arg3
= (int) SWIG_AsInt(obj2
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18496 resultobj
= wxPyMake_wxObject(result
);
18504 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
;
18506 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18507 wxVisualAttributes result
;
18508 PyObject
* obj0
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "variant", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18515 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18519 if (!wxPyCheckForApp()) SWIG_fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18527 wxVisualAttributes
* resultptr
;
18528 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18537 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18540 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18542 return Py_BuildValue((char *)"");
18544 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18545 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18550 static PyObject
*_wrap_ListCtrlNameStr_get() {
18555 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18557 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18564 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxColour
const &arg1_defvalue
= wxNullColour
;
18567 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18568 wxColour
const &arg2_defvalue
= wxNullColour
;
18569 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18570 wxFont
const &arg3_defvalue
= wxNullFont
;
18571 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18572 wxListItemAttr
*result
;
18575 PyObject
* obj0
= 0 ;
18576 PyObject
* obj1
= 0 ;
18577 PyObject
* obj2
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18586 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18592 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18596 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18599 if (arg3
== NULL
) {
18600 PyErr_SetString(PyExc_TypeError
,"null reference");
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18618 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18621 wxColour
*arg2
= 0 ;
18623 PyObject
* obj0
= 0 ;
18624 PyObject
* obj1
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "self",(char *) "colText", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18634 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 Py_INCREF(Py_None
); resultobj
= Py_None
;
18650 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18653 wxColour
*arg2
= 0 ;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj1
= 0 ;
18657 char *kwnames
[] = {
18658 (char *) "self",(char *) "colBack", NULL
18661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18666 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18672 wxPyEndAllowThreads(__tstate
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 Py_INCREF(Py_None
); resultobj
= Py_None
;
18682 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18683 PyObject
*resultobj
;
18684 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18686 PyObject
* obj0
= 0 ;
18687 PyObject
* obj1
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self",(char *) "font", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18698 if (arg2
== NULL
) {
18699 PyErr_SetString(PyExc_TypeError
,"null reference");
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 (arg1
)->SetFont((wxFont
const &)*arg2
);
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 Py_INCREF(Py_None
); resultobj
= Py_None
;
18716 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18720 PyObject
* obj0
= 0 ;
18721 char *kwnames
[] = {
18722 (char *) "self", NULL
18725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18730 result
= (bool)(arg1
)->HasTextColour();
18732 wxPyEndAllowThreads(__tstate
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18744 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18748 PyObject
* obj0
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 result
= (bool)(arg1
)->HasBackgroundColour();
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18772 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18776 PyObject
* obj0
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "self", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (bool)(arg1
)->HasFont();
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18800 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
;
18802 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18804 PyObject
* obj0
= 0 ;
18805 char *kwnames
[] = {
18806 (char *) "self", NULL
18809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 result
= (arg1
)->GetTextColour();
18816 wxPyEndAllowThreads(__tstate
);
18817 if (PyErr_Occurred()) SWIG_fail
;
18820 wxColour
* resultptr
;
18821 resultptr
= new wxColour((wxColour
&) result
);
18822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18830 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18834 PyObject
* obj0
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "self", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 result
= (arg1
)->GetBackgroundColour();
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18850 wxColour
* resultptr
;
18851 resultptr
= new wxColour((wxColour
&) result
);
18852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18860 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (arg1
)->GetFont();
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 wxFont
* resultptr
;
18881 resultptr
= new wxFont((wxFont
&) result
);
18882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18890 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 wxListItemAttr_Destroy(arg1
);
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18908 Py_INCREF(Py_None
); resultobj
= Py_None
;
18915 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18918 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18920 return Py_BuildValue((char *)"");
18922 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxListItem
*result
;
18925 char *kwnames
[] = {
18929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 result
= (wxListItem
*)new wxListItem();
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18938 resultobj
= wxPyMake_wxObject(result
);
18946 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
;
18948 wxListItem
*arg1
= (wxListItem
*) 0 ;
18949 PyObject
* obj0
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 Py_INCREF(Py_None
); resultobj
= Py_None
;
18971 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
;
18973 wxListItem
*arg1
= (wxListItem
*) 0 ;
18974 PyObject
* obj0
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 Py_INCREF(Py_None
); resultobj
= Py_None
;
18996 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
;
18998 wxListItem
*arg1
= (wxListItem
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "self", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 (arg1
)->ClearAttributes();
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 Py_INCREF(Py_None
); resultobj
= Py_None
;
19021 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19023 wxListItem
*arg1
= (wxListItem
*) 0 ;
19025 PyObject
* obj0
= 0 ;
19026 PyObject
* obj1
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self",(char *) "mask", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19034 arg2
= (long) SWIG_AsLong(obj1
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 (arg1
)->SetMask(arg2
);
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 Py_INCREF(Py_None
); resultobj
= Py_None
;
19050 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
;
19052 wxListItem
*arg1
= (wxListItem
*) 0 ;
19054 PyObject
* obj0
= 0 ;
19055 PyObject
* obj1
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self",(char *) "id", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19063 arg2
= (long) SWIG_AsLong(obj1
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->SetId(arg2
);
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 Py_INCREF(Py_None
); resultobj
= Py_None
;
19079 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxListItem
*arg1
= (wxListItem
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self",(char *) "col", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19092 arg2
= (int) SWIG_AsInt(obj1
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 (arg1
)->SetColumn(arg2
);
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 Py_INCREF(Py_None
); resultobj
= Py_None
;
19108 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxListItem
*arg1
= (wxListItem
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "state", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19121 arg2
= (long) SWIG_AsLong(obj1
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 (arg1
)->SetState(arg2
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 Py_INCREF(Py_None
); resultobj
= Py_None
;
19137 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxListItem
*arg1
= (wxListItem
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self",(char *) "stateMask", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 arg2
= (long) SWIG_AsLong(obj1
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 (arg1
)->SetStateMask(arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxListItem
*arg1
= (wxListItem
*) 0 ;
19169 wxString
*arg2
= 0 ;
19170 bool temp2
= False
;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self",(char *) "text", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19181 arg2
= wxString_in_helper(obj1
);
19182 if (arg2
== NULL
) SWIG_fail
;
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 (arg1
)->SetText((wxString
const &)*arg2
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 Py_INCREF(Py_None
); resultobj
= Py_None
;
19207 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxListItem
*arg1
= (wxListItem
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self",(char *) "image", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19220 arg2
= (int) SWIG_AsInt(obj1
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 (arg1
)->SetImage(arg2
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 Py_INCREF(Py_None
); resultobj
= Py_None
;
19236 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxListItem
*arg1
= (wxListItem
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 PyObject
* obj1
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self",(char *) "data", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19249 arg2
= (long) SWIG_AsLong(obj1
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 (arg1
)->SetData(arg2
);
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 Py_INCREF(Py_None
); resultobj
= Py_None
;
19265 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
;
19267 wxListItem
*arg1
= (wxListItem
*) 0 ;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "self",(char *) "width", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19278 arg2
= (int) SWIG_AsInt(obj1
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 (arg1
)->SetWidth(arg2
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 Py_INCREF(Py_None
); resultobj
= Py_None
;
19294 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
;
19296 wxListItem
*arg1
= (wxListItem
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self",(char *) "align", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19307 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 Py_INCREF(Py_None
); resultobj
= Py_None
;
19323 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxListItem
*arg1
= (wxListItem
*) 0 ;
19326 wxColour
*arg2
= 0 ;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self",(char *) "colText", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19339 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 Py_INCREF(Py_None
); resultobj
= Py_None
;
19355 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxListItem
*arg1
= (wxListItem
*) 0 ;
19358 wxColour
*arg2
= 0 ;
19360 PyObject
* obj0
= 0 ;
19361 PyObject
* obj1
= 0 ;
19362 char *kwnames
[] = {
19363 (char *) "self",(char *) "colBack", NULL
19366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19371 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19380 Py_INCREF(Py_None
); resultobj
= Py_None
;
19387 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
;
19389 wxListItem
*arg1
= (wxListItem
*) 0 ;
19391 PyObject
* obj0
= 0 ;
19392 PyObject
* obj1
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self",(char *) "font", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19403 if (arg2
== NULL
) {
19404 PyErr_SetString(PyExc_TypeError
,"null reference");
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 (arg1
)->SetFont((wxFont
const &)*arg2
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 Py_INCREF(Py_None
); resultobj
= Py_None
;
19421 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxListItem
*arg1
= (wxListItem
*) 0 ;
19425 PyObject
* obj0
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 result
= (long)(arg1
)->GetMask();
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= SWIG_FromLong((long)result
);
19447 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxListItem
*arg1
= (wxListItem
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 result
= (long)(arg1
)->GetId();
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= SWIG_FromLong((long)result
);
19473 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxListItem
*arg1
= (wxListItem
*) 0 ;
19477 PyObject
* obj0
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (int)(arg1
)->GetColumn();
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= SWIG_FromInt((int)result
);
19499 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxListItem
*arg1
= (wxListItem
*) 0 ;
19503 PyObject
* obj0
= 0 ;
19504 char *kwnames
[] = {
19505 (char *) "self", NULL
19508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 result
= (long)(arg1
)->GetState();
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= SWIG_FromLong((long)result
);
19525 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxListItem
*arg1
= (wxListItem
*) 0 ;
19529 PyObject
* obj0
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "self", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 wxString
const &_result_ref
= (arg1
)->GetText();
19541 result
= (wxString
*) &_result_ref
;
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19551 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19560 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxListItem
*arg1
= (wxListItem
*) 0 ;
19564 PyObject
* obj0
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 result
= (int)(arg1
)->GetImage();
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= SWIG_FromInt((int)result
);
19586 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19588 wxListItem
*arg1
= (wxListItem
*) 0 ;
19590 PyObject
* obj0
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= (long)(arg1
)->GetData();
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= SWIG_FromLong((long)result
);
19612 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxListItem
*arg1
= (wxListItem
*) 0 ;
19616 PyObject
* obj0
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 result
= (int)(arg1
)->GetWidth();
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= SWIG_FromInt((int)result
);
19638 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
;
19640 wxListItem
*arg1
= (wxListItem
*) 0 ;
19642 PyObject
* obj0
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= (int)(arg1
)->GetAlign();
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= SWIG_FromInt((int)result
);
19664 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxListItem
*arg1
= (wxListItem
*) 0 ;
19667 wxListItemAttr
*result
;
19668 PyObject
* obj0
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19690 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxListItem
*arg1
= (wxListItem
*) 0 ;
19694 PyObject
* obj0
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 result
= (bool)(arg1
)->HasAttributes();
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19718 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
;
19720 wxListItem
*arg1
= (wxListItem
*) 0 ;
19722 PyObject
* obj0
= 0 ;
19723 char *kwnames
[] = {
19724 (char *) "self", NULL
19727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19738 wxColour
* resultptr
;
19739 resultptr
= new wxColour((wxColour
&) result
);
19740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19748 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxListItem
*arg1
= (wxListItem
*) 0 ;
19752 PyObject
* obj0
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19768 wxColour
* resultptr
;
19769 resultptr
= new wxColour((wxColour
&) result
);
19770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19778 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
;
19780 wxListItem
*arg1
= (wxListItem
*) 0 ;
19782 PyObject
* obj0
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "self", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 result
= ((wxListItem
const *)arg1
)->GetFont();
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19798 wxFont
* resultptr
;
19799 resultptr
= new wxFont((wxFont
&) result
);
19800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19808 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxListItem
*arg1
= (wxListItem
*) 0 ;
19812 PyObject
* obj0
= 0 ;
19813 PyObject
* obj1
= 0 ;
19814 char *kwnames
[] = {
19815 (char *) "self",(char *) "m_mask", NULL
19818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19821 arg2
= (long) SWIG_AsLong(obj1
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19823 if (arg1
) (arg1
)->m_mask
= arg2
;
19825 Py_INCREF(Py_None
); resultobj
= Py_None
;
19832 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxListItem
*arg1
= (wxListItem
*) 0 ;
19836 PyObject
* obj0
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19844 result
= (long) ((arg1
)->m_mask
);
19846 resultobj
= SWIG_FromLong((long)result
);
19853 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxListItem
*arg1
= (wxListItem
*) 0 ;
19857 PyObject
* obj0
= 0 ;
19858 PyObject
* obj1
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self",(char *) "m_itemId", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19866 arg2
= (long) SWIG_AsLong(obj1
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19868 if (arg1
) (arg1
)->m_itemId
= arg2
;
19870 Py_INCREF(Py_None
); resultobj
= Py_None
;
19877 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxListItem
*arg1
= (wxListItem
*) 0 ;
19881 PyObject
* obj0
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19889 result
= (long) ((arg1
)->m_itemId
);
19891 resultobj
= SWIG_FromLong((long)result
);
19898 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxListItem
*arg1
= (wxListItem
*) 0 ;
19902 PyObject
* obj0
= 0 ;
19903 PyObject
* obj1
= 0 ;
19904 char *kwnames
[] = {
19905 (char *) "self",(char *) "m_col", NULL
19908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19911 arg2
= (int) SWIG_AsInt(obj1
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19913 if (arg1
) (arg1
)->m_col
= arg2
;
19915 Py_INCREF(Py_None
); resultobj
= Py_None
;
19922 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
;
19924 wxListItem
*arg1
= (wxListItem
*) 0 ;
19926 PyObject
* obj0
= 0 ;
19927 char *kwnames
[] = {
19928 (char *) "self", NULL
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19934 result
= (int) ((arg1
)->m_col
);
19936 resultobj
= SWIG_FromInt((int)result
);
19943 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
;
19945 wxListItem
*arg1
= (wxListItem
*) 0 ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self",(char *) "m_state", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19956 arg2
= (long) SWIG_AsLong(obj1
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19958 if (arg1
) (arg1
)->m_state
= arg2
;
19960 Py_INCREF(Py_None
); resultobj
= Py_None
;
19967 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxListItem
*arg1
= (wxListItem
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19979 result
= (long) ((arg1
)->m_state
);
19981 resultobj
= SWIG_FromLong((long)result
);
19988 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 wxListItem
*arg1
= (wxListItem
*) 0 ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self",(char *) "m_stateMask", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20001 arg2
= (long) SWIG_AsLong(obj1
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20003 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20005 Py_INCREF(Py_None
); resultobj
= Py_None
;
20012 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20014 wxListItem
*arg1
= (wxListItem
*) 0 ;
20016 PyObject
* obj0
= 0 ;
20017 char *kwnames
[] = {
20018 (char *) "self", NULL
20021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20024 result
= (long) ((arg1
)->m_stateMask
);
20026 resultobj
= SWIG_FromLong((long)result
);
20033 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
;
20035 wxListItem
*arg1
= (wxListItem
*) 0 ;
20036 wxString
*arg2
= (wxString
*) 0 ;
20037 bool temp2
= False
;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self",(char *) "m_text", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20048 arg2
= wxString_in_helper(obj1
);
20049 if (arg2
== NULL
) SWIG_fail
;
20052 if (arg1
) (arg1
)->m_text
= *arg2
;
20054 Py_INCREF(Py_None
); resultobj
= Py_None
;
20069 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
;
20071 wxListItem
*arg1
= (wxListItem
*) 0 ;
20073 PyObject
* obj0
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20081 result
= (wxString
*)& ((arg1
)->m_text
);
20085 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20087 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20096 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
;
20098 wxListItem
*arg1
= (wxListItem
*) 0 ;
20100 PyObject
* obj0
= 0 ;
20101 PyObject
* obj1
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self",(char *) "m_image", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20109 arg2
= (int) SWIG_AsInt(obj1
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20111 if (arg1
) (arg1
)->m_image
= arg2
;
20113 Py_INCREF(Py_None
); resultobj
= Py_None
;
20120 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxListItem
*arg1
= (wxListItem
*) 0 ;
20124 PyObject
* obj0
= 0 ;
20125 char *kwnames
[] = {
20126 (char *) "self", NULL
20129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20132 result
= (int) ((arg1
)->m_image
);
20134 resultobj
= SWIG_FromInt((int)result
);
20141 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxListItem
*arg1
= (wxListItem
*) 0 ;
20145 PyObject
* obj0
= 0 ;
20146 PyObject
* obj1
= 0 ;
20147 char *kwnames
[] = {
20148 (char *) "self",(char *) "m_data", NULL
20151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20154 arg2
= (long) SWIG_AsLong(obj1
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20156 if (arg1
) (arg1
)->m_data
= arg2
;
20158 Py_INCREF(Py_None
); resultobj
= Py_None
;
20165 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
;
20167 wxListItem
*arg1
= (wxListItem
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 char *kwnames
[] = {
20171 (char *) "self", NULL
20174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20177 result
= (long) ((arg1
)->m_data
);
20179 resultobj
= SWIG_FromLong((long)result
);
20186 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
;
20188 wxListItem
*arg1
= (wxListItem
*) 0 ;
20190 PyObject
* obj0
= 0 ;
20191 PyObject
* obj1
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self",(char *) "m_format", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20199 arg2
= (int) SWIG_AsInt(obj1
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20201 if (arg1
) (arg1
)->m_format
= arg2
;
20203 Py_INCREF(Py_None
); resultobj
= Py_None
;
20210 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20211 PyObject
*resultobj
;
20212 wxListItem
*arg1
= (wxListItem
*) 0 ;
20214 PyObject
* obj0
= 0 ;
20215 char *kwnames
[] = {
20216 (char *) "self", NULL
20219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20222 result
= (int) ((arg1
)->m_format
);
20224 resultobj
= SWIG_FromInt((int)result
);
20231 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxListItem
*arg1
= (wxListItem
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 PyObject
* obj1
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self",(char *) "m_width", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20244 arg2
= (int) SWIG_AsInt(obj1
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20246 if (arg1
) (arg1
)->m_width
= arg2
;
20248 Py_INCREF(Py_None
); resultobj
= Py_None
;
20255 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
;
20257 wxListItem
*arg1
= (wxListItem
*) 0 ;
20259 PyObject
* obj0
= 0 ;
20260 char *kwnames
[] = {
20261 (char *) "self", NULL
20264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20267 result
= (int) ((arg1
)->m_width
);
20269 resultobj
= SWIG_FromInt((int)result
);
20276 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20279 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20281 return Py_BuildValue((char *)"");
20283 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20284 PyObject
*resultobj
;
20285 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20286 int arg2
= (int) 0 ;
20287 wxListEvent
*result
;
20288 PyObject
* obj0
= 0 ;
20289 PyObject
* obj1
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "commandType",(char *) "id", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20296 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20300 arg2
= (int) SWIG_AsInt(obj1
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20317 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self",(char *) "m_code", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20330 arg2
= (int) SWIG_AsInt(obj1
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20332 if (arg1
) (arg1
)->m_code
= arg2
;
20334 Py_INCREF(Py_None
); resultobj
= Py_None
;
20341 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20345 PyObject
* obj0
= 0 ;
20346 char *kwnames
[] = {
20347 (char *) "self", NULL
20350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20353 result
= (int) ((arg1
)->m_code
);
20355 resultobj
= SWIG_FromInt((int)result
);
20362 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
;
20364 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20366 PyObject
* obj0
= 0 ;
20367 PyObject
* obj1
= 0 ;
20368 char *kwnames
[] = {
20369 (char *) "self",(char *) "m_oldItemIndex", NULL
20372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20375 arg2
= (long) SWIG_AsLong(obj1
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20377 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20379 Py_INCREF(Py_None
); resultobj
= Py_None
;
20386 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
;
20388 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20390 PyObject
* obj0
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20398 result
= (long) ((arg1
)->m_oldItemIndex
);
20400 resultobj
= SWIG_FromLong((long)result
);
20407 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
;
20409 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20411 PyObject
* obj0
= 0 ;
20412 PyObject
* obj1
= 0 ;
20413 char *kwnames
[] = {
20414 (char *) "self",(char *) "m_itemIndex", NULL
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20420 arg2
= (long) SWIG_AsLong(obj1
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20422 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20424 Py_INCREF(Py_None
); resultobj
= Py_None
;
20431 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20433 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20435 PyObject
* obj0
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20443 result
= (long) ((arg1
)->m_itemIndex
);
20445 resultobj
= SWIG_FromLong((long)result
);
20452 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
;
20454 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20456 PyObject
* obj0
= 0 ;
20457 PyObject
* obj1
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "self",(char *) "m_col", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20465 arg2
= (int) SWIG_AsInt(obj1
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20467 if (arg1
) (arg1
)->m_col
= arg2
;
20469 Py_INCREF(Py_None
); resultobj
= Py_None
;
20476 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
;
20478 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20480 PyObject
* obj0
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20488 result
= (int) ((arg1
)->m_col
);
20490 resultobj
= SWIG_FromInt((int)result
);
20497 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
;
20499 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20500 wxPoint
*arg2
= (wxPoint
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self",(char *) "m_pointDrag", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20512 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20514 Py_INCREF(Py_None
); resultobj
= Py_None
;
20521 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20522 PyObject
*resultobj
;
20523 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20525 PyObject
* obj0
= 0 ;
20526 char *kwnames
[] = {
20527 (char *) "self", NULL
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20533 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20542 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20545 wxListItem
*result
;
20546 PyObject
* obj0
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20554 result
= (wxListItem
*)& ((arg1
)->m_item
);
20557 resultobj
= wxPyMake_wxObject(result
);
20565 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20567 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 char *kwnames
[] = {
20571 (char *) "self", NULL
20574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 result
= (int)(arg1
)->GetKeyCode();
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 resultobj
= SWIG_FromInt((int)result
);
20591 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20595 PyObject
* obj0
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "self", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 result
= (long)(arg1
)->GetIndex();
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 resultobj
= SWIG_FromLong((long)result
);
20617 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
;
20619 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20621 PyObject
* obj0
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "self", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (int)(arg1
)->GetColumn();
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= SWIG_FromInt((int)result
);
20643 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
;
20645 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20647 PyObject
* obj0
= 0 ;
20648 char *kwnames
[] = {
20649 (char *) "self", NULL
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 result
= (arg1
)->GetPoint();
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20663 wxPoint
* resultptr
;
20664 resultptr
= new wxPoint((wxPoint
&) result
);
20665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20673 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20677 PyObject
* obj0
= 0 ;
20678 char *kwnames
[] = {
20679 (char *) "self", NULL
20682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 wxString
const &_result_ref
= (arg1
)->GetLabel();
20689 result
= (wxString
*) &_result_ref
;
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20697 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20699 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20708 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20710 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20712 PyObject
* obj0
= 0 ;
20713 char *kwnames
[] = {
20714 (char *) "self", NULL
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 wxString
const &_result_ref
= (arg1
)->GetText();
20724 result
= (wxString
*) &_result_ref
;
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20734 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20743 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20747 PyObject
* obj0
= 0 ;
20748 char *kwnames
[] = {
20749 (char *) "self", NULL
20752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (int)(arg1
)->GetImage();
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= SWIG_FromInt((int)result
);
20769 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
;
20771 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20773 PyObject
* obj0
= 0 ;
20774 char *kwnames
[] = {
20775 (char *) "self", NULL
20778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20783 result
= (long)(arg1
)->GetData();
20785 wxPyEndAllowThreads(__tstate
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20788 resultobj
= SWIG_FromLong((long)result
);
20795 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20796 PyObject
*resultobj
;
20797 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20799 PyObject
* obj0
= 0 ;
20800 char *kwnames
[] = {
20801 (char *) "self", NULL
20804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 result
= (long)(arg1
)->GetMask();
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= SWIG_FromLong((long)result
);
20821 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
;
20823 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20824 wxListItem
*result
;
20825 PyObject
* obj0
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "self", NULL
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20837 result
= (wxListItem
*) &_result_ref
;
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20850 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
;
20852 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20854 PyObject
* obj0
= 0 ;
20855 char *kwnames
[] = {
20856 (char *) "self", NULL
20859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 result
= (long)(arg1
)->GetCacheFrom();
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= SWIG_FromLong((long)result
);
20876 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
;
20878 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20880 PyObject
* obj0
= 0 ;
20881 char *kwnames
[] = {
20882 (char *) "self", NULL
20885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (long)(arg1
)->GetCacheTo();
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= SWIG_FromLong((long)result
);
20902 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
;
20904 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20930 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
;
20932 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20934 PyObject
* obj0
= 0 ;
20935 PyObject
* obj1
= 0 ;
20936 char *kwnames
[] = {
20937 (char *) "self",(char *) "editCancelled", NULL
20940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20943 arg2
= (bool) SWIG_AsBool(obj1
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20947 (arg1
)->SetEditCanceled(arg2
);
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 Py_INCREF(Py_None
); resultobj
= Py_None
;
20959 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20962 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20964 return Py_BuildValue((char *)"");
20966 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20968 wxWindow
*arg1
= (wxWindow
*) 0 ;
20969 int arg2
= (int) -1 ;
20970 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20971 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20972 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20973 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20974 long arg5
= (long) wxLC_ICON
;
20975 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20976 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20977 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20978 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20979 wxPyListCtrl
*result
;
20982 bool temp7
= False
;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 PyObject
* obj2
= 0 ;
20986 PyObject
* obj3
= 0 ;
20987 PyObject
* obj4
= 0 ;
20988 PyObject
* obj5
= 0 ;
20989 PyObject
* obj6
= 0 ;
20990 char *kwnames
[] = {
20991 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20998 arg2
= (int) SWIG_AsInt(obj1
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21004 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21010 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21014 arg5
= (long) SWIG_AsLong(obj4
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21018 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21021 if (arg6
== NULL
) {
21022 PyErr_SetString(PyExc_TypeError
,"null reference");
21028 arg7
= wxString_in_helper(obj6
);
21029 if (arg7
== NULL
) SWIG_fail
;
21034 if (!wxPyCheckForApp()) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21056 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
;
21058 wxPyListCtrl
*result
;
21059 char *kwnames
[] = {
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21065 if (!wxPyCheckForApp()) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21079 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21082 wxWindow
*arg2
= (wxWindow
*) 0 ;
21083 int arg3
= (int) -1 ;
21084 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21085 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21086 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21087 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21088 long arg6
= (long) wxLC_ICON
;
21089 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21090 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21091 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21092 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21096 bool temp8
= False
;
21097 PyObject
* obj0
= 0 ;
21098 PyObject
* obj1
= 0 ;
21099 PyObject
* obj2
= 0 ;
21100 PyObject
* obj3
= 0 ;
21101 PyObject
* obj4
= 0 ;
21102 PyObject
* obj5
= 0 ;
21103 PyObject
* obj6
= 0 ;
21104 PyObject
* obj7
= 0 ;
21105 char *kwnames
[] = {
21106 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21115 arg3
= (int) SWIG_AsInt(obj2
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21121 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21127 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21131 arg6
= (long) SWIG_AsLong(obj5
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21135 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21138 if (arg7
== NULL
) {
21139 PyErr_SetString(PyExc_TypeError
,"null reference");
21145 arg8
= wxString_in_helper(obj7
);
21146 if (arg8
== NULL
) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21174 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21177 PyObject
*arg2
= (PyObject
*) 0 ;
21178 PyObject
*arg3
= (PyObject
*) 0 ;
21179 PyObject
* obj0
= 0 ;
21180 PyObject
* obj1
= 0 ;
21181 PyObject
* obj2
= 0 ;
21182 char *kwnames
[] = {
21183 (char *) "self",(char *) "self",(char *) "_class", NULL
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21198 Py_INCREF(Py_None
); resultobj
= Py_None
;
21205 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21206 PyObject
*resultobj
;
21207 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21208 wxColour
*arg2
= 0 ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self",(char *) "col", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21222 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21240 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21243 wxColour
*arg2
= 0 ;
21246 PyObject
* obj0
= 0 ;
21247 PyObject
* obj1
= 0 ;
21248 char *kwnames
[] = {
21249 (char *) "self",(char *) "col", NULL
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21257 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21275 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
;
21277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21279 wxListItem
*result
;
21280 PyObject
* obj0
= 0 ;
21281 PyObject
* obj1
= 0 ;
21282 char *kwnames
[] = {
21283 (char *) "self",(char *) "col", NULL
21286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21289 arg2
= (int) SWIG_AsInt(obj1
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21299 resultobj
= wxPyMake_wxObject(result
);
21307 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21311 wxListItem
*arg3
= 0 ;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 PyObject
* obj2
= 0 ;
21316 char *kwnames
[] = {
21317 (char *) "self",(char *) "col",(char *) "item", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21323 arg2
= (int) SWIG_AsInt(obj1
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21325 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21328 if (arg3
== NULL
) {
21329 PyErr_SetString(PyExc_TypeError
,"null reference");
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21348 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
;
21350 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21353 PyObject
* obj0
= 0 ;
21354 PyObject
* obj1
= 0 ;
21355 char *kwnames
[] = {
21356 (char *) "self",(char *) "col", NULL
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21362 arg2
= (int) SWIG_AsInt(obj1
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= SWIG_FromInt((int)result
);
21378 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21384 PyObject
* obj0
= 0 ;
21385 PyObject
* obj1
= 0 ;
21386 PyObject
* obj2
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self",(char *) "col",(char *) "width", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21394 arg2
= (int) SWIG_AsInt(obj1
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21396 arg3
= (int) SWIG_AsInt(obj2
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21414 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21418 PyObject
* obj0
= 0 ;
21419 char *kwnames
[] = {
21420 (char *) "self", NULL
21423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_FromInt((int)result
);
21440 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
;
21442 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21444 PyObject
* obj0
= 0 ;
21445 char *kwnames
[] = {
21446 (char *) "self", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21460 wxRect
* resultptr
;
21461 resultptr
= new wxRect((wxRect
&) result
);
21462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21470 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21474 int arg3
= (int) 0 ;
21475 wxListItem
*result
;
21476 PyObject
* obj0
= 0 ;
21477 PyObject
* obj1
= 0 ;
21478 PyObject
* obj2
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self",(char *) "itemId",(char *) "col", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21486 arg2
= (long) SWIG_AsLong(obj1
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 arg3
= (int) SWIG_AsInt(obj2
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= wxPyMake_wxObject(result
);
21508 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21511 wxListItem
*arg2
= 0 ;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "self",(char *) "info", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21525 if (arg2
== NULL
) {
21526 PyErr_SetString(PyExc_TypeError
,"null reference");
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 result
= (bool)(arg1
)->SetItem(*arg2
);
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21545 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
;
21547 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21550 wxString
*arg4
= 0 ;
21551 int arg5
= (int) -1 ;
21553 bool temp4
= False
;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 PyObject
* obj2
= 0 ;
21557 PyObject
* obj3
= 0 ;
21558 PyObject
* obj4
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21566 arg2
= (long) SWIG_AsLong(obj1
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21568 arg3
= (int) SWIG_AsInt(obj2
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 arg4
= wxString_in_helper(obj3
);
21572 if (arg4
== NULL
) SWIG_fail
;
21576 arg5
= (int) SWIG_AsInt(obj4
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= SWIG_FromLong((long)result
);
21601 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 PyObject
* obj2
= 0 ;
21610 char *kwnames
[] = {
21611 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21617 arg2
= (long) SWIG_AsLong(obj1
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21619 arg3
= (long) SWIG_AsLong(obj2
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_FromInt((int)result
);
21635 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
;
21637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 PyObject
* obj1
= 0 ;
21644 PyObject
* obj2
= 0 ;
21645 PyObject
* obj3
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21653 arg2
= (long) SWIG_AsLong(obj1
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21655 arg3
= (long) SWIG_AsLong(obj2
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21657 arg4
= (long) SWIG_AsLong(obj3
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21675 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 PyObject
* obj2
= 0 ;
21685 PyObject
* obj3
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21693 arg2
= (long) SWIG_AsLong(obj1
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21695 arg3
= (int) SWIG_AsInt(obj2
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21697 arg4
= (int) SWIG_AsInt(obj3
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21715 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self",(char *) "item", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21729 arg2
= (long) SWIG_AsLong(obj1
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21751 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21755 wxString
*arg3
= 0 ;
21756 bool temp3
= False
;
21757 PyObject
* obj0
= 0 ;
21758 PyObject
* obj1
= 0 ;
21759 PyObject
* obj2
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self",(char *) "item",(char *) "str", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 arg2
= (long) SWIG_AsLong(obj1
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 arg3
= wxString_in_helper(obj2
);
21771 if (arg3
== NULL
) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21781 Py_INCREF(Py_None
); resultobj
= Py_None
;
21796 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21798 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21801 PyObject
* obj0
= 0 ;
21802 PyObject
* obj1
= 0 ;
21803 char *kwnames
[] = {
21804 (char *) "self",(char *) "item", NULL
21807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21810 arg2
= (long) SWIG_AsLong(obj1
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= SWIG_FromLong((long)result
);
21826 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21827 PyObject
*resultobj
;
21828 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21832 PyObject
* obj0
= 0 ;
21833 PyObject
* obj1
= 0 ;
21834 PyObject
* obj2
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self",(char *) "item",(char *) "data", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21842 arg2
= (long) SWIG_AsLong(obj1
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21844 arg3
= (long) SWIG_AsLong(obj2
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21862 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 char *kwnames
[] = {
21870 (char *) "self",(char *) "item", NULL
21873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21876 arg2
= (long) SWIG_AsLong(obj1
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21886 wxPoint
* resultptr
;
21887 resultptr
= new wxPoint((wxPoint
&) result
);
21888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21896 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
;
21898 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21900 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21902 PyObject
* obj0
= 0 ;
21903 PyObject
* obj1
= 0 ;
21904 PyObject
* obj2
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self",(char *) "item",(char *) "code", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21912 arg2
= (long) SWIG_AsLong(obj1
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 arg3
= (int) SWIG_AsInt(obj2
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21926 wxRect
* resultptr
;
21927 resultptr
= new wxRect((wxRect
&) result
);
21928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21936 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21940 wxPoint
*arg3
= 0 ;
21943 PyObject
* obj0
= 0 ;
21944 PyObject
* obj1
= 0 ;
21945 PyObject
* obj2
= 0 ;
21946 char *kwnames
[] = {
21947 (char *) "self",(char *) "item",(char *) "pos", NULL
21950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21953 arg2
= (long) SWIG_AsLong(obj1
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21957 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21975 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
;
21977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21979 PyObject
* obj0
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 resultobj
= SWIG_FromInt((int)result
);
22001 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= SWIG_FromInt((int)result
);
22027 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22047 wxSize
* resultptr
;
22048 resultptr
= new wxSize((wxSize
&) result
);
22049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22057 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
;
22059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22061 bool arg3
= (bool) False
;
22062 PyObject
* obj0
= 0 ;
22063 PyObject
* obj1
= 0 ;
22064 PyObject
* obj2
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22072 arg2
= (int) SWIG_AsInt(obj1
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22075 arg3
= (bool) SWIG_AsBool(obj2
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 (arg1
)->SetItemSpacing(arg2
,arg3
);
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 Py_INCREF(Py_None
); resultobj
= Py_None
;
22092 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
;
22094 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22096 PyObject
* obj0
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 resultobj
= SWIG_FromInt((int)result
);
22118 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
;
22120 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22122 PyObject
* obj0
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22138 wxColour
* resultptr
;
22139 resultptr
= new wxColour((wxColour
&) result
);
22140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22148 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
;
22150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22151 wxColour
*arg2
= 0 ;
22153 PyObject
* obj0
= 0 ;
22154 PyObject
* obj1
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self",(char *) "col", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22164 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 Py_INCREF(Py_None
); resultobj
= Py_None
;
22180 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22184 PyObject
* obj0
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "self", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22194 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22196 wxPyEndAllowThreads(__tstate
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= SWIG_FromLong((long)result
);
22206 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22208 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22210 bool arg3
= (bool) True
;
22211 PyObject
* obj0
= 0 ;
22212 PyObject
* obj1
= 0 ;
22213 PyObject
* obj2
= 0 ;
22214 char *kwnames
[] = {
22215 (char *) "self",(char *) "style",(char *) "add", NULL
22218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22221 arg2
= (long) SWIG_AsLong(obj1
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 arg3
= (bool) SWIG_AsBool(obj2
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 (arg1
)->SetSingleStyle(arg2
,arg3
);
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22234 Py_INCREF(Py_None
); resultobj
= Py_None
;
22241 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
;
22243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22245 PyObject
* obj0
= 0 ;
22246 PyObject
* obj1
= 0 ;
22247 char *kwnames
[] = {
22248 (char *) "self",(char *) "style", NULL
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22254 arg2
= (long) SWIG_AsLong(obj1
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 (arg1
)->SetWindowStyleFlag(arg2
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 Py_INCREF(Py_None
); resultobj
= Py_None
;
22270 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22274 int arg3
= (int) wxLIST_NEXT_ALL
;
22275 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 PyObject
* obj2
= 0 ;
22280 PyObject
* obj3
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22288 arg2
= (long) SWIG_AsLong(obj1
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22291 arg3
= (int) SWIG_AsInt(obj2
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22295 arg4
= (int) SWIG_AsInt(obj3
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= SWIG_FromLong((long)result
);
22312 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22316 wxImageList
*result
;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 char *kwnames
[] = {
22320 (char *) "self",(char *) "which", NULL
22323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22326 arg2
= (int) SWIG_AsInt(obj1
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= wxPyMake_wxObject(result
);
22344 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22347 wxImageList
*arg2
= (wxImageList
*) 0 ;
22349 PyObject
* obj0
= 0 ;
22350 PyObject
* obj1
= 0 ;
22351 PyObject
* obj2
= 0 ;
22352 char *kwnames
[] = {
22353 (char *) "self",(char *) "imageList",(char *) "which", NULL
22356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22361 arg3
= (int) SWIG_AsInt(obj2
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 (arg1
)->SetImageList(arg2
,arg3
);
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22370 Py_INCREF(Py_None
); resultobj
= Py_None
;
22377 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22378 PyObject
*resultobj
;
22379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22380 wxImageList
*arg2
= (wxImageList
*) 0 ;
22382 PyObject
* obj0
= 0 ;
22383 PyObject
* obj1
= 0 ;
22384 PyObject
* obj2
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self",(char *) "imageList",(char *) "which", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22393 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22394 arg3
= (int) SWIG_AsInt(obj2
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 (arg1
)->AssignImageList(arg2
,arg3
);
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 Py_INCREF(Py_None
); resultobj
= Py_None
;
22410 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22411 PyObject
*resultobj
;
22412 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22414 PyObject
* obj0
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "self", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22438 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
;
22440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22442 PyObject
* obj0
= 0 ;
22443 char *kwnames
[] = {
22444 (char *) "self", NULL
22447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22466 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22470 PyObject
* obj0
= 0 ;
22471 PyObject
* obj1
= 0 ;
22472 char *kwnames
[] = {
22473 (char *) "self",(char *) "item", NULL
22476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22479 arg2
= (long) SWIG_AsLong(obj1
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 (arg1
)->RefreshItem(arg2
);
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22488 Py_INCREF(Py_None
); resultobj
= Py_None
;
22495 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22500 PyObject
* obj0
= 0 ;
22501 PyObject
* obj1
= 0 ;
22502 PyObject
* obj2
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22510 arg2
= (long) SWIG_AsLong(obj1
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22512 arg3
= (long) SWIG_AsLong(obj2
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 (arg1
)->RefreshItems(arg2
,arg3
);
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22521 Py_INCREF(Py_None
); resultobj
= Py_None
;
22528 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
;
22530 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22531 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22533 PyObject
* obj0
= 0 ;
22534 PyObject
* obj1
= 0 ;
22535 char *kwnames
[] = {
22536 (char *) "self",(char *) "flag", NULL
22539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22543 arg2
= (int) SWIG_AsInt(obj1
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (bool)(arg1
)->Arrange(arg2
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22562 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
;
22564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22567 PyObject
* obj0
= 0 ;
22568 PyObject
* obj1
= 0 ;
22569 char *kwnames
[] = {
22570 (char *) "self",(char *) "item", NULL
22573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22576 arg2
= (long) SWIG_AsLong(obj1
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 result
= (bool)(arg1
)->DeleteItem(arg2
);
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22594 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22598 PyObject
* obj0
= 0 ;
22599 char *kwnames
[] = {
22600 (char *) "self", NULL
22603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= (bool)(arg1
)->DeleteAllItems();
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22622 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22623 PyObject
*resultobj
;
22624 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22627 PyObject
* obj0
= 0 ;
22628 PyObject
* obj1
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self",(char *) "col", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22636 arg2
= (int) SWIG_AsInt(obj1
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22654 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "self", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= (bool)(arg1
)->DeleteAllColumns();
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22682 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22685 PyObject
* obj0
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "self", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 (arg1
)->ClearAll();
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 Py_INCREF(Py_None
); resultobj
= Py_None
;
22707 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 PyObject
* obj1
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "self",(char *) "item", NULL
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22720 arg2
= (long) SWIG_AsLong(obj1
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 (arg1
)->EditLabel(arg2
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 Py_INCREF(Py_None
); resultobj
= Py_None
;
22736 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
;
22738 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22741 PyObject
* obj0
= 0 ;
22742 PyObject
* obj1
= 0 ;
22743 char *kwnames
[] = {
22744 (char *) "self",(char *) "item", NULL
22747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22750 arg2
= (long) SWIG_AsLong(obj1
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22768 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22772 wxString
*arg3
= 0 ;
22773 bool arg4
= (bool) False
;
22775 bool temp3
= False
;
22776 PyObject
* obj0
= 0 ;
22777 PyObject
* obj1
= 0 ;
22778 PyObject
* obj2
= 0 ;
22779 PyObject
* obj3
= 0 ;
22780 char *kwnames
[] = {
22781 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22787 arg2
= (long) SWIG_AsLong(obj1
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22790 arg3
= wxString_in_helper(obj2
);
22791 if (arg3
== NULL
) SWIG_fail
;
22795 arg4
= (bool) SWIG_AsBool(obj3
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= SWIG_FromLong((long)result
);
22820 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22826 PyObject
* obj0
= 0 ;
22827 PyObject
* obj1
= 0 ;
22828 PyObject
* obj2
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "self",(char *) "start",(char *) "data", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22836 arg2
= (long) SWIG_AsLong(obj1
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22838 arg3
= (long) SWIG_AsLong(obj2
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22844 wxPyEndAllowThreads(__tstate
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22847 resultobj
= SWIG_FromLong((long)result
);
22854 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22855 PyObject
*resultobj
;
22856 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22858 wxPoint
*arg3
= 0 ;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 PyObject
* obj2
= 0 ;
22865 PyObject
* obj3
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22873 arg2
= (long) SWIG_AsLong(obj1
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22877 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22879 arg4
= (int) SWIG_AsInt(obj3
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_FromLong((long)result
);
22895 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22898 wxPoint
*arg2
= 0 ;
22903 PyObject
* obj0
= 0 ;
22904 PyObject
* obj1
= 0 ;
22905 char *kwnames
[] = {
22906 (char *) "self",(char *) "point", NULL
22910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 resultobj
= SWIG_FromLong((long)result
);
22926 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22927 resultobj
= t_output_helper(resultobj
,o
);
22935 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22938 wxListItem
*arg2
= 0 ;
22940 PyObject
* obj0
= 0 ;
22941 PyObject
* obj1
= 0 ;
22942 char *kwnames
[] = {
22943 (char *) "self",(char *) "info", NULL
22946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22952 if (arg2
== NULL
) {
22953 PyErr_SetString(PyExc_TypeError
,"null reference");
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 result
= (long)(arg1
)->InsertItem(*arg2
);
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 resultobj
= SWIG_FromLong((long)result
);
22970 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
;
22972 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22974 wxString
*arg3
= 0 ;
22976 bool temp3
= False
;
22977 PyObject
* obj0
= 0 ;
22978 PyObject
* obj1
= 0 ;
22979 PyObject
* obj2
= 0 ;
22980 char *kwnames
[] = {
22981 (char *) "self",(char *) "index",(char *) "label", NULL
22984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22987 arg2
= (long) SWIG_AsLong(obj1
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 arg3
= wxString_in_helper(obj2
);
22991 if (arg3
== NULL
) SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= SWIG_FromLong((long)result
);
23016 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23022 PyObject
* obj0
= 0 ;
23023 PyObject
* obj1
= 0 ;
23024 PyObject
* obj2
= 0 ;
23025 char *kwnames
[] = {
23026 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23032 arg2
= (long) SWIG_AsLong(obj1
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23034 arg3
= (int) SWIG_AsInt(obj2
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23038 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_FromLong((long)result
);
23050 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23051 PyObject
*resultobj
;
23052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23054 wxString
*arg3
= 0 ;
23057 bool temp3
= False
;
23058 PyObject
* obj0
= 0 ;
23059 PyObject
* obj1
= 0 ;
23060 PyObject
* obj2
= 0 ;
23061 PyObject
* obj3
= 0 ;
23062 char *kwnames
[] = {
23063 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23069 arg2
= (long) SWIG_AsLong(obj1
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 arg3
= wxString_in_helper(obj2
);
23073 if (arg3
== NULL
) SWIG_fail
;
23076 arg4
= (int) SWIG_AsInt(obj3
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= SWIG_FromLong((long)result
);
23100 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
;
23102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23104 wxListItem
*arg3
= 0 ;
23106 PyObject
* obj0
= 0 ;
23107 PyObject
* obj1
= 0 ;
23108 PyObject
* obj2
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self",(char *) "col",(char *) "info", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23116 arg2
= (long) SWIG_AsLong(obj1
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23118 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23121 if (arg3
== NULL
) {
23122 PyErr_SetString(PyExc_TypeError
,"null reference");
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_FromLong((long)result
);
23139 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
;
23141 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23143 wxString
*arg3
= 0 ;
23144 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23145 int arg5
= (int) -1 ;
23147 bool temp3
= False
;
23148 PyObject
* obj0
= 0 ;
23149 PyObject
* obj1
= 0 ;
23150 PyObject
* obj2
= 0 ;
23151 PyObject
* obj3
= 0 ;
23152 PyObject
* obj4
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23160 arg2
= (long) SWIG_AsLong(obj1
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 arg3
= wxString_in_helper(obj2
);
23164 if (arg3
== NULL
) SWIG_fail
;
23168 arg4
= (int) SWIG_AsInt(obj3
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23172 arg5
= (int) SWIG_AsInt(obj4
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= SWIG_FromLong((long)result
);
23197 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
;
23199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23201 PyObject
* obj0
= 0 ;
23202 PyObject
* obj1
= 0 ;
23203 char *kwnames
[] = {
23204 (char *) "self",(char *) "count", NULL
23207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23210 arg2
= (long) SWIG_AsLong(obj1
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 (arg1
)->SetItemCount(arg2
);
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 Py_INCREF(Py_None
); resultobj
= Py_None
;
23226 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23232 PyObject
* obj0
= 0 ;
23233 PyObject
* obj1
= 0 ;
23234 PyObject
* obj2
= 0 ;
23235 char *kwnames
[] = {
23236 (char *) "self",(char *) "dx",(char *) "dy", NULL
23239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23242 arg2
= (int) SWIG_AsInt(obj1
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23244 arg3
= (int) SWIG_AsInt(obj2
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23262 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23263 PyObject
*resultobj
;
23264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23266 wxColour
*arg3
= 0 ;
23268 PyObject
* obj0
= 0 ;
23269 PyObject
* obj1
= 0 ;
23270 PyObject
* obj2
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self",(char *) "item",(char *) "col", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23278 arg2
= (long) SWIG_AsLong(obj1
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23282 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 Py_INCREF(Py_None
); resultobj
= Py_None
;
23298 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "item", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23312 arg2
= (long) SWIG_AsLong(obj1
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23322 wxColour
* resultptr
;
23323 resultptr
= new wxColour((wxColour
&) result
);
23324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23332 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23334 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23336 wxColour
*arg3
= 0 ;
23338 PyObject
* obj0
= 0 ;
23339 PyObject
* obj1
= 0 ;
23340 PyObject
* obj2
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self",(char *) "item",(char *) "col", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23348 arg2
= (long) SWIG_AsLong(obj1
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 Py_INCREF(Py_None
); resultobj
= Py_None
;
23368 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23373 PyObject
* obj0
= 0 ;
23374 PyObject
* obj1
= 0 ;
23375 char *kwnames
[] = {
23376 (char *) "self",(char *) "item", NULL
23379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23382 arg2
= (long) SWIG_AsLong(obj1
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23392 wxColour
* resultptr
;
23393 resultptr
= new wxColour((wxColour
&) result
);
23394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23402 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23405 PyObject
*arg2
= (PyObject
*) 0 ;
23407 PyObject
* obj0
= 0 ;
23408 PyObject
* obj1
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self",(char *) "func", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23433 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= wxPyMake_wxObject(result
);
23461 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23464 wxVisualAttributes result
;
23465 PyObject
* obj0
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "variant", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23472 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23476 if (!wxPyCheckForApp()) SWIG_fail
;
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23484 wxVisualAttributes
* resultptr
;
23485 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23494 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23497 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23499 return Py_BuildValue((char *)"");
23501 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxWindow
*arg1
= (wxWindow
*) 0 ;
23504 int arg2
= (int) -1 ;
23505 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23506 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23507 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23508 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23509 long arg5
= (long) wxLC_REPORT
;
23510 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23511 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23512 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23513 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23514 wxListView
*result
;
23517 bool temp7
= False
;
23518 PyObject
* obj0
= 0 ;
23519 PyObject
* obj1
= 0 ;
23520 PyObject
* obj2
= 0 ;
23521 PyObject
* obj3
= 0 ;
23522 PyObject
* obj4
= 0 ;
23523 PyObject
* obj5
= 0 ;
23524 PyObject
* obj6
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23533 arg2
= (int) SWIG_AsInt(obj1
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23539 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23545 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23549 arg5
= (long) SWIG_AsLong(obj4
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23553 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23556 if (arg6
== NULL
) {
23557 PyErr_SetString(PyExc_TypeError
,"null reference");
23563 arg7
= wxString_in_helper(obj6
);
23564 if (arg7
== NULL
) SWIG_fail
;
23569 if (!wxPyCheckForApp()) SWIG_fail
;
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23571 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23591 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
;
23593 wxListView
*result
;
23594 char *kwnames
[] = {
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23600 if (!wxPyCheckForApp()) SWIG_fail
;
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 result
= (wxListView
*)new wxListView();
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23614 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23616 wxListView
*arg1
= (wxListView
*) 0 ;
23617 wxWindow
*arg2
= (wxWindow
*) 0 ;
23618 int arg3
= (int) -1 ;
23619 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23620 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23621 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23622 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23623 long arg6
= (long) wxLC_REPORT
;
23624 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23625 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23626 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23627 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23631 bool temp8
= False
;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 PyObject
* obj2
= 0 ;
23635 PyObject
* obj3
= 0 ;
23636 PyObject
* obj4
= 0 ;
23637 PyObject
* obj5
= 0 ;
23638 PyObject
* obj6
= 0 ;
23639 PyObject
* obj7
= 0 ;
23640 char *kwnames
[] = {
23641 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23650 arg3
= (int) SWIG_AsInt(obj2
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23656 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23662 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23666 arg6
= (long) SWIG_AsLong(obj5
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23670 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23673 if (arg7
== NULL
) {
23674 PyErr_SetString(PyExc_TypeError
,"null reference");
23680 arg8
= wxString_in_helper(obj7
);
23681 if (arg8
== NULL
) SWIG_fail
;
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23709 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23711 wxListView
*arg1
= (wxListView
*) 0 ;
23713 bool arg3
= (bool) True
;
23714 PyObject
* obj0
= 0 ;
23715 PyObject
* obj1
= 0 ;
23716 PyObject
* obj2
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "self",(char *) "n",(char *) "on", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23724 arg2
= (long) SWIG_AsLong(obj1
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 arg3
= (bool) SWIG_AsBool(obj2
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 (arg1
)->Select(arg2
,arg3
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 Py_INCREF(Py_None
); resultobj
= Py_None
;
23744 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
;
23746 wxListView
*arg1
= (wxListView
*) 0 ;
23748 PyObject
* obj0
= 0 ;
23749 PyObject
* obj1
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self",(char *) "index", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23757 arg2
= (long) SWIG_AsLong(obj1
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 (arg1
)->Focus(arg2
);
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 Py_INCREF(Py_None
); resultobj
= Py_None
;
23773 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxListView
*arg1
= (wxListView
*) 0 ;
23777 PyObject
* obj0
= 0 ;
23778 char *kwnames
[] = {
23779 (char *) "self", NULL
23782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_FromLong((long)result
);
23799 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
;
23801 wxListView
*arg1
= (wxListView
*) 0 ;
23804 PyObject
* obj0
= 0 ;
23805 PyObject
* obj1
= 0 ;
23806 char *kwnames
[] = {
23807 (char *) "self",(char *) "item", NULL
23810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23813 arg2
= (long) SWIG_AsLong(obj1
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= SWIG_FromLong((long)result
);
23829 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxListView
*arg1
= (wxListView
*) 0 ;
23833 PyObject
* obj0
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= SWIG_FromLong((long)result
);
23855 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
;
23857 wxListView
*arg1
= (wxListView
*) 0 ;
23860 PyObject
* obj0
= 0 ;
23861 PyObject
* obj1
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "self",(char *) "index", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23869 arg2
= (long) SWIG_AsLong(obj1
);
23870 if (PyErr_Occurred()) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (bool)(arg1
)->IsSelected(arg2
);
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23887 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23888 PyObject
*resultobj
;
23889 wxListView
*arg1
= (wxListView
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 PyObject
* obj1
= 0 ;
23894 PyObject
* obj2
= 0 ;
23895 char *kwnames
[] = {
23896 (char *) "self",(char *) "col",(char *) "image", NULL
23899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23902 arg2
= (int) SWIG_AsInt(obj1
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23904 arg3
= (int) SWIG_AsInt(obj2
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 (arg1
)->SetColumnImage(arg2
,arg3
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 Py_INCREF(Py_None
); resultobj
= Py_None
;
23920 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxListView
*arg1
= (wxListView
*) 0 ;
23924 PyObject
* obj0
= 0 ;
23925 PyObject
* obj1
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self",(char *) "col", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23933 arg2
= (int) SWIG_AsInt(obj1
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 (arg1
)->ClearColumnImage(arg2
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 Py_INCREF(Py_None
); resultobj
= Py_None
;
23949 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23952 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23954 return Py_BuildValue((char *)"");
23956 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23957 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23962 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23967 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23969 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23976 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23978 wxTreeItemId
*result
;
23979 char *kwnames
[] = {
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (wxTreeItemId
*)new wxTreeItemId();
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23998 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24000 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24001 PyObject
* obj0
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "self", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 Py_INCREF(Py_None
); resultobj
= Py_None
;
24023 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24027 PyObject
* obj0
= 0 ;
24028 char *kwnames
[] = {
24029 (char *) "self", NULL
24032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24051 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
;
24053 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24054 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24056 PyObject
* obj0
= 0 ;
24057 PyObject
* obj1
= 0 ;
24058 char *kwnames
[] = {
24059 (char *) "self",(char *) "other", NULL
24062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24083 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24084 PyObject
*resultobj
;
24085 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24086 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24088 PyObject
* obj0
= 0 ;
24089 PyObject
* obj1
= 0 ;
24090 char *kwnames
[] = {
24091 (char *) "self",(char *) "other", NULL
24094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24115 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24117 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24118 void *arg2
= (void *) 0 ;
24119 PyObject
* obj0
= 0 ;
24120 PyObject
* obj1
= 0 ;
24121 char *kwnames
[] = {
24122 (char *) "self",(char *) "m_pItem", NULL
24125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24128 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24129 if (arg1
) (arg1
)->m_pItem
= arg2
;
24131 Py_INCREF(Py_None
); resultobj
= Py_None
;
24138 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24142 PyObject
* obj0
= 0 ;
24143 char *kwnames
[] = {
24144 (char *) "self", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24150 result
= (void *) ((arg1
)->m_pItem
);
24152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24159 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24162 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24164 return Py_BuildValue((char *)"");
24166 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24168 PyObject
*arg1
= (PyObject
*) NULL
;
24169 wxPyTreeItemData
*result
;
24170 PyObject
* obj0
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "obj", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24193 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
;
24195 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24197 PyObject
* obj0
= 0 ;
24198 char *kwnames
[] = {
24199 (char *) "self", NULL
24202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (PyObject
*)(arg1
)->GetData();
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= result
;
24219 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
;
24221 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24222 PyObject
*arg2
= (PyObject
*) 0 ;
24223 PyObject
* obj0
= 0 ;
24224 PyObject
* obj1
= 0 ;
24225 char *kwnames
[] = {
24226 (char *) "self",(char *) "obj", NULL
24229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 (arg1
)->SetData(arg2
);
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24240 Py_INCREF(Py_None
); resultobj
= Py_None
;
24247 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24250 wxTreeItemId
*result
;
24251 PyObject
* obj0
= 0 ;
24252 char *kwnames
[] = {
24253 (char *) "self", NULL
24256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24263 result
= (wxTreeItemId
*) &_result_ref
;
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24276 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24279 wxTreeItemId
*arg2
= 0 ;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self",(char *) "id", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24292 if (arg2
== NULL
) {
24293 PyErr_SetString(PyExc_TypeError
,"null reference");
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 Py_INCREF(Py_None
); resultobj
= Py_None
;
24310 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
;
24312 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24313 PyObject
* obj0
= 0 ;
24314 char *kwnames
[] = {
24315 (char *) "self", NULL
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 wxPyTreeItemData_Destroy(arg1
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 Py_INCREF(Py_None
); resultobj
= Py_None
;
24335 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24338 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24340 return Py_BuildValue((char *)"");
24342 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24343 PyObject
*resultobj
;
24344 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24345 int arg2
= (int) 0 ;
24346 wxTreeEvent
*result
;
24347 PyObject
* obj0
= 0 ;
24348 PyObject
* obj1
= 0 ;
24349 char *kwnames
[] = {
24350 (char *) "commandType",(char *) "id", NULL
24353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24355 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24359 arg2
= (int) SWIG_AsInt(obj1
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24376 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24379 wxTreeItemId result
;
24380 PyObject
* obj0
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24396 wxTreeItemId
* resultptr
;
24397 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24406 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
;
24408 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24409 wxTreeItemId
*arg2
= 0 ;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self",(char *) "item", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24422 if (arg2
== NULL
) {
24423 PyErr_SetString(PyExc_TypeError
,"null reference");
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24433 Py_INCREF(Py_None
); resultobj
= Py_None
;
24440 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24441 PyObject
*resultobj
;
24442 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24443 wxTreeItemId result
;
24444 PyObject
* obj0
= 0 ;
24445 char *kwnames
[] = {
24446 (char *) "self", NULL
24449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24460 wxTreeItemId
* resultptr
;
24461 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24470 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
;
24472 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24473 wxTreeItemId
*arg2
= 0 ;
24474 PyObject
* obj0
= 0 ;
24475 PyObject
* obj1
= 0 ;
24476 char *kwnames
[] = {
24477 (char *) "self",(char *) "item", NULL
24480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24486 if (arg2
== NULL
) {
24487 PyErr_SetString(PyExc_TypeError
,"null reference");
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24497 Py_INCREF(Py_None
); resultobj
= Py_None
;
24504 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24505 PyObject
*resultobj
;
24506 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24508 PyObject
* obj0
= 0 ;
24509 char *kwnames
[] = {
24510 (char *) "self", NULL
24513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24524 wxPoint
* resultptr
;
24525 resultptr
= new wxPoint((wxPoint
&) result
);
24526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24534 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
;
24536 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24537 wxPoint
*arg2
= 0 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self",(char *) "pt", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24559 Py_INCREF(Py_None
); resultobj
= Py_None
;
24566 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
;
24568 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24569 wxKeyEvent
*result
;
24570 PyObject
* obj0
= 0 ;
24571 char *kwnames
[] = {
24572 (char *) "self", NULL
24575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24582 result
= (wxKeyEvent
*) &_result_ref
;
24585 wxPyEndAllowThreads(__tstate
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24595 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24596 PyObject
*resultobj
;
24597 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24599 PyObject
* obj0
= 0 ;
24600 char *kwnames
[] = {
24601 (char *) "self", NULL
24604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= SWIG_FromInt((int)result
);
24621 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
;
24623 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24624 wxKeyEvent
*arg2
= 0 ;
24625 PyObject
* obj0
= 0 ;
24626 PyObject
* obj1
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self",(char *) "evt", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24637 if (arg2
== NULL
) {
24638 PyErr_SetString(PyExc_TypeError
,"null reference");
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24648 Py_INCREF(Py_None
); resultobj
= Py_None
;
24655 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
;
24657 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 char *kwnames
[] = {
24661 (char *) "self", NULL
24664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24671 result
= (wxString
*) &_result_ref
;
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24681 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24690 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
;
24692 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24693 wxString
*arg2
= 0 ;
24694 bool temp2
= False
;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 char *kwnames
[] = {
24698 (char *) "self",(char *) "label", NULL
24701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24705 arg2
= wxString_in_helper(obj1
);
24706 if (arg2
== NULL
) SWIG_fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 (arg1
)->SetLabel((wxString
const &)*arg2
);
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24716 Py_INCREF(Py_None
); resultobj
= Py_None
;
24731 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
;
24733 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24735 PyObject
* obj0
= 0 ;
24736 char *kwnames
[] = {
24737 (char *) "self", NULL
24740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24759 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24763 PyObject
* obj0
= 0 ;
24764 PyObject
* obj1
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self",(char *) "editCancelled", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 arg2
= (bool) SWIG_AsBool(obj1
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 (arg1
)->SetEditCanceled(arg2
);
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24781 Py_INCREF(Py_None
); resultobj
= Py_None
;
24788 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24790 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24791 wxString
*arg2
= 0 ;
24792 bool temp2
= False
;
24793 PyObject
* obj0
= 0 ;
24794 PyObject
* obj1
= 0 ;
24795 char *kwnames
[] = {
24796 (char *) "self",(char *) "toolTip", NULL
24799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24803 arg2
= wxString_in_helper(obj1
);
24804 if (arg2
== NULL
) SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 Py_INCREF(Py_None
); resultobj
= Py_None
;
24829 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24832 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24834 return Py_BuildValue((char *)"");
24836 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxWindow
*arg1
= (wxWindow
*) 0 ;
24839 int arg2
= (int) -1 ;
24840 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24841 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24842 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24843 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24844 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24845 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24846 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24847 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24848 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24849 wxPyTreeCtrl
*result
;
24852 bool temp7
= False
;
24853 PyObject
* obj0
= 0 ;
24854 PyObject
* obj1
= 0 ;
24855 PyObject
* obj2
= 0 ;
24856 PyObject
* obj3
= 0 ;
24857 PyObject
* obj4
= 0 ;
24858 PyObject
* obj5
= 0 ;
24859 PyObject
* obj6
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24868 arg2
= (int) SWIG_AsInt(obj1
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24874 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24880 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24884 arg5
= (long) SWIG_AsLong(obj4
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24888 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24891 if (arg6
== NULL
) {
24892 PyErr_SetString(PyExc_TypeError
,"null reference");
24898 arg7
= wxString_in_helper(obj6
);
24899 if (arg7
== NULL
) SWIG_fail
;
24904 if (!wxPyCheckForApp()) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= wxPyMake_wxObject(result
);
24928 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxPyTreeCtrl
*result
;
24931 char *kwnames
[] = {
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24937 if (!wxPyCheckForApp()) SWIG_fail
;
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= wxPyMake_wxObject(result
);
24953 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
;
24955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24956 wxWindow
*arg2
= (wxWindow
*) 0 ;
24957 int arg3
= (int) -1 ;
24958 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24959 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24960 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24961 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24962 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24963 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24964 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24965 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24966 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24970 bool temp8
= False
;
24971 PyObject
* obj0
= 0 ;
24972 PyObject
* obj1
= 0 ;
24973 PyObject
* obj2
= 0 ;
24974 PyObject
* obj3
= 0 ;
24975 PyObject
* obj4
= 0 ;
24976 PyObject
* obj5
= 0 ;
24977 PyObject
* obj6
= 0 ;
24978 PyObject
* obj7
= 0 ;
24979 char *kwnames
[] = {
24980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24989 arg3
= (int) SWIG_AsInt(obj2
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24995 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25001 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25005 arg6
= (long) SWIG_AsLong(obj5
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25009 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25012 if (arg7
== NULL
) {
25013 PyErr_SetString(PyExc_TypeError
,"null reference");
25019 arg8
= wxString_in_helper(obj7
);
25020 if (arg8
== NULL
) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25048 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
;
25050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25051 PyObject
*arg2
= (PyObject
*) 0 ;
25052 PyObject
*arg3
= (PyObject
*) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 PyObject
* obj2
= 0 ;
25056 char *kwnames
[] = {
25057 (char *) "self",(char *) "self",(char *) "_class", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25067 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25069 wxPyEndAllowThreads(__tstate
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25072 Py_INCREF(Py_None
); resultobj
= Py_None
;
25079 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25080 PyObject
*resultobj
;
25081 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25083 PyObject
* obj0
= 0 ;
25084 char *kwnames
[] = {
25085 (char *) "self", NULL
25088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25105 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
;
25107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25108 unsigned int result
;
25109 PyObject
* obj0
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25131 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
;
25133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25134 unsigned int arg2
;
25135 PyObject
* obj0
= 0 ;
25136 PyObject
* obj1
= 0 ;
25137 char *kwnames
[] = {
25138 (char *) "self",(char *) "indent", NULL
25141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25144 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 (arg1
)->SetIndent(arg2
);
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25153 Py_INCREF(Py_None
); resultobj
= Py_None
;
25160 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25163 unsigned int result
;
25164 PyObject
* obj0
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25179 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25186 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25189 unsigned int arg2
;
25190 PyObject
* obj0
= 0 ;
25191 PyObject
* obj1
= 0 ;
25192 char *kwnames
[] = {
25193 (char *) "self",(char *) "spacing", NULL
25196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25199 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 (arg1
)->SetSpacing(arg2
);
25205 wxPyEndAllowThreads(__tstate
);
25206 if (PyErr_Occurred()) SWIG_fail
;
25208 Py_INCREF(Py_None
); resultobj
= Py_None
;
25215 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25216 PyObject
*resultobj
;
25217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25218 wxImageList
*result
;
25219 PyObject
* obj0
= 0 ;
25220 char *kwnames
[] = {
25221 (char *) "self", NULL
25224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25235 resultobj
= wxPyMake_wxObject(result
);
25243 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
;
25245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25246 wxImageList
*result
;
25247 PyObject
* obj0
= 0 ;
25248 char *kwnames
[] = {
25249 (char *) "self", NULL
25252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= wxPyMake_wxObject(result
);
25271 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
;
25273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25274 wxImageList
*arg2
= (wxImageList
*) 0 ;
25275 PyObject
* obj0
= 0 ;
25276 PyObject
* obj1
= 0 ;
25277 char *kwnames
[] = {
25278 (char *) "self",(char *) "imageList", NULL
25281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 (arg1
)->SetImageList(arg2
);
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 Py_INCREF(Py_None
); resultobj
= Py_None
;
25300 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25302 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25303 wxImageList
*arg2
= (wxImageList
*) 0 ;
25304 PyObject
* obj0
= 0 ;
25305 PyObject
* obj1
= 0 ;
25306 char *kwnames
[] = {
25307 (char *) "self",(char *) "imageList", NULL
25310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 (arg1
)->SetStateImageList(arg2
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 Py_INCREF(Py_None
); resultobj
= Py_None
;
25329 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
;
25331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25332 wxImageList
*arg2
= (wxImageList
*) 0 ;
25333 PyObject
* obj0
= 0 ;
25334 PyObject
* obj1
= 0 ;
25335 char *kwnames
[] = {
25336 (char *) "self",(char *) "imageList", NULL
25339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25343 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 (arg1
)->AssignImageList(arg2
);
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 Py_INCREF(Py_None
); resultobj
= Py_None
;
25358 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
;
25360 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25361 wxImageList
*arg2
= (wxImageList
*) 0 ;
25362 PyObject
* obj0
= 0 ;
25363 PyObject
* obj1
= 0 ;
25364 char *kwnames
[] = {
25365 (char *) "self",(char *) "imageList", NULL
25368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25372 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 (arg1
)->AssignStateImageList(arg2
);
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 Py_INCREF(Py_None
); resultobj
= Py_None
;
25387 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
;
25389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25390 wxTreeItemId
*arg2
= 0 ;
25392 PyObject
* obj0
= 0 ;
25393 PyObject
* obj1
= 0 ;
25394 char *kwnames
[] = {
25395 (char *) "self",(char *) "item", NULL
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25404 if (arg2
== NULL
) {
25405 PyErr_SetString(PyExc_TypeError
,"null reference");
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25428 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
;
25430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25431 wxTreeItemId
*arg2
= 0 ;
25432 int arg3
= (int) wxTreeItemIcon_Normal
;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 PyObject
* obj2
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "self",(char *) "item",(char *) "which", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25447 if (arg2
== NULL
) {
25448 PyErr_SetString(PyExc_TypeError
,"null reference");
25452 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 resultobj
= SWIG_FromInt((int)result
);
25469 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25472 wxTreeItemId
*arg2
= 0 ;
25473 wxPyTreeItemData
*result
;
25474 PyObject
* obj0
= 0 ;
25475 PyObject
* obj1
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "self",(char *) "item", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25486 if (arg2
== NULL
) {
25487 PyErr_SetString(PyExc_TypeError
,"null reference");
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25504 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25505 PyObject
*resultobj
;
25506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25507 wxTreeItemId
*arg2
= 0 ;
25509 PyObject
* obj0
= 0 ;
25510 PyObject
* obj1
= 0 ;
25511 char *kwnames
[] = {
25512 (char *) "self",(char *) "item", NULL
25515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",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_wxTreeItemId
,
25519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25521 if (arg2
== NULL
) {
25522 PyErr_SetString(PyExc_TypeError
,"null reference");
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 resultobj
= result
;
25539 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
;
25541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25542 wxTreeItemId
*arg2
= 0 ;
25544 PyObject
* obj0
= 0 ;
25545 PyObject
* obj1
= 0 ;
25546 char *kwnames
[] = {
25547 (char *) "self",(char *) "item", NULL
25550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25556 if (arg2
== NULL
) {
25557 PyErr_SetString(PyExc_TypeError
,"null reference");
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25568 wxColour
* resultptr
;
25569 resultptr
= new wxColour((wxColour
&) result
);
25570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25578 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25579 PyObject
*resultobj
;
25580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25581 wxTreeItemId
*arg2
= 0 ;
25583 PyObject
* obj0
= 0 ;
25584 PyObject
* obj1
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self",(char *) "item", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25595 if (arg2
== NULL
) {
25596 PyErr_SetString(PyExc_TypeError
,"null reference");
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25603 wxPyEndAllowThreads(__tstate
);
25604 if (PyErr_Occurred()) SWIG_fail
;
25607 wxColour
* resultptr
;
25608 resultptr
= new wxColour((wxColour
&) result
);
25609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25617 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25618 PyObject
*resultobj
;
25619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25620 wxTreeItemId
*arg2
= 0 ;
25622 PyObject
* obj0
= 0 ;
25623 PyObject
* obj1
= 0 ;
25624 char *kwnames
[] = {
25625 (char *) "self",(char *) "item", NULL
25628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25634 if (arg2
== NULL
) {
25635 PyErr_SetString(PyExc_TypeError
,"null reference");
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25646 wxFont
* resultptr
;
25647 resultptr
= new wxFont((wxFont
&) result
);
25648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25656 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25657 PyObject
*resultobj
;
25658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25659 wxTreeItemId
*arg2
= 0 ;
25660 wxString
*arg3
= 0 ;
25661 bool temp3
= False
;
25662 PyObject
* obj0
= 0 ;
25663 PyObject
* obj1
= 0 ;
25664 PyObject
* obj2
= 0 ;
25665 char *kwnames
[] = {
25666 (char *) "self",(char *) "item",(char *) "text", NULL
25669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25675 if (arg2
== NULL
) {
25676 PyErr_SetString(PyExc_TypeError
,"null reference");
25680 arg3
= wxString_in_helper(obj2
);
25681 if (arg3
== NULL
) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 Py_INCREF(Py_None
); resultobj
= Py_None
;
25706 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25707 PyObject
*resultobj
;
25708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25709 wxTreeItemId
*arg2
= 0 ;
25711 int arg4
= (int) wxTreeItemIcon_Normal
;
25712 PyObject
* obj0
= 0 ;
25713 PyObject
* obj1
= 0 ;
25714 PyObject
* obj2
= 0 ;
25715 PyObject
* obj3
= 0 ;
25716 char *kwnames
[] = {
25717 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25726 if (arg2
== NULL
) {
25727 PyErr_SetString(PyExc_TypeError
,"null reference");
25730 arg3
= (int) SWIG_AsInt(obj2
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 Py_INCREF(Py_None
); resultobj
= Py_None
;
25750 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25751 PyObject
*resultobj
;
25752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25753 wxTreeItemId
*arg2
= 0 ;
25754 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 PyObject
* obj2
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self",(char *) "item",(char *) "data", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25768 if (arg2
== NULL
) {
25769 PyErr_SetString(PyExc_TypeError
,"null reference");
25772 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25778 wxPyEndAllowThreads(__tstate
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25781 Py_INCREF(Py_None
); resultobj
= Py_None
;
25788 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25791 wxTreeItemId
*arg2
= 0 ;
25792 PyObject
*arg3
= (PyObject
*) 0 ;
25793 PyObject
* obj0
= 0 ;
25794 PyObject
* obj1
= 0 ;
25795 PyObject
* obj2
= 0 ;
25796 char *kwnames
[] = {
25797 (char *) "self",(char *) "item",(char *) "obj", NULL
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25806 if (arg2
== NULL
) {
25807 PyErr_SetString(PyExc_TypeError
,"null reference");
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 Py_INCREF(Py_None
); resultobj
= Py_None
;
25825 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
;
25827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25828 wxTreeItemId
*arg2
= 0 ;
25829 bool arg3
= (bool) True
;
25830 PyObject
* obj0
= 0 ;
25831 PyObject
* obj1
= 0 ;
25832 PyObject
* obj2
= 0 ;
25833 char *kwnames
[] = {
25834 (char *) "self",(char *) "item",(char *) "has", NULL
25837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25843 if (arg2
== NULL
) {
25844 PyErr_SetString(PyExc_TypeError
,"null reference");
25848 arg3
= (bool) SWIG_AsBool(obj2
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 Py_INCREF(Py_None
); resultobj
= Py_None
;
25865 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
;
25867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25868 wxTreeItemId
*arg2
= 0 ;
25869 bool arg3
= (bool) True
;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 PyObject
* obj2
= 0 ;
25873 char *kwnames
[] = {
25874 (char *) "self",(char *) "item",(char *) "bold", NULL
25877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25883 if (arg2
== NULL
) {
25884 PyErr_SetString(PyExc_TypeError
,"null reference");
25888 arg3
= (bool) SWIG_AsBool(obj2
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25895 wxPyEndAllowThreads(__tstate
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25898 Py_INCREF(Py_None
); resultobj
= Py_None
;
25905 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
;
25907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25908 wxTreeItemId
*arg2
= 0 ;
25909 wxColour
*arg3
= 0 ;
25911 PyObject
* obj0
= 0 ;
25912 PyObject
* obj1
= 0 ;
25913 PyObject
* obj2
= 0 ;
25914 char *kwnames
[] = {
25915 (char *) "self",(char *) "item",(char *) "col", NULL
25918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25924 if (arg2
== NULL
) {
25925 PyErr_SetString(PyExc_TypeError
,"null reference");
25930 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 Py_INCREF(Py_None
); resultobj
= Py_None
;
25946 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25947 PyObject
*resultobj
;
25948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25949 wxTreeItemId
*arg2
= 0 ;
25950 wxColour
*arg3
= 0 ;
25952 PyObject
* obj0
= 0 ;
25953 PyObject
* obj1
= 0 ;
25954 PyObject
* obj2
= 0 ;
25955 char *kwnames
[] = {
25956 (char *) "self",(char *) "item",(char *) "col", NULL
25959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25965 if (arg2
== NULL
) {
25966 PyErr_SetString(PyExc_TypeError
,"null reference");
25971 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25980 Py_INCREF(Py_None
); resultobj
= Py_None
;
25987 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25990 wxTreeItemId
*arg2
= 0 ;
25992 PyObject
* obj0
= 0 ;
25993 PyObject
* obj1
= 0 ;
25994 PyObject
* obj2
= 0 ;
25995 char *kwnames
[] = {
25996 (char *) "self",(char *) "item",(char *) "font", NULL
25999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26005 if (arg2
== NULL
) {
26006 PyErr_SetString(PyExc_TypeError
,"null reference");
26009 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26012 if (arg3
== NULL
) {
26013 PyErr_SetString(PyExc_TypeError
,"null reference");
26017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 Py_INCREF(Py_None
); resultobj
= Py_None
;
26030 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26031 PyObject
*resultobj
;
26032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26033 wxTreeItemId
*arg2
= 0 ;
26035 PyObject
* obj0
= 0 ;
26036 PyObject
* obj1
= 0 ;
26037 char *kwnames
[] = {
26038 (char *) "self",(char *) "item", NULL
26041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26047 if (arg2
== NULL
) {
26048 PyErr_SetString(PyExc_TypeError
,"null reference");
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26067 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
;
26069 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26070 wxTreeItemId
*arg2
= 0 ;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 char *kwnames
[] = {
26075 (char *) "self",(char *) "item", NULL
26078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26084 if (arg2
== NULL
) {
26085 PyErr_SetString(PyExc_TypeError
,"null reference");
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26104 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
;
26106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26107 wxTreeItemId
*arg2
= 0 ;
26109 PyObject
* obj0
= 0 ;
26110 PyObject
* obj1
= 0 ;
26111 char *kwnames
[] = {
26112 (char *) "self",(char *) "item", NULL
26115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26121 if (arg2
== NULL
) {
26122 PyErr_SetString(PyExc_TypeError
,"null reference");
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26141 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
;
26143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26144 wxTreeItemId
*arg2
= 0 ;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj1
= 0 ;
26148 char *kwnames
[] = {
26149 (char *) "self",(char *) "item", NULL
26152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26158 if (arg2
== NULL
) {
26159 PyErr_SetString(PyExc_TypeError
,"null reference");
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26178 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26179 PyObject
*resultobj
;
26180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26181 wxTreeItemId
*arg2
= 0 ;
26183 PyObject
* obj0
= 0 ;
26184 PyObject
* obj1
= 0 ;
26185 char *kwnames
[] = {
26186 (char *) "self",(char *) "item", NULL
26189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26195 if (arg2
== NULL
) {
26196 PyErr_SetString(PyExc_TypeError
,"null reference");
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26215 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26216 PyObject
*resultobj
;
26217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26218 wxTreeItemId
*arg2
= 0 ;
26219 bool arg3
= (bool) True
;
26221 PyObject
* obj0
= 0 ;
26222 PyObject
* obj1
= 0 ;
26223 PyObject
* obj2
= 0 ;
26224 char *kwnames
[] = {
26225 (char *) "self",(char *) "item",(char *) "recursively", NULL
26228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26234 if (arg2
== NULL
) {
26235 PyErr_SetString(PyExc_TypeError
,"null reference");
26239 arg3
= (bool) SWIG_AsBool(obj2
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26246 wxPyEndAllowThreads(__tstate
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26249 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26256 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
;
26258 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26259 wxTreeItemId result
;
26260 PyObject
* obj0
= 0 ;
26261 char *kwnames
[] = {
26262 (char *) "self", NULL
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26276 wxTreeItemId
* resultptr
;
26277 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26286 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
;
26288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26289 wxTreeItemId result
;
26290 PyObject
* obj0
= 0 ;
26291 char *kwnames
[] = {
26292 (char *) "self", NULL
26295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26306 wxTreeItemId
* resultptr
;
26307 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26316 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
;
26318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 char *kwnames
[] = {
26322 (char *) "self", NULL
26325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= result
;
26342 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26345 wxTreeItemId
*arg2
= 0 ;
26346 wxTreeItemId result
;
26347 PyObject
* obj0
= 0 ;
26348 PyObject
* obj1
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self",(char *) "item", NULL
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26359 if (arg2
== NULL
) {
26360 PyErr_SetString(PyExc_TypeError
,"null reference");
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26371 wxTreeItemId
* resultptr
;
26372 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26381 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26384 wxTreeItemId
*arg2
= 0 ;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self",(char *) "item", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26398 if (arg2
== NULL
) {
26399 PyErr_SetString(PyExc_TypeError
,"null reference");
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= result
;
26416 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
;
26418 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26419 wxTreeItemId
*arg2
= 0 ;
26420 void *arg3
= (void *) 0 ;
26422 PyObject
* obj0
= 0 ;
26423 PyObject
* obj1
= 0 ;
26424 PyObject
* obj2
= 0 ;
26425 char *kwnames
[] = {
26426 (char *) "self",(char *) "item",(char *) "cookie", NULL
26429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26435 if (arg2
== NULL
) {
26436 PyErr_SetString(PyExc_TypeError
,"null reference");
26439 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26447 resultobj
= result
;
26454 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26457 wxTreeItemId
*arg2
= 0 ;
26458 wxTreeItemId result
;
26459 PyObject
* obj0
= 0 ;
26460 PyObject
* obj1
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self",(char *) "item", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26471 if (arg2
== NULL
) {
26472 PyErr_SetString(PyExc_TypeError
,"null reference");
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26483 wxTreeItemId
* resultptr
;
26484 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26493 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26496 wxTreeItemId
*arg2
= 0 ;
26497 wxTreeItemId result
;
26498 PyObject
* obj0
= 0 ;
26499 PyObject
* obj1
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "self",(char *) "item", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26510 if (arg2
== NULL
) {
26511 PyErr_SetString(PyExc_TypeError
,"null reference");
26515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26522 wxTreeItemId
* resultptr
;
26523 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26532 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
;
26534 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26535 wxTreeItemId
*arg2
= 0 ;
26536 wxTreeItemId result
;
26537 PyObject
* obj0
= 0 ;
26538 PyObject
* obj1
= 0 ;
26539 char *kwnames
[] = {
26540 (char *) "self",(char *) "item", NULL
26543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26549 if (arg2
== NULL
) {
26550 PyErr_SetString(PyExc_TypeError
,"null reference");
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26561 wxTreeItemId
* resultptr
;
26562 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26571 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
;
26573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26574 wxTreeItemId result
;
26575 PyObject
* obj0
= 0 ;
26576 char *kwnames
[] = {
26577 (char *) "self", NULL
26580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26585 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26591 wxTreeItemId
* resultptr
;
26592 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26601 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
;
26603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26604 wxTreeItemId
*arg2
= 0 ;
26605 wxTreeItemId result
;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char *kwnames
[] = {
26609 (char *) "self",(char *) "item", NULL
26612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26618 if (arg2
== NULL
) {
26619 PyErr_SetString(PyExc_TypeError
,"null reference");
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26630 wxTreeItemId
* resultptr
;
26631 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26640 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
;
26642 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26643 wxTreeItemId
*arg2
= 0 ;
26644 wxTreeItemId result
;
26645 PyObject
* obj0
= 0 ;
26646 PyObject
* obj1
= 0 ;
26647 char *kwnames
[] = {
26648 (char *) "self",(char *) "item", NULL
26651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26657 if (arg2
== NULL
) {
26658 PyErr_SetString(PyExc_TypeError
,"null reference");
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26669 wxTreeItemId
* resultptr
;
26670 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26679 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26682 wxString
*arg2
= 0 ;
26683 int arg3
= (int) -1 ;
26684 int arg4
= (int) -1 ;
26685 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26686 wxTreeItemId result
;
26687 bool temp2
= False
;
26688 PyObject
* obj0
= 0 ;
26689 PyObject
* obj1
= 0 ;
26690 PyObject
* obj2
= 0 ;
26691 PyObject
* obj3
= 0 ;
26692 PyObject
* obj4
= 0 ;
26693 char *kwnames
[] = {
26694 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26701 arg2
= wxString_in_helper(obj1
);
26702 if (arg2
== NULL
) SWIG_fail
;
26706 arg3
= (int) SWIG_AsInt(obj2
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26710 arg4
= (int) SWIG_AsInt(obj3
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26714 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26725 wxTreeItemId
* resultptr
;
26726 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26743 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
;
26745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26746 wxTreeItemId
*arg2
= 0 ;
26747 wxString
*arg3
= 0 ;
26748 int arg4
= (int) -1 ;
26749 int arg5
= (int) -1 ;
26750 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26751 wxTreeItemId result
;
26752 bool temp3
= False
;
26753 PyObject
* obj0
= 0 ;
26754 PyObject
* obj1
= 0 ;
26755 PyObject
* obj2
= 0 ;
26756 PyObject
* obj3
= 0 ;
26757 PyObject
* obj4
= 0 ;
26758 PyObject
* obj5
= 0 ;
26759 char *kwnames
[] = {
26760 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26769 if (arg2
== NULL
) {
26770 PyErr_SetString(PyExc_TypeError
,"null reference");
26774 arg3
= wxString_in_helper(obj2
);
26775 if (arg3
== NULL
) SWIG_fail
;
26779 arg4
= (int) SWIG_AsInt(obj3
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26783 arg5
= (int) SWIG_AsInt(obj4
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26787 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26798 wxTreeItemId
* resultptr
;
26799 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26816 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
;
26818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26819 wxTreeItemId
*arg2
= 0 ;
26820 wxTreeItemId
*arg3
= 0 ;
26821 wxString
*arg4
= 0 ;
26822 int arg5
= (int) -1 ;
26823 int arg6
= (int) -1 ;
26824 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26825 wxTreeItemId result
;
26826 bool temp4
= False
;
26827 PyObject
* obj0
= 0 ;
26828 PyObject
* obj1
= 0 ;
26829 PyObject
* obj2
= 0 ;
26830 PyObject
* obj3
= 0 ;
26831 PyObject
* obj4
= 0 ;
26832 PyObject
* obj5
= 0 ;
26833 PyObject
* obj6
= 0 ;
26834 char *kwnames
[] = {
26835 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26844 if (arg2
== NULL
) {
26845 PyErr_SetString(PyExc_TypeError
,"null reference");
26848 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26851 if (arg3
== NULL
) {
26852 PyErr_SetString(PyExc_TypeError
,"null reference");
26856 arg4
= wxString_in_helper(obj3
);
26857 if (arg4
== NULL
) SWIG_fail
;
26861 arg5
= (int) SWIG_AsInt(obj4
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26865 arg6
= (int) SWIG_AsInt(obj5
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26869 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26880 wxTreeItemId
* resultptr
;
26881 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26898 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
;
26900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26901 wxTreeItemId
*arg2
= 0 ;
26903 wxString
*arg4
= 0 ;
26904 int arg5
= (int) -1 ;
26905 int arg6
= (int) -1 ;
26906 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26907 wxTreeItemId result
;
26908 bool temp4
= False
;
26909 PyObject
* obj0
= 0 ;
26910 PyObject
* obj1
= 0 ;
26911 PyObject
* obj2
= 0 ;
26912 PyObject
* obj3
= 0 ;
26913 PyObject
* obj4
= 0 ;
26914 PyObject
* obj5
= 0 ;
26915 PyObject
* obj6
= 0 ;
26916 char *kwnames
[] = {
26917 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26926 if (arg2
== NULL
) {
26927 PyErr_SetString(PyExc_TypeError
,"null reference");
26930 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 arg4
= wxString_in_helper(obj3
);
26934 if (arg4
== NULL
) SWIG_fail
;
26938 arg5
= (int) SWIG_AsInt(obj4
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26942 arg6
= (int) SWIG_AsInt(obj5
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26946 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26957 wxTreeItemId
* resultptr
;
26958 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26975 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
;
26977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26978 wxTreeItemId
*arg2
= 0 ;
26979 wxString
*arg3
= 0 ;
26980 int arg4
= (int) -1 ;
26981 int arg5
= (int) -1 ;
26982 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26983 wxTreeItemId result
;
26984 bool temp3
= False
;
26985 PyObject
* obj0
= 0 ;
26986 PyObject
* obj1
= 0 ;
26987 PyObject
* obj2
= 0 ;
26988 PyObject
* obj3
= 0 ;
26989 PyObject
* obj4
= 0 ;
26990 PyObject
* obj5
= 0 ;
26991 char *kwnames
[] = {
26992 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26999 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27001 if (arg2
== NULL
) {
27002 PyErr_SetString(PyExc_TypeError
,"null reference");
27006 arg3
= wxString_in_helper(obj2
);
27007 if (arg3
== NULL
) SWIG_fail
;
27011 arg4
= (int) SWIG_AsInt(obj3
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27015 arg5
= (int) SWIG_AsInt(obj4
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27019 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 wxTreeItemId
* resultptr
;
27031 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27048 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
;
27050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27051 wxTreeItemId
*arg2
= 0 ;
27052 PyObject
* obj0
= 0 ;
27053 PyObject
* obj1
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "self",(char *) "item", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27064 if (arg2
== NULL
) {
27065 PyErr_SetString(PyExc_TypeError
,"null reference");
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27075 Py_INCREF(Py_None
); resultobj
= Py_None
;
27082 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
;
27084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27085 wxTreeItemId
*arg2
= 0 ;
27086 PyObject
* obj0
= 0 ;
27087 PyObject
* obj1
= 0 ;
27088 char *kwnames
[] = {
27089 (char *) "self",(char *) "item", NULL
27092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27098 if (arg2
== NULL
) {
27099 PyErr_SetString(PyExc_TypeError
,"null reference");
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 Py_INCREF(Py_None
); resultobj
= Py_None
;
27116 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
;
27118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27119 PyObject
* obj0
= 0 ;
27120 char *kwnames
[] = {
27121 (char *) "self", NULL
27124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 (arg1
)->DeleteAllItems();
27131 wxPyEndAllowThreads(__tstate
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27134 Py_INCREF(Py_None
); resultobj
= Py_None
;
27141 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27142 PyObject
*resultobj
;
27143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27144 wxTreeItemId
*arg2
= 0 ;
27145 PyObject
* obj0
= 0 ;
27146 PyObject
* obj1
= 0 ;
27147 char *kwnames
[] = {
27148 (char *) "self",(char *) "item", NULL
27151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27157 if (arg2
== NULL
) {
27158 PyErr_SetString(PyExc_TypeError
,"null reference");
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27165 wxPyEndAllowThreads(__tstate
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27168 Py_INCREF(Py_None
); resultobj
= Py_None
;
27175 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27176 PyObject
*resultobj
;
27177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27178 wxTreeItemId
*arg2
= 0 ;
27179 PyObject
* obj0
= 0 ;
27180 PyObject
* obj1
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "self",(char *) "item", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27189 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27191 if (arg2
== NULL
) {
27192 PyErr_SetString(PyExc_TypeError
,"null reference");
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27202 Py_INCREF(Py_None
); resultobj
= Py_None
;
27209 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
;
27211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27212 wxTreeItemId
*arg2
= 0 ;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 char *kwnames
[] = {
27216 (char *) "self",(char *) "item", NULL
27219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27225 if (arg2
== NULL
) {
27226 PyErr_SetString(PyExc_TypeError
,"null reference");
27230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27231 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27233 wxPyEndAllowThreads(__tstate
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 Py_INCREF(Py_None
); resultobj
= Py_None
;
27243 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27244 PyObject
*resultobj
;
27245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27246 wxTreeItemId
*arg2
= 0 ;
27247 PyObject
* obj0
= 0 ;
27248 PyObject
* obj1
= 0 ;
27249 char *kwnames
[] = {
27250 (char *) "self",(char *) "item", NULL
27253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27257 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27259 if (arg2
== NULL
) {
27260 PyErr_SetString(PyExc_TypeError
,"null reference");
27264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 Py_INCREF(Py_None
); resultobj
= Py_None
;
27277 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27280 PyObject
* obj0
= 0 ;
27281 char *kwnames
[] = {
27282 (char *) "self", NULL
27285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 (arg1
)->Unselect();
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27295 Py_INCREF(Py_None
); resultobj
= Py_None
;
27302 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27303 PyObject
*resultobj
;
27304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27305 wxTreeItemId
*arg2
= 0 ;
27306 PyObject
* obj0
= 0 ;
27307 PyObject
* obj1
= 0 ;
27308 char *kwnames
[] = {
27309 (char *) "self",(char *) "item", NULL
27312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27318 if (arg2
== NULL
) {
27319 PyErr_SetString(PyExc_TypeError
,"null reference");
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27329 Py_INCREF(Py_None
); resultobj
= Py_None
;
27336 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27337 PyObject
*resultobj
;
27338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27339 PyObject
* obj0
= 0 ;
27340 char *kwnames
[] = {
27341 (char *) "self", NULL
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 (arg1
)->UnselectAll();
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 Py_INCREF(Py_None
); resultobj
= Py_None
;
27361 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
;
27363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27364 wxTreeItemId
*arg2
= 0 ;
27365 bool arg3
= (bool) True
;
27366 PyObject
* obj0
= 0 ;
27367 PyObject
* obj1
= 0 ;
27368 PyObject
* obj2
= 0 ;
27369 char *kwnames
[] = {
27370 (char *) "self",(char *) "item",(char *) "select", NULL
27373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27379 if (arg2
== NULL
) {
27380 PyErr_SetString(PyExc_TypeError
,"null reference");
27384 arg3
= (bool) SWIG_AsBool(obj2
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 Py_INCREF(Py_None
); resultobj
= Py_None
;
27401 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27404 wxTreeItemId
*arg2
= 0 ;
27405 PyObject
* obj0
= 0 ;
27406 PyObject
* obj1
= 0 ;
27407 char *kwnames
[] = {
27408 (char *) "self",(char *) "item", NULL
27411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27417 if (arg2
== NULL
) {
27418 PyErr_SetString(PyExc_TypeError
,"null reference");
27422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27425 wxPyEndAllowThreads(__tstate
);
27426 if (PyErr_Occurred()) SWIG_fail
;
27428 Py_INCREF(Py_None
); resultobj
= Py_None
;
27435 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27436 PyObject
*resultobj
;
27437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27438 wxTreeItemId
*arg2
= 0 ;
27439 PyObject
* obj0
= 0 ;
27440 PyObject
* obj1
= 0 ;
27441 char *kwnames
[] = {
27442 (char *) "self",(char *) "item", NULL
27445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27451 if (arg2
== NULL
) {
27452 PyErr_SetString(PyExc_TypeError
,"null reference");
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27459 wxPyEndAllowThreads(__tstate
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27462 Py_INCREF(Py_None
); resultobj
= Py_None
;
27469 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27470 PyObject
*resultobj
;
27471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27472 wxTreeItemId
*arg2
= 0 ;
27473 PyObject
* obj0
= 0 ;
27474 PyObject
* obj1
= 0 ;
27475 char *kwnames
[] = {
27476 (char *) "self",(char *) "item", NULL
27479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27485 if (arg2
== NULL
) {
27486 PyErr_SetString(PyExc_TypeError
,"null reference");
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27493 wxPyEndAllowThreads(__tstate
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27496 Py_INCREF(Py_None
); resultobj
= Py_None
;
27503 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27504 PyObject
*resultobj
;
27505 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27506 wxTreeItemId
*arg2
= 0 ;
27507 PyObject
* obj0
= 0 ;
27508 PyObject
* obj1
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self",(char *) "item", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27519 if (arg2
== NULL
) {
27520 PyErr_SetString(PyExc_TypeError
,"null reference");
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 Py_INCREF(Py_None
); resultobj
= Py_None
;
27537 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
;
27539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27540 wxTextCtrl
*result
;
27541 PyObject
* obj0
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27557 resultobj
= wxPyMake_wxObject(result
);
27565 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
;
27567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27568 wxTreeItemId
*arg2
= 0 ;
27569 PyObject
* obj0
= 0 ;
27570 PyObject
* obj1
= 0 ;
27571 char *kwnames
[] = {
27572 (char *) "self",(char *) "item", NULL
27575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27581 if (arg2
== NULL
) {
27582 PyErr_SetString(PyExc_TypeError
,"null reference");
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 Py_INCREF(Py_None
); resultobj
= Py_None
;
27599 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
;
27601 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27602 wxPoint
*arg2
= 0 ;
27604 wxTreeItemId result
;
27607 PyObject
* obj0
= 0 ;
27608 PyObject
* obj1
= 0 ;
27609 char *kwnames
[] = {
27610 (char *) "self",(char *) "point", NULL
27614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27619 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27625 wxPyEndAllowThreads(__tstate
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27629 wxTreeItemId
* resultptr
;
27630 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27634 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27635 resultobj
= t_output_helper(resultobj
,o
);
27643 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27644 PyObject
*resultobj
;
27645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27646 wxTreeItemId
*arg2
= 0 ;
27647 bool arg3
= (bool) False
;
27649 PyObject
* obj0
= 0 ;
27650 PyObject
* obj1
= 0 ;
27651 PyObject
* obj2
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27662 if (arg2
== NULL
) {
27663 PyErr_SetString(PyExc_TypeError
,"null reference");
27667 arg3
= (bool) SWIG_AsBool(obj2
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= result
;
27684 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
;
27686 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27687 wxVisualAttributes result
;
27688 PyObject
* obj0
= 0 ;
27689 char *kwnames
[] = {
27690 (char *) "variant", NULL
27693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27695 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27699 if (!wxPyCheckForApp()) SWIG_fail
;
27700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27701 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27703 wxPyEndAllowThreads(__tstate
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27707 wxVisualAttributes
* resultptr
;
27708 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27717 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27720 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27722 return Py_BuildValue((char *)"");
27724 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27725 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27730 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27735 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27737 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27744 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
;
27746 wxWindow
*arg1
= (wxWindow
*) 0 ;
27747 int arg2
= (int) (int)-1 ;
27748 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27749 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27754 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27755 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27756 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27757 int arg8
= (int) 0 ;
27758 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27759 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27760 wxGenericDirCtrl
*result
;
27761 bool temp3
= False
;
27764 bool temp7
= False
;
27765 bool temp9
= False
;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 PyObject
* obj2
= 0 ;
27769 PyObject
* obj3
= 0 ;
27770 PyObject
* obj4
= 0 ;
27771 PyObject
* obj5
= 0 ;
27772 PyObject
* obj6
= 0 ;
27773 PyObject
* obj7
= 0 ;
27774 PyObject
* obj8
= 0 ;
27775 char *kwnames
[] = {
27776 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27783 arg2
= (int const) SWIG_AsInt(obj1
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27788 arg3
= wxString_in_helper(obj2
);
27789 if (arg3
== NULL
) SWIG_fail
;
27796 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27802 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27806 arg6
= (long) SWIG_AsLong(obj5
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27811 arg7
= wxString_in_helper(obj6
);
27812 if (arg7
== NULL
) SWIG_fail
;
27817 arg8
= (int) SWIG_AsInt(obj7
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27822 arg9
= wxString_in_helper(obj8
);
27823 if (arg9
== NULL
) SWIG_fail
;
27828 if (!wxPyCheckForApp()) SWIG_fail
;
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27866 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
;
27868 wxGenericDirCtrl
*result
;
27869 char *kwnames
[] = {
27873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27875 if (!wxPyCheckForApp()) SWIG_fail
;
27876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27879 wxPyEndAllowThreads(__tstate
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27889 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27890 PyObject
*resultobj
;
27891 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27892 wxWindow
*arg2
= (wxWindow
*) 0 ;
27893 int arg3
= (int) (int)-1 ;
27894 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27895 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27900 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27901 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27902 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27903 int arg9
= (int) 0 ;
27904 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27905 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27907 bool temp4
= False
;
27910 bool temp8
= False
;
27911 bool temp10
= False
;
27912 PyObject
* obj0
= 0 ;
27913 PyObject
* obj1
= 0 ;
27914 PyObject
* obj2
= 0 ;
27915 PyObject
* obj3
= 0 ;
27916 PyObject
* obj4
= 0 ;
27917 PyObject
* obj5
= 0 ;
27918 PyObject
* obj6
= 0 ;
27919 PyObject
* obj7
= 0 ;
27920 PyObject
* obj8
= 0 ;
27921 PyObject
* obj9
= 0 ;
27922 char *kwnames
[] = {
27923 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27932 arg3
= (int const) SWIG_AsInt(obj2
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27937 arg4
= wxString_in_helper(obj3
);
27938 if (arg4
== NULL
) SWIG_fail
;
27945 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27951 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27955 arg7
= (long) SWIG_AsLong(obj6
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27960 arg8
= wxString_in_helper(obj7
);
27961 if (arg8
== NULL
) SWIG_fail
;
27966 arg9
= (int) SWIG_AsInt(obj8
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27971 arg10
= wxString_in_helper(obj9
);
27972 if (arg10
== NULL
) SWIG_fail
;
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28016 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28017 PyObject
*resultobj
;
28018 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28019 wxString
*arg2
= 0 ;
28021 bool temp2
= False
;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28024 char *kwnames
[] = {
28025 (char *) "self",(char *) "path", NULL
28028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28032 arg2
= wxString_in_helper(obj1
);
28033 if (arg2
== NULL
) SWIG_fail
;
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28060 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28061 PyObject
*resultobj
;
28062 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28064 PyObject
* obj0
= 0 ;
28065 char *kwnames
[] = {
28066 (char *) "self", NULL
28069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28092 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
;
28094 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28095 wxString
*arg2
= 0 ;
28096 bool temp2
= False
;
28097 PyObject
* obj0
= 0 ;
28098 PyObject
* obj1
= 0 ;
28099 char *kwnames
[] = {
28100 (char *) "self",(char *) "path", NULL
28103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28107 arg2
= wxString_in_helper(obj1
);
28108 if (arg2
== NULL
) SWIG_fail
;
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 Py_INCREF(Py_None
); resultobj
= Py_None
;
28133 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28134 PyObject
*resultobj
;
28135 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28137 PyObject
* obj0
= 0 ;
28138 char *kwnames
[] = {
28139 (char *) "self", NULL
28142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28165 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28166 PyObject
*resultobj
;
28167 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28169 PyObject
* obj0
= 0 ;
28170 char *kwnames
[] = {
28171 (char *) "self", NULL
28174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28197 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28198 PyObject
*resultobj
;
28199 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28200 wxString
*arg2
= 0 ;
28201 bool temp2
= False
;
28202 PyObject
* obj0
= 0 ;
28203 PyObject
* obj1
= 0 ;
28204 char *kwnames
[] = {
28205 (char *) "self",(char *) "path", NULL
28208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28212 arg2
= wxString_in_helper(obj1
);
28213 if (arg2
== NULL
) SWIG_fail
;
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 (arg1
)->SetPath((wxString
const &)*arg2
);
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 Py_INCREF(Py_None
); resultobj
= Py_None
;
28238 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28239 PyObject
*resultobj
;
28240 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28242 PyObject
* obj0
= 0 ;
28243 PyObject
* obj1
= 0 ;
28244 char *kwnames
[] = {
28245 (char *) "self",(char *) "show", NULL
28248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28251 arg2
= (bool) SWIG_AsBool(obj1
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 (arg1
)->ShowHidden(arg2
);
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28260 Py_INCREF(Py_None
); resultobj
= Py_None
;
28267 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28268 PyObject
*resultobj
;
28269 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28271 PyObject
* obj0
= 0 ;
28272 char *kwnames
[] = {
28273 (char *) "self", NULL
28276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28281 result
= (bool)(arg1
)->GetShowHidden();
28283 wxPyEndAllowThreads(__tstate
);
28284 if (PyErr_Occurred()) SWIG_fail
;
28287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28295 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28296 PyObject
*resultobj
;
28297 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28299 PyObject
* obj0
= 0 ;
28300 char *kwnames
[] = {
28301 (char *) "self", NULL
28304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28309 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28311 wxPyEndAllowThreads(__tstate
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28327 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
;
28329 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28330 wxString
*arg2
= 0 ;
28331 bool temp2
= False
;
28332 PyObject
* obj0
= 0 ;
28333 PyObject
* obj1
= 0 ;
28334 char *kwnames
[] = {
28335 (char *) "self",(char *) "filter", NULL
28338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28342 arg2
= wxString_in_helper(obj1
);
28343 if (arg2
== NULL
) SWIG_fail
;
28347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28348 (arg1
)->SetFilter((wxString
const &)*arg2
);
28350 wxPyEndAllowThreads(__tstate
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28353 Py_INCREF(Py_None
); resultobj
= Py_None
;
28368 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28369 PyObject
*resultobj
;
28370 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28372 PyObject
* obj0
= 0 ;
28373 char *kwnames
[] = {
28374 (char *) "self", NULL
28377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= SWIG_FromInt((int)result
);
28394 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28395 PyObject
*resultobj
;
28396 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28398 PyObject
* obj0
= 0 ;
28399 PyObject
* obj1
= 0 ;
28400 char *kwnames
[] = {
28401 (char *) "self",(char *) "n", NULL
28404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28407 arg2
= (int) SWIG_AsInt(obj1
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 (arg1
)->SetFilterIndex(arg2
);
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 Py_INCREF(Py_None
); resultobj
= Py_None
;
28423 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
;
28425 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28426 wxTreeItemId result
;
28427 PyObject
* obj0
= 0 ;
28428 char *kwnames
[] = {
28429 (char *) "self", NULL
28432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28437 result
= (arg1
)->GetRootId();
28439 wxPyEndAllowThreads(__tstate
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28443 wxTreeItemId
* resultptr
;
28444 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28453 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28454 PyObject
*resultobj
;
28455 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28456 wxPyTreeCtrl
*result
;
28457 PyObject
* obj0
= 0 ;
28458 char *kwnames
[] = {
28459 (char *) "self", NULL
28462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28467 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28469 wxPyEndAllowThreads(__tstate
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28473 resultobj
= wxPyMake_wxObject(result
);
28481 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
;
28483 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28484 wxDirFilterListCtrl
*result
;
28485 PyObject
* obj0
= 0 ;
28486 char *kwnames
[] = {
28487 (char *) "self", NULL
28490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28495 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28507 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
;
28509 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28510 wxTreeItemId arg2
;
28511 wxString
*arg3
= 0 ;
28513 wxTreeItemId result
;
28514 wxTreeItemId
*argp2
;
28515 bool temp3
= False
;
28517 PyObject
* obj0
= 0 ;
28518 PyObject
* obj1
= 0 ;
28519 PyObject
* obj2
= 0 ;
28520 char *kwnames
[] = {
28521 (char *) "self",(char *) "parentId",(char *) "path", NULL
28525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28528 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28529 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28532 arg3
= wxString_in_helper(obj2
);
28533 if (arg3
== NULL
) SWIG_fail
;
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28544 wxTreeItemId
* resultptr
;
28545 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28549 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28550 resultobj
= t_output_helper(resultobj
,o
);
28566 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28567 PyObject
*resultobj
;
28568 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28569 PyObject
* obj0
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 (arg1
)->DoResize();
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28584 Py_INCREF(Py_None
); resultobj
= Py_None
;
28591 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28594 PyObject
* obj0
= 0 ;
28595 char *kwnames
[] = {
28596 (char *) "self", NULL
28599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 (arg1
)->ReCreateTree();
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 Py_INCREF(Py_None
); resultobj
= Py_None
;
28616 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28619 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28621 return Py_BuildValue((char *)"");
28623 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28624 PyObject
*resultobj
;
28625 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28626 int arg2
= (int) (int)-1 ;
28627 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28628 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28629 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28630 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28631 long arg5
= (long) 0 ;
28632 wxDirFilterListCtrl
*result
;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 PyObject
* obj2
= 0 ;
28638 PyObject
* obj3
= 0 ;
28639 PyObject
* obj4
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28648 arg2
= (int const) SWIG_AsInt(obj1
);
28649 if (PyErr_Occurred()) SWIG_fail
;
28654 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28660 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28664 arg5
= (long) SWIG_AsLong(obj4
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28668 if (!wxPyCheckForApp()) SWIG_fail
;
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28682 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28683 PyObject
*resultobj
;
28684 wxDirFilterListCtrl
*result
;
28685 char *kwnames
[] = {
28689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28691 if (!wxPyCheckForApp()) SWIG_fail
;
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28693 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28705 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
;
28707 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28708 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28709 int arg3
= (int) (int)-1 ;
28710 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28711 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28712 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28713 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28714 long arg6
= (long) 0 ;
28718 PyObject
* obj0
= 0 ;
28719 PyObject
* obj1
= 0 ;
28720 PyObject
* obj2
= 0 ;
28721 PyObject
* obj3
= 0 ;
28722 PyObject
* obj4
= 0 ;
28723 PyObject
* obj5
= 0 ;
28724 char *kwnames
[] = {
28725 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28734 arg3
= (int const) SWIG_AsInt(obj2
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28740 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28746 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28750 arg6
= (long) SWIG_AsLong(obj5
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28769 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28770 PyObject
*resultobj
;
28771 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28772 wxString
*arg2
= 0 ;
28774 bool temp2
= False
;
28775 PyObject
* obj0
= 0 ;
28776 PyObject
* obj1
= 0 ;
28777 PyObject
* obj2
= 0 ;
28778 char *kwnames
[] = {
28779 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28786 arg2
= wxString_in_helper(obj1
);
28787 if (arg2
== NULL
) SWIG_fail
;
28790 arg3
= (int) SWIG_AsInt(obj2
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28794 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28799 Py_INCREF(Py_None
); resultobj
= Py_None
;
28814 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28817 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28819 return Py_BuildValue((char *)"");
28821 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28822 PyObject
*resultobj
;
28823 wxWindow
*arg1
= (wxWindow
*) 0 ;
28825 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28826 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28827 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28828 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28829 long arg5
= (long) 0 ;
28830 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28831 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28832 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28833 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28834 wxPyControl
*result
;
28837 bool temp7
= False
;
28838 PyObject
* obj0
= 0 ;
28839 PyObject
* obj1
= 0 ;
28840 PyObject
* obj2
= 0 ;
28841 PyObject
* obj3
= 0 ;
28842 PyObject
* obj4
= 0 ;
28843 PyObject
* obj5
= 0 ;
28844 PyObject
* obj6
= 0 ;
28845 char *kwnames
[] = {
28846 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28852 arg2
= (int const) SWIG_AsInt(obj1
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28857 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28863 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28867 arg5
= (long) SWIG_AsLong(obj4
);
28868 if (PyErr_Occurred()) SWIG_fail
;
28871 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28874 if (arg6
== NULL
) {
28875 PyErr_SetString(PyExc_TypeError
,"null reference");
28881 arg7
= wxString_in_helper(obj6
);
28882 if (arg7
== NULL
) SWIG_fail
;
28887 if (!wxPyCheckForApp()) SWIG_fail
;
28888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28889 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28909 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
;
28911 wxPyControl
*result
;
28912 char *kwnames
[] = {
28916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28918 if (!wxPyCheckForApp()) SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 result
= (wxPyControl
*)new wxPyControl();
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28932 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
;
28934 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28935 PyObject
*arg2
= (PyObject
*) 0 ;
28936 PyObject
*arg3
= (PyObject
*) 0 ;
28937 PyObject
* obj0
= 0 ;
28938 PyObject
* obj1
= 0 ;
28939 PyObject
* obj2
= 0 ;
28940 char *kwnames
[] = {
28941 (char *) "self",(char *) "self",(char *) "_class", NULL
28944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 Py_INCREF(Py_None
); resultobj
= Py_None
;
28963 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
;
28965 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28968 PyObject
* obj0
= 0 ;
28969 PyObject
* obj1
= 0 ;
28970 char *kwnames
[] = {
28971 (char *) "self",(char *) "size", NULL
28974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28979 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28983 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 Py_INCREF(Py_None
); resultobj
= Py_None
;
28995 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
;
28997 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29002 PyObject
* obj0
= 0 ;
29003 PyObject
* obj1
= 0 ;
29004 PyObject
* obj2
= 0 ;
29005 PyObject
* obj3
= 0 ;
29006 PyObject
* obj4
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29014 arg2
= (int) SWIG_AsInt(obj1
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29016 arg3
= (int) SWIG_AsInt(obj2
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29018 arg4
= (int) SWIG_AsInt(obj3
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29020 arg5
= (int) SWIG_AsInt(obj4
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 Py_INCREF(Py_None
); resultobj
= Py_None
;
29036 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
;
29038 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29043 int arg6
= (int) wxSIZE_AUTO
;
29044 PyObject
* obj0
= 0 ;
29045 PyObject
* obj1
= 0 ;
29046 PyObject
* obj2
= 0 ;
29047 PyObject
* obj3
= 0 ;
29048 PyObject
* obj4
= 0 ;
29049 PyObject
* obj5
= 0 ;
29050 char *kwnames
[] = {
29051 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29057 arg2
= (int) SWIG_AsInt(obj1
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29059 arg3
= (int) SWIG_AsInt(obj2
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29061 arg4
= (int) SWIG_AsInt(obj3
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29063 arg5
= (int) SWIG_AsInt(obj4
);
29064 if (PyErr_Occurred()) SWIG_fail
;
29066 arg6
= (int) SWIG_AsInt(obj5
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29071 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29073 wxPyEndAllowThreads(__tstate
);
29074 if (PyErr_Occurred()) SWIG_fail
;
29076 Py_INCREF(Py_None
); resultobj
= Py_None
;
29083 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29084 PyObject
*resultobj
;
29085 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 PyObject
* obj2
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self",(char *) "width",(char *) "height", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29098 arg2
= (int) SWIG_AsInt(obj1
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29100 arg3
= (int) SWIG_AsInt(obj2
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29109 Py_INCREF(Py_None
); resultobj
= Py_None
;
29116 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
;
29118 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 PyObject
* obj2
= 0 ;
29124 char *kwnames
[] = {
29125 (char *) "self",(char *) "x",(char *) "y", NULL
29128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29131 arg2
= (int) SWIG_AsInt(obj1
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29133 arg3
= (int) SWIG_AsInt(obj2
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29137 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 Py_INCREF(Py_None
); resultobj
= Py_None
;
29149 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29150 PyObject
*resultobj
;
29151 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29152 int *arg2
= (int *) 0 ;
29153 int *arg3
= (int *) 0 ;
29156 PyObject
* obj0
= 0 ;
29157 char *kwnames
[] = {
29158 (char *) "self", NULL
29163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29173 Py_INCREF(Py_None
); resultobj
= Py_None
;
29175 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29176 resultobj
= t_output_helper(resultobj
,o
);
29179 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29180 resultobj
= t_output_helper(resultobj
,o
);
29188 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29189 PyObject
*resultobj
;
29190 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29191 int *arg2
= (int *) 0 ;
29192 int *arg3
= (int *) 0 ;
29195 PyObject
* obj0
= 0 ;
29196 char *kwnames
[] = {
29197 (char *) "self", NULL
29202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29207 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29212 Py_INCREF(Py_None
); resultobj
= Py_None
;
29214 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29215 resultobj
= t_output_helper(resultobj
,o
);
29218 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29219 resultobj
= t_output_helper(resultobj
,o
);
29227 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29228 PyObject
*resultobj
;
29229 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29230 int *arg2
= (int *) 0 ;
29231 int *arg3
= (int *) 0 ;
29234 PyObject
* obj0
= 0 ;
29235 char *kwnames
[] = {
29236 (char *) "self", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29251 Py_INCREF(Py_None
); resultobj
= Py_None
;
29253 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29254 resultobj
= t_output_helper(resultobj
,o
);
29257 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29258 resultobj
= t_output_helper(resultobj
,o
);
29266 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
;
29268 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29270 PyObject
* obj0
= 0 ;
29271 char *kwnames
[] = {
29272 (char *) "self", NULL
29275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29280 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29282 wxPyEndAllowThreads(__tstate
);
29283 if (PyErr_Occurred()) SWIG_fail
;
29286 wxSize
* resultptr
;
29287 resultptr
= new wxSize((wxSize
&) result
);
29288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29296 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29297 PyObject
*resultobj
;
29298 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29300 PyObject
* obj0
= 0 ;
29301 char *kwnames
[] = {
29302 (char *) "self", NULL
29305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29310 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29312 wxPyEndAllowThreads(__tstate
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29316 wxSize
* resultptr
;
29317 resultptr
= new wxSize((wxSize
&) result
);
29318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29326 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29327 PyObject
*resultobj
;
29328 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29329 PyObject
* obj0
= 0 ;
29330 char *kwnames
[] = {
29331 (char *) "self", NULL
29334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29339 (arg1
)->base_InitDialog();
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 Py_INCREF(Py_None
); resultobj
= Py_None
;
29351 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
;
29353 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29355 PyObject
* obj0
= 0 ;
29356 char *kwnames
[] = {
29357 (char *) "self", NULL
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29365 result
= (bool)(arg1
)->base_TransferDataToWindow();
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29379 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
;
29381 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29383 PyObject
* obj0
= 0 ;
29384 char *kwnames
[] = {
29385 (char *) "self", NULL
29388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29393 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29395 wxPyEndAllowThreads(__tstate
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29407 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
;
29409 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29411 PyObject
* obj0
= 0 ;
29412 char *kwnames
[] = {
29413 (char *) "self", NULL
29416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29421 result
= (bool)(arg1
)->base_Validate();
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29435 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29436 PyObject
*resultobj
;
29437 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29439 PyObject
* obj0
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "self", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29463 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
;
29465 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29467 PyObject
* obj0
= 0 ;
29468 char *kwnames
[] = {
29469 (char *) "self", NULL
29472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29491 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29492 PyObject
*resultobj
;
29493 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29495 PyObject
* obj0
= 0 ;
29496 char *kwnames
[] = {
29497 (char *) "self", NULL
29500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29505 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29507 wxPyEndAllowThreads(__tstate
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29511 wxSize
* resultptr
;
29512 resultptr
= new wxSize((wxSize
&) result
);
29513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29521 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29522 PyObject
*resultobj
;
29523 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29524 wxWindow
*arg2
= (wxWindow
*) 0 ;
29525 PyObject
* obj0
= 0 ;
29526 PyObject
* obj1
= 0 ;
29527 char *kwnames
[] = {
29528 (char *) "self",(char *) "child", NULL
29531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 (arg1
)->base_AddChild(arg2
);
29540 wxPyEndAllowThreads(__tstate
);
29541 if (PyErr_Occurred()) SWIG_fail
;
29543 Py_INCREF(Py_None
); resultobj
= Py_None
;
29550 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29551 PyObject
*resultobj
;
29552 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29553 wxWindow
*arg2
= (wxWindow
*) 0 ;
29554 PyObject
* obj0
= 0 ;
29555 PyObject
* obj1
= 0 ;
29556 char *kwnames
[] = {
29557 (char *) "self",(char *) "child", NULL
29560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 (arg1
)->base_RemoveChild(arg2
);
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29572 Py_INCREF(Py_None
); resultobj
= Py_None
;
29579 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29580 PyObject
*resultobj
;
29581 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29583 PyObject
* obj0
= 0 ;
29584 char *kwnames
[] = {
29585 (char *) "self", NULL
29588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29593 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29595 wxPyEndAllowThreads(__tstate
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29607 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29608 PyObject
*resultobj
;
29609 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29610 wxColour
*arg2
= 0 ;
29612 PyObject
* obj0
= 0 ;
29613 PyObject
* obj1
= 0 ;
29614 char *kwnames
[] = {
29615 (char *) "self",(char *) "c", NULL
29618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29623 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29627 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 Py_INCREF(Py_None
); resultobj
= Py_None
;
29639 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
;
29641 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29642 wxVisualAttributes result
;
29643 PyObject
* obj0
= 0 ;
29644 char *kwnames
[] = {
29645 (char *) "self", NULL
29648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 result
= (arg1
)->base_GetDefaultAttributes();
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29659 wxVisualAttributes
* resultptr
;
29660 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29669 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29672 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29674 return Py_BuildValue((char *)"");
29676 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29677 PyObject
*resultobj
;
29678 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29679 int arg2
= (int) 0 ;
29680 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29681 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29682 wxHelpEvent
*result
;
29684 PyObject
* obj0
= 0 ;
29685 PyObject
* obj1
= 0 ;
29686 PyObject
* obj2
= 0 ;
29687 char *kwnames
[] = {
29688 (char *) "type",(char *) "winid",(char *) "pt", NULL
29691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29693 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29697 arg2
= (int) SWIG_AsInt(obj1
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29703 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29708 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29710 wxPyEndAllowThreads(__tstate
);
29711 if (PyErr_Occurred()) SWIG_fail
;
29713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29720 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29721 PyObject
*resultobj
;
29722 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29724 PyObject
* obj0
= 0 ;
29725 char *kwnames
[] = {
29726 (char *) "self", NULL
29729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29740 wxPoint
* resultptr
;
29741 resultptr
= new wxPoint((wxPoint
&) result
);
29742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29750 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29751 PyObject
*resultobj
;
29752 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29753 wxPoint
*arg2
= 0 ;
29755 PyObject
* obj0
= 0 ;
29756 PyObject
* obj1
= 0 ;
29757 char *kwnames
[] = {
29758 (char *) "self",(char *) "pos", NULL
29761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29766 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29772 wxPyEndAllowThreads(__tstate
);
29773 if (PyErr_Occurred()) SWIG_fail
;
29775 Py_INCREF(Py_None
); resultobj
= Py_None
;
29782 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29783 PyObject
*resultobj
;
29784 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29786 PyObject
* obj0
= 0 ;
29787 char *kwnames
[] = {
29788 (char *) "self", NULL
29791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29797 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29798 result
= (wxString
*) &_result_ref
;
29801 wxPyEndAllowThreads(__tstate
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29806 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29808 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29817 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29818 PyObject
*resultobj
;
29819 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29820 wxString
*arg2
= 0 ;
29821 bool temp2
= False
;
29822 PyObject
* obj0
= 0 ;
29823 PyObject
* obj1
= 0 ;
29824 char *kwnames
[] = {
29825 (char *) "self",(char *) "link", NULL
29828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29832 arg2
= wxString_in_helper(obj1
);
29833 if (arg2
== NULL
) SWIG_fail
;
29837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29838 (arg1
)->SetLink((wxString
const &)*arg2
);
29840 wxPyEndAllowThreads(__tstate
);
29841 if (PyErr_Occurred()) SWIG_fail
;
29843 Py_INCREF(Py_None
); resultobj
= Py_None
;
29858 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
;
29860 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29862 PyObject
* obj0
= 0 ;
29863 char *kwnames
[] = {
29864 (char *) "self", NULL
29867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29873 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29874 result
= (wxString
*) &_result_ref
;
29877 wxPyEndAllowThreads(__tstate
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29882 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29884 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29893 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29894 PyObject
*resultobj
;
29895 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29896 wxString
*arg2
= 0 ;
29897 bool temp2
= False
;
29898 PyObject
* obj0
= 0 ;
29899 PyObject
* obj1
= 0 ;
29900 char *kwnames
[] = {
29901 (char *) "self",(char *) "target", NULL
29904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29908 arg2
= wxString_in_helper(obj1
);
29909 if (arg2
== NULL
) SWIG_fail
;
29913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29914 (arg1
)->SetTarget((wxString
const &)*arg2
);
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 Py_INCREF(Py_None
); resultobj
= Py_None
;
29934 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29937 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29939 return Py_BuildValue((char *)"");
29941 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29942 PyObject
*resultobj
;
29943 wxWindow
*arg1
= (wxWindow
*) NULL
;
29944 bool arg2
= (bool) True
;
29945 wxContextHelp
*result
;
29946 PyObject
* obj0
= 0 ;
29947 PyObject
* obj1
= 0 ;
29948 char *kwnames
[] = {
29949 (char *) "window",(char *) "doNow", NULL
29952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29958 arg2
= (bool) SWIG_AsBool(obj1
);
29959 if (PyErr_Occurred()) SWIG_fail
;
29962 if (!wxPyCheckForApp()) SWIG_fail
;
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29964 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29966 wxPyEndAllowThreads(__tstate
);
29967 if (PyErr_Occurred()) SWIG_fail
;
29969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29976 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29977 PyObject
*resultobj
;
29978 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29979 PyObject
* obj0
= 0 ;
29980 char *kwnames
[] = {
29981 (char *) "self", NULL
29984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29991 wxPyEndAllowThreads(__tstate
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29994 Py_INCREF(Py_None
); resultobj
= Py_None
;
30001 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
;
30003 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30004 wxWindow
*arg2
= (wxWindow
*) NULL
;
30006 PyObject
* obj0
= 0 ;
30007 PyObject
* obj1
= 0 ;
30008 char *kwnames
[] = {
30009 (char *) "self",(char *) "window", NULL
30012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30035 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30036 PyObject
*resultobj
;
30037 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30039 PyObject
* obj0
= 0 ;
30040 char *kwnames
[] = {
30041 (char *) "self", NULL
30044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 result
= (bool)(arg1
)->EndContextHelp();
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30063 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30066 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30068 return Py_BuildValue((char *)"");
30070 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30071 PyObject
*resultobj
;
30072 wxWindow
*arg1
= (wxWindow
*) 0 ;
30073 int arg2
= (int) wxID_CONTEXT_HELP
;
30074 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30075 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30076 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30077 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30078 long arg5
= (long) wxBU_AUTODRAW
;
30079 wxContextHelpButton
*result
;
30082 PyObject
* obj0
= 0 ;
30083 PyObject
* obj1
= 0 ;
30084 PyObject
* obj2
= 0 ;
30085 PyObject
* obj3
= 0 ;
30086 PyObject
* obj4
= 0 ;
30087 char *kwnames
[] = {
30088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30095 arg2
= (int) SWIG_AsInt(obj1
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30101 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30107 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30111 arg5
= (long) SWIG_AsLong(obj4
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30115 if (!wxPyCheckForApp()) SWIG_fail
;
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30129 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30132 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30134 return Py_BuildValue((char *)"");
30136 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30137 PyObject
*resultobj
;
30138 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30139 wxHelpProvider
*result
;
30140 PyObject
* obj0
= 0 ;
30141 char *kwnames
[] = {
30142 (char *) "helpProvider", NULL
30145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30150 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30152 wxPyEndAllowThreads(__tstate
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30162 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
;
30164 wxHelpProvider
*result
;
30165 char *kwnames
[] = {
30169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30172 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30184 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30185 PyObject
*resultobj
;
30186 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30187 wxWindow
*arg2
= (wxWindow
*) 0 ;
30189 PyObject
* obj0
= 0 ;
30190 PyObject
* obj1
= 0 ;
30191 char *kwnames
[] = {
30192 (char *) "self",(char *) "window", NULL
30195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30202 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30204 wxPyEndAllowThreads(__tstate
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30220 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
;
30222 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30223 wxWindow
*arg2
= (wxWindow
*) 0 ;
30225 PyObject
* obj0
= 0 ;
30226 PyObject
* obj1
= 0 ;
30227 char *kwnames
[] = {
30228 (char *) "self",(char *) "window", NULL
30231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30238 result
= (bool)(arg1
)->ShowHelp(arg2
);
30240 wxPyEndAllowThreads(__tstate
);
30241 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30252 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30253 PyObject
*resultobj
;
30254 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30255 wxWindow
*arg2
= (wxWindow
*) 0 ;
30256 wxString
*arg3
= 0 ;
30257 bool temp3
= False
;
30258 PyObject
* obj0
= 0 ;
30259 PyObject
* obj1
= 0 ;
30260 PyObject
* obj2
= 0 ;
30261 char *kwnames
[] = {
30262 (char *) "self",(char *) "window",(char *) "text", NULL
30265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30271 arg3
= wxString_in_helper(obj2
);
30272 if (arg3
== NULL
) SWIG_fail
;
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30282 Py_INCREF(Py_None
); resultobj
= Py_None
;
30297 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30298 PyObject
*resultobj
;
30299 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30301 wxString
*arg3
= 0 ;
30302 bool temp3
= False
;
30303 PyObject
* obj0
= 0 ;
30304 PyObject
* obj1
= 0 ;
30305 PyObject
* obj2
= 0 ;
30306 char *kwnames
[] = {
30307 (char *) "self",(char *) "id",(char *) "text", NULL
30310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30313 arg2
= (int) SWIG_AsInt(obj1
);
30314 if (PyErr_Occurred()) SWIG_fail
;
30316 arg3
= wxString_in_helper(obj2
);
30317 if (arg3
== NULL
) SWIG_fail
;
30321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30322 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30324 wxPyEndAllowThreads(__tstate
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30327 Py_INCREF(Py_None
); resultobj
= Py_None
;
30342 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30343 PyObject
*resultobj
;
30344 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30345 wxWindow
*arg2
= (wxWindow
*) 0 ;
30346 PyObject
* obj0
= 0 ;
30347 PyObject
* obj1
= 0 ;
30348 char *kwnames
[] = {
30349 (char *) "self",(char *) "window", NULL
30352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 (arg1
)->RemoveHelp(arg2
);
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30364 Py_INCREF(Py_None
); resultobj
= Py_None
;
30371 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
;
30373 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30374 PyObject
* obj0
= 0 ;
30375 char *kwnames
[] = {
30376 (char *) "self", NULL
30379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30384 wxHelpProvider_Destroy(arg1
);
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 Py_INCREF(Py_None
); resultobj
= Py_None
;
30396 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30399 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30401 return Py_BuildValue((char *)"");
30403 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30404 PyObject
*resultobj
;
30405 wxSimpleHelpProvider
*result
;
30406 char *kwnames
[] = {
30410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30415 wxPyEndAllowThreads(__tstate
);
30416 if (PyErr_Occurred()) SWIG_fail
;
30418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30425 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30428 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30430 return Py_BuildValue((char *)"");
30432 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
;
30434 wxBitmap
*arg1
= 0 ;
30435 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30436 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30437 wxGenericDragImage
*result
;
30438 PyObject
* obj0
= 0 ;
30439 PyObject
* obj1
= 0 ;
30440 char *kwnames
[] = {
30441 (char *) "image",(char *) "cursor", NULL
30444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30448 if (arg1
== NULL
) {
30449 PyErr_SetString(PyExc_TypeError
,"null reference");
30453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30456 if (arg2
== NULL
) {
30457 PyErr_SetString(PyExc_TypeError
,"null reference");
30462 if (!wxPyCheckForApp()) SWIG_fail
;
30463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30464 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30466 wxPyEndAllowThreads(__tstate
);
30467 if (PyErr_Occurred()) SWIG_fail
;
30469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30476 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30477 PyObject
*resultobj
;
30479 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30480 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30481 wxGenericDragImage
*result
;
30482 PyObject
* obj0
= 0 ;
30483 PyObject
* obj1
= 0 ;
30484 char *kwnames
[] = {
30485 (char *) "image",(char *) "cursor", NULL
30488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30492 if (arg1
== NULL
) {
30493 PyErr_SetString(PyExc_TypeError
,"null reference");
30497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30500 if (arg2
== NULL
) {
30501 PyErr_SetString(PyExc_TypeError
,"null reference");
30506 if (!wxPyCheckForApp()) SWIG_fail
;
30507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30510 wxPyEndAllowThreads(__tstate
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30520 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
;
30522 wxString
*arg1
= 0 ;
30523 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30524 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30525 wxGenericDragImage
*result
;
30526 bool temp1
= False
;
30527 PyObject
* obj0
= 0 ;
30528 PyObject
* obj1
= 0 ;
30529 char *kwnames
[] = {
30530 (char *) "str",(char *) "cursor", NULL
30533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30535 arg1
= wxString_in_helper(obj0
);
30536 if (arg1
== NULL
) SWIG_fail
;
30540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30543 if (arg2
== NULL
) {
30544 PyErr_SetString(PyExc_TypeError
,"null reference");
30549 if (!wxPyCheckForApp()) SWIG_fail
;
30550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30551 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30553 wxPyEndAllowThreads(__tstate
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30571 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30572 PyObject
*resultobj
;
30573 wxPyTreeCtrl
*arg1
= 0 ;
30574 wxTreeItemId
*arg2
= 0 ;
30575 wxGenericDragImage
*result
;
30576 PyObject
* obj0
= 0 ;
30577 PyObject
* obj1
= 0 ;
30578 char *kwnames
[] = {
30579 (char *) "treeCtrl",(char *) "id", NULL
30582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30586 if (arg1
== NULL
) {
30587 PyErr_SetString(PyExc_TypeError
,"null reference");
30590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30593 if (arg2
== NULL
) {
30594 PyErr_SetString(PyExc_TypeError
,"null reference");
30598 if (!wxPyCheckForApp()) SWIG_fail
;
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30612 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30613 PyObject
*resultobj
;
30614 wxPyListCtrl
*arg1
= 0 ;
30616 wxGenericDragImage
*result
;
30617 PyObject
* obj0
= 0 ;
30618 PyObject
* obj1
= 0 ;
30619 char *kwnames
[] = {
30620 (char *) "listCtrl",(char *) "id", NULL
30623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30627 if (arg1
== NULL
) {
30628 PyErr_SetString(PyExc_TypeError
,"null reference");
30631 arg2
= (long) SWIG_AsLong(obj1
);
30632 if (PyErr_Occurred()) SWIG_fail
;
30634 if (!wxPyCheckForApp()) SWIG_fail
;
30635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30636 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30638 wxPyEndAllowThreads(__tstate
);
30639 if (PyErr_Occurred()) SWIG_fail
;
30641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30648 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30649 PyObject
*resultobj
;
30650 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30651 PyObject
* obj0
= 0 ;
30652 char *kwnames
[] = {
30653 (char *) "self", NULL
30656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30663 wxPyEndAllowThreads(__tstate
);
30664 if (PyErr_Occurred()) SWIG_fail
;
30666 Py_INCREF(Py_None
); resultobj
= Py_None
;
30673 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30674 PyObject
*resultobj
;
30675 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30676 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30677 PyObject
* obj0
= 0 ;
30678 PyObject
* obj1
= 0 ;
30679 char *kwnames
[] = {
30680 (char *) "self",(char *) "bitmap", NULL
30683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30690 (arg1
)->SetBackingBitmap(arg2
);
30692 wxPyEndAllowThreads(__tstate
);
30693 if (PyErr_Occurred()) SWIG_fail
;
30695 Py_INCREF(Py_None
); resultobj
= Py_None
;
30702 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30703 PyObject
*resultobj
;
30704 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30705 wxPoint
*arg2
= 0 ;
30706 wxWindow
*arg3
= (wxWindow
*) 0 ;
30707 bool arg4
= (bool) False
;
30708 wxRect
*arg5
= (wxRect
*) NULL
;
30711 PyObject
* obj0
= 0 ;
30712 PyObject
* obj1
= 0 ;
30713 PyObject
* obj2
= 0 ;
30714 PyObject
* obj3
= 0 ;
30715 PyObject
* obj4
= 0 ;
30716 char *kwnames
[] = {
30717 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30725 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30727 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30730 arg4
= (bool) SWIG_AsBool(obj3
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30734 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30739 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30741 wxPyEndAllowThreads(__tstate
);
30742 if (PyErr_Occurred()) SWIG_fail
;
30745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30753 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30754 PyObject
*resultobj
;
30755 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30756 wxPoint
*arg2
= 0 ;
30757 wxWindow
*arg3
= (wxWindow
*) 0 ;
30758 wxWindow
*arg4
= (wxWindow
*) 0 ;
30761 PyObject
* obj0
= 0 ;
30762 PyObject
* obj1
= 0 ;
30763 PyObject
* obj2
= 0 ;
30764 PyObject
* obj3
= 0 ;
30765 char *kwnames
[] = {
30766 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30774 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30776 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30778 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30796 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
;
30798 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30800 PyObject
* obj0
= 0 ;
30801 char *kwnames
[] = {
30802 (char *) "self", NULL
30805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30810 result
= (bool)(arg1
)->EndDrag();
30812 wxPyEndAllowThreads(__tstate
);
30813 if (PyErr_Occurred()) SWIG_fail
;
30816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30824 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30825 PyObject
*resultobj
;
30826 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30827 wxPoint
*arg2
= 0 ;
30830 PyObject
* obj0
= 0 ;
30831 PyObject
* obj1
= 0 ;
30832 char *kwnames
[] = {
30833 (char *) "self",(char *) "pt", NULL
30836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30845 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30859 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30860 PyObject
*resultobj
;
30861 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30863 PyObject
* obj0
= 0 ;
30864 char *kwnames
[] = {
30865 (char *) "self", NULL
30868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30873 result
= (bool)(arg1
)->Show();
30875 wxPyEndAllowThreads(__tstate
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30887 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
;
30889 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30891 PyObject
* obj0
= 0 ;
30892 char *kwnames
[] = {
30893 (char *) "self", NULL
30896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30901 result
= (bool)(arg1
)->Hide();
30903 wxPyEndAllowThreads(__tstate
);
30904 if (PyErr_Occurred()) SWIG_fail
;
30907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30915 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30916 PyObject
*resultobj
;
30917 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30918 wxPoint
*arg2
= 0 ;
30921 PyObject
* obj0
= 0 ;
30922 PyObject
* obj1
= 0 ;
30923 char *kwnames
[] = {
30924 (char *) "self",(char *) "pos", NULL
30927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30932 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30938 wxPyEndAllowThreads(__tstate
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30942 wxRect
* resultptr
;
30943 resultptr
= new wxRect((wxRect
&) result
);
30944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30952 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30953 PyObject
*resultobj
;
30954 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30956 wxPoint
*arg3
= 0 ;
30959 PyObject
* obj0
= 0 ;
30960 PyObject
* obj1
= 0 ;
30961 PyObject
* obj2
= 0 ;
30962 char *kwnames
[] = {
30963 (char *) "self",(char *) "dc",(char *) "pos", NULL
30966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30972 if (arg2
== NULL
) {
30973 PyErr_SetString(PyExc_TypeError
,"null reference");
30978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30982 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30996 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30997 PyObject
*resultobj
;
30998 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31000 wxMemoryDC
*arg3
= 0 ;
31006 PyObject
* obj0
= 0 ;
31007 PyObject
* obj1
= 0 ;
31008 PyObject
* obj2
= 0 ;
31009 PyObject
* obj3
= 0 ;
31010 PyObject
* obj4
= 0 ;
31011 char *kwnames
[] = {
31012 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31021 if (arg2
== NULL
) {
31022 PyErr_SetString(PyExc_TypeError
,"null reference");
31025 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31028 if (arg3
== NULL
) {
31029 PyErr_SetString(PyExc_TypeError
,"null reference");
31034 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31038 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31056 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31057 PyObject
*resultobj
;
31058 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31059 wxPoint
*arg2
= 0 ;
31060 wxPoint
*arg3
= 0 ;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 PyObject
* obj2
= 0 ;
31069 PyObject
* obj3
= 0 ;
31070 PyObject
* obj4
= 0 ;
31071 char *kwnames
[] = {
31072 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31080 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31086 arg4
= (bool) SWIG_AsBool(obj3
);
31087 if (PyErr_Occurred()) SWIG_fail
;
31088 arg5
= (bool) SWIG_AsBool(obj4
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31094 wxPyEndAllowThreads(__tstate
);
31095 if (PyErr_Occurred()) SWIG_fail
;
31098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31106 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31109 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31111 return Py_BuildValue((char *)"");
31113 static PyMethodDef SwigMethods
[] = {
31114 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31116 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31119 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31121 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31122 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31125 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31127 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31128 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31129 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31130 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31131 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31132 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31133 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31134 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31135 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31136 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31137 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31138 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31139 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31140 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31141 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31142 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31143 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31144 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31145 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31146 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31147 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31148 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31149 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31150 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31151 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31152 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31153 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31154 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31155 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31156 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31157 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31158 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31159 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31160 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31161 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31164 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31165 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31168 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31171 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31173 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31176 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31177 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31180 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31181 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31182 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31183 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31189 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31190 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31191 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31196 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31203 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31208 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31216 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31239 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31247 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31248 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31278 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31333 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31338 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31350 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31363 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31375 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31379 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31397 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31404 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31430 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31438 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31459 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31465 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31475 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31477 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31482 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31484 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31489 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31494 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31524 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31569 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31575 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31587 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31639 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31666 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31737 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31749 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31757 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31764 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31780 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31855 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31877 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31882 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31908 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31916 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31921 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31923 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31932 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31934 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31956 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31958 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31959 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31961 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31962 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31964 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31965 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31967 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31968 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31970 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31971 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31973 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31974 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31976 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31977 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31979 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31980 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31982 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31983 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31985 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31986 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31988 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31989 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31991 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31992 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31994 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31995 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31997 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31998 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32000 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32001 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32003 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32004 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32006 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32007 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32009 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32010 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32012 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32013 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32015 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32016 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32018 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32019 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32021 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32022 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32024 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32025 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32027 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32028 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32030 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32031 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32033 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32034 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32036 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32037 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32039 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32040 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32042 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32043 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32045 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32046 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32048 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32049 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32051 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32052 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32054 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32055 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32057 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32058 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32060 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32061 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32063 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32064 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32066 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32067 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32069 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32070 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32072 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32073 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32075 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32076 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32078 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32079 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32081 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32082 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32084 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32085 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32087 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32088 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32090 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32093 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32094 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32096 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32097 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32099 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32100 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32102 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32105 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32106 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32108 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32109 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32111 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32112 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32114 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32115 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32117 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32118 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32120 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32121 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32123 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32124 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32126 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32127 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32129 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32130 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32132 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32133 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32135 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32136 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32138 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32139 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32141 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32142 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32144 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32145 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32147 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32148 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32150 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32151 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32153 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32154 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32156 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32157 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32159 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32160 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32162 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32163 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32165 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32166 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32168 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32169 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32171 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32172 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32174 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32175 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32177 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32178 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32180 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32181 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32183 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32184 return (void *)((wxControl
*) ((wxGauge
*) x
));
32186 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32187 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32189 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32190 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32192 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32193 return (void *)((wxControl
*) ((wxButton
*) x
));
32195 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32196 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32198 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32199 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32201 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32202 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32204 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32205 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32207 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32208 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32210 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32211 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32213 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32214 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32216 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32217 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32219 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32220 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32222 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32223 return (void *)((wxControl
*) ((wxSlider
*) x
));
32225 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32226 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32228 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32229 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32231 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32232 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32234 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32235 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32237 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32238 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32240 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32241 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32243 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32244 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32246 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32247 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32249 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32250 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32252 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32253 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32255 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32256 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32258 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32259 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32261 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32264 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32265 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32267 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32268 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32270 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32271 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32273 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32276 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32277 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32279 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32282 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32285 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32286 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32288 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32289 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32291 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32294 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32297 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32300 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32303 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32306 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32307 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32309 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32312 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32315 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32318 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32321 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32324 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32327 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32330 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32333 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32336 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32337 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32339 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32340 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32342 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32343 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32345 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32348 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32351 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32354 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32357 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32360 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32363 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32366 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32367 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32369 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32372 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32375 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32378 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32381 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32382 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32384 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32385 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32387 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32388 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32390 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32391 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32393 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32394 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32396 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32397 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32399 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32400 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32402 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32403 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32405 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32406 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32408 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32409 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32411 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32412 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32414 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32415 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32417 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32418 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32420 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32423 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32424 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32426 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32427 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32429 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32430 return (void *)((wxObject
*) ((wxSizer
*) x
));
32432 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32433 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32435 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32438 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32441 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32444 static void *_p_wxEventTo_p_wxObject(void *x
) {
32445 return (void *)((wxObject
*) ((wxEvent
*) x
));
32447 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32448 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32450 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32451 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32453 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32454 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32456 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32459 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32462 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32465 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32466 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32468 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32469 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32471 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32472 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32474 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32475 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32477 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32478 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32480 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32481 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32483 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32486 static void *_p_wxControlTo_p_wxObject(void *x
) {
32487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32489 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32492 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32495 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32498 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32501 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32504 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32505 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32507 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32510 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32511 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32513 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32514 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32516 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32519 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32522 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32525 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32526 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32528 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32531 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32534 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32535 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32537 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32540 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32543 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32544 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32546 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32547 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32549 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32552 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32553 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32555 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32556 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32558 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32559 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32561 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32562 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32564 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32565 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32567 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32568 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32570 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32573 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32574 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32576 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32577 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32579 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32580 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32582 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32583 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32585 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32586 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32588 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32591 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32594 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32597 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32600 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32603 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32606 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32609 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32612 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32615 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32618 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32621 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32624 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32627 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32630 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32633 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32636 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32639 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32642 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32645 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32648 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32651 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32654 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) ((wxListItem
*) x
));
32657 static void *_p_wxImageTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) ((wxImage
*) x
));
32660 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32663 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32666 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32669 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32672 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32675 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32678 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32681 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32684 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32687 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32690 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32693 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32696 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32699 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32702 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32705 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32708 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32711 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32714 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32717 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32720 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32723 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32726 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32729 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32732 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32735 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32738 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32741 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32744 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32747 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32750 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32753 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32756 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32759 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32760 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32762 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32763 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32765 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32766 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32768 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32769 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32771 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32772 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32774 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32775 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32777 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32778 return (void *)((wxWindow
*) ((wxControl
*) x
));
32780 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32781 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32783 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32784 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32786 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32787 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32789 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32790 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32792 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32793 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32795 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32796 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32798 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32799 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32801 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32802 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32804 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32805 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32807 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32808 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32810 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32811 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32813 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32814 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32816 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32817 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32819 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32820 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32822 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32823 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32825 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32826 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32828 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32829 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32831 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32832 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32834 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32835 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32837 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32838 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32840 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32841 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32843 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32844 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32846 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32847 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32849 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32850 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32852 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32853 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32855 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32856 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32858 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32859 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32861 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32862 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32864 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32865 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32867 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32868 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32870 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32871 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32873 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32874 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32876 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32877 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32879 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32880 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32882 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32883 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32885 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32886 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32888 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32889 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32891 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32892 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32894 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32895 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32897 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32898 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32900 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32901 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32903 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32904 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32906 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32907 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32909 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32910 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32912 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32913 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32915 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32916 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32918 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32919 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32921 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32922 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32924 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32925 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32927 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}};
32928 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}};
32929 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}};
32930 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}};
32931 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}};
32932 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}};
32933 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}};
32934 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}};
32935 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}};
32936 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}};
32937 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}};
32938 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}};
32939 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}};
32940 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}};
32941 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}};
32942 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}};
32943 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}};
32944 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}};
32945 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}};
32946 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}};
32947 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32948 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}};
32949 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}};
32950 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}};
32951 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}};
32952 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}};
32953 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}};
32954 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}};
32955 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}};
32956 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}};
32957 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}};
32958 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}};
32959 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}};
32960 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}};
32961 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}};
32962 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}};
32963 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}};
32964 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}};
32965 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}};
32966 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}};
32967 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}};
32968 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}};
32969 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}};
32970 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}};
32971 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}};
32972 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}};
32973 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}};
32974 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}};
32975 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}};
32976 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}};
32977 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}};
32978 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}};
32979 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}};
32980 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}};
32981 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}};
32982 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}};
32983 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}};
32984 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}};
32985 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}};
32986 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}};
32987 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}};
32988 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}};
32989 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}};
32990 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}};
32991 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}};
32992 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}};
32993 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}};
32994 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}};
32995 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}};
32996 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}};
32997 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}};
32998 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}};
32999 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}};
33000 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}};
33001 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}};
33002 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}};
33003 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}};
33004 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}};
33005 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}};
33006 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33007 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}};
33008 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}};
33009 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}};
33010 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}};
33011 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}};
33013 static swig_type_info
*swig_types_initial
[] = {
33014 _swigt__p_wxTextUrlEvent
,
33015 _swigt__p_wxBookCtrlEvent
,
33017 _swigt__p_wxCheckBox
,
33018 _swigt__p_wxPyTreeCtrl
,
33020 _swigt__p_wxGenericDirCtrl
,
33022 _swigt__p_wxPyTreeItemData
,
33023 _swigt__p_wxItemContainer
,
33024 _swigt__p_wxPyListCtrl
,
33025 _swigt__p_wxDirFilterListCtrl
,
33026 _swigt__p_wxStaticLine
,
33027 _swigt__p_wxControl
,
33028 _swigt__p_wxPyControl
,
33030 _swigt__p_wxToolBarBase
,
33032 _swigt__p_wxToggleButton
,
33033 _swigt__p_wxRadioButton
,
33034 _swigt__p_wxChoice
,
33035 _swigt__p_wxMemoryDC
,
33036 _swigt__p_wxListItemAttr
,
33041 _swigt__p_wxListView
,
33043 _swigt__p_wxVisualAttributes
,
33044 _swigt__p_wxTextCtrl
,
33045 _swigt__p_wxNotebook
,
33046 _swigt__p_wxNotifyEvent
,
33047 _swigt__p_wxArrayString
,
33048 _swigt__p_wxListbook
,
33049 _swigt__p_wxStaticBitmap
,
33050 _swigt__p_wxSlider
,
33051 _swigt__p_wxStaticBox
,
33052 _swigt__p_wxArrayInt
,
33053 _swigt__p_wxContextHelp
,
33055 _swigt__p_wxEvtHandler
,
33056 _swigt__p_wxListEvent
,
33057 _swigt__p_wxCheckListBox
,
33058 _swigt__p_wxListBox
,
33059 _swigt__p_wxBookCtrl
,
33060 _swigt__p_wxSpinButton
,
33061 _swigt__p_wxButton
,
33062 _swigt__p_wxBitmapButton
,
33064 _swigt__p_wxContextHelpButton
,
33065 _swigt__p_wxRadioBox
,
33066 _swigt__p_wxScrollBar
,
33068 _swigt__p_wxTreeItemId
,
33069 _swigt__p_wxComboBox
,
33070 _swigt__p_wxHelpEvent
,
33071 _swigt__p_wxListItem
,
33072 _swigt__p_wxNotebookSizer
,
33073 _swigt__p_wxSpinEvent
,
33074 _swigt__p_wxGenericDragImage
,
33075 _swigt__p_wxSpinCtrl
,
33076 _swigt__p_wxImageList
,
33077 _swigt__p_wxHelpProvider
,
33078 _swigt__p_wxTextAttr
,
33079 _swigt__p_wxSimpleHelpProvider
,
33081 _swigt__p_wxListbookEvent
,
33082 _swigt__p_wxNotebookEvent
,
33083 _swigt__p_wxObject
,
33084 _swigt__p_wxCursor
,
33085 _swigt__p_wxKeyEvent
,
33086 _swigt__p_wxWindow
,
33087 _swigt__p_wxString
,
33088 _swigt__p_wxBitmap
,
33089 _swigt__p_wxTreeEvent
,
33090 _swigt__p_wxMouseEvent
,
33091 _swigt__p_wxCommandEvent
,
33092 _swigt__p_wxStaticText
,
33093 _swigt__p_wxControlWithItems
,
33094 _swigt__p_wxToolBarToolBase
,
33095 _swigt__p_wxColour
,
33096 _swigt__p_wxToolBar
,
33097 _swigt__p_wxBookCtrlSizer
,
33098 _swigt__p_wxValidator
,
33103 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33105 static swig_const_info swig_const_table
[] = {
33115 SWIGEXPORT(void) SWIG_init(void) {
33116 static PyObject
*SWIG_globals
= 0;
33117 static int typeinit
= 0;
33120 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33121 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33122 d
= PyModule_GetDict(m
);
33125 for (i
= 0; swig_types_initial
[i
]; i
++) {
33126 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33130 SWIG_InstallConstants(d
,swig_const_table
);
33132 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33133 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33134 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33135 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33136 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33137 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33138 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33139 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33140 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33141 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33142 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33143 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33144 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33145 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33146 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33147 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33148 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33149 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33150 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33151 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33152 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33153 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33154 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33155 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33156 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33157 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33158 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33159 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33160 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33161 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33162 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33163 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33164 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33165 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33166 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33167 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33168 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33169 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33170 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33171 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33172 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33173 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33174 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33175 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33176 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33177 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33178 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33179 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33180 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33181 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33182 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33183 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33184 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33185 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33186 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33187 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33188 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33189 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33190 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33191 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33192 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33193 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33194 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33195 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33196 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33197 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33198 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33199 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33200 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33201 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33202 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33203 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33204 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33205 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33206 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33207 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33208 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33209 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33210 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33211 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33212 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33213 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33214 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33215 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33216 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33217 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33218 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33219 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33220 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33221 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33222 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33223 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33224 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33225 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33226 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33227 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33228 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33229 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33230 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33231 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33232 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33233 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33234 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33235 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33236 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33237 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33238 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33239 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33240 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33241 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33242 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33243 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33244 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33245 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33246 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33247 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33248 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33249 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33250 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33251 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33252 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33253 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33254 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33255 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33256 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33257 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33258 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33259 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33260 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33261 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33262 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33263 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33264 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33265 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33266 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33267 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33268 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33269 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33270 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33271 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33272 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33273 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33274 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33275 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33276 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33277 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33278 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33279 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33280 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33281 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33282 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33283 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33284 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33285 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33286 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33287 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33288 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33289 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33290 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33291 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33292 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33293 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33294 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33295 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33296 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33297 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33298 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33299 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33300 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33301 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33302 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33303 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33304 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33305 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33306 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33307 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33308 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33309 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33310 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33311 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33312 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33313 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33314 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33315 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33316 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33317 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33318 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33319 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33320 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33321 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33322 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33323 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33324 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33325 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33326 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33327 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33328 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33329 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33330 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33331 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33332 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33333 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33334 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33335 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33336 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33337 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33338 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33339 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33340 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33341 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33342 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33344 // Map renamed classes back to their common name for OOR
33345 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33347 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33348 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33349 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33350 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33351 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33352 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33353 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33354 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33355 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33356 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33357 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33358 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33359 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33360 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33361 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33362 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33363 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33364 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33365 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33366 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33367 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33368 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33369 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33370 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33371 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33372 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33373 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33374 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33375 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33376 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33377 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33378 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33379 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33380 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33381 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33382 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33383 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33384 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33385 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33386 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33387 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33388 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33389 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33390 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33391 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33392 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33393 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33394 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33395 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33396 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33397 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33398 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33399 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33400 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33401 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33402 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33404 // Map renamed classes back to their common name for OOR
33405 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33406 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33408 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33409 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33410 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33411 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33412 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33413 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33414 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33415 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33416 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33417 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33419 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");