1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
304 #define SWIG_name "_controls_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyControlNameStr(wxControlNameStr
);
356 const wxArrayString wxPyEmptyStringArray
;
358 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
440 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
461 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
462 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
463 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
464 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
465 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
466 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
468 #include <wx/checklst.h>
471 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
472 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
474 wxPyClientData
* data
= new wxPyClientData(clientData
);
475 self
->Insert(item
, pos
, data
);
477 self
->Insert(item
, pos
);
479 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
481 self
->GetSelections(lst
);
482 PyObject
*tup
= PyTuple_New(lst
.GetCount());
483 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
484 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
488 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
490 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
491 self
->GetItem(item
)->SetTextColour(c
);
494 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
496 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
497 self
->GetItem(item
)->SetBackgroundColour(c
);
500 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
502 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
503 self
->GetItem(item
)->SetFont(f
);
506 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject
* obj
)
538 if (PyLong_Check(obj
)) {
539 return PyLong_AsUnsignedLong(obj
);
541 long i
= SWIG_AsLong(obj
);
542 if ( !PyErr_Occurred() && (i
< 0)) {
543 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject
* obj
)
553 SWIG_AsUnsignedLong(obj
);
554 if (PyErr_Occurred()) {
562 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
563 self
->AppendText(text
);
565 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
566 return self
->GetValue().Mid(from
, to
- from
);
568 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
569 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
570 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
572 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
574 #include <wx/slider.h>
577 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
578 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
581 // implement dummy items for platforms that don't have this class
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
585 class wxToggleButton
: public wxControl
588 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
589 const wxPoint
&, const wxSize
&, long,
590 const wxValidator
&, const wxString
&)
591 { wxPyRaiseNotImplemented(); }
594 { wxPyRaiseNotImplemented(); }
598 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
600 SWIGSTATICINLINE(PyObject
* )
601 SWIG_FromUnsignedLong(unsigned long value
)
603 return (value
> LONG_MAX
) ?
604 PyLong_FromUnsignedLong(value
)
605 : PyInt_FromLong(swig_numeric_cast(long,value
));
608 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
609 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
610 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
612 Py_INCREF(udata
->m_obj
);
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
620 self
->SetClientData(new wxPyUserData(clientData
));
622 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
623 wxPyUserData
* udata
= NULL
;
624 if (clientData
&& clientData
!= Py_None
)
625 udata
= new wxPyUserData(clientData
);
626 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
627 shortHelp
, longHelp
, udata
);
629 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
630 wxPyUserData
* udata
= NULL
;
631 if (clientData
&& clientData
!= Py_None
)
632 udata
= new wxPyUserData(clientData
);
633 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
634 shortHelp
, longHelp
, udata
);
636 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
637 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
639 Py_INCREF(udata
->m_obj
);
646 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
647 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
650 #include <wx/listctrl.h>
652 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
653 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
654 // Python aware sorting function for wxPyListCtrl
655 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
657 PyObject
* func
= (PyObject
*)funcPtr
;
658 bool blocked
= wxPyBeginBlockThreads();
660 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
661 PyObject
* result
= PyEval_CallObject(func
, args
);
664 retval
= PyInt_AsLong(result
);
668 wxPyEndBlockThreads(blocked
);
672 // C++ Version of a Python aware class
673 class wxPyListCtrl
: public wxListCtrl
{
674 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
676 wxPyListCtrl() : wxListCtrl() {}
677 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) :
683 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
685 bool Create(wxWindow
* parent
, wxWindowID id
,
689 const wxValidator
& validator
,
690 const wxString
& name
) {
691 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
694 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
695 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
696 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
701 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
703 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
704 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
705 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
707 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
709 item
.SetMask( wxLIST_MASK_STATE
|
717 if (self
->GetColumn(col
, item
))
718 return new wxListItem(item
);
722 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
723 wxListItem
* info
= new wxListItem
;
724 info
->m_itemId
= itemId
;
726 info
->m_mask
= 0xFFFF;
727 self
->GetItem(*info
);
730 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
732 self
->GetItemPosition(item
, pos
);
735 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
737 self
->GetItemRect(item
, rect
, code
);
740 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
741 if (!PyCallable_Check(func
))
743 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
745 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
749 return (wxWindow
*)self
->m_mainWin
;
753 #include <wx/treectrl.h>
754 #include "wx/wxPython/pytree.h"
756 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
757 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
758 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
759 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
760 // C++ version of Python aware wxTreeCtrl
761 class wxPyTreeCtrl
: public wxTreeCtrl
{
762 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
764 wxPyTreeCtrl() : wxTreeCtrl() {}
765 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) :
771 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
773 bool Create(wxWindow
*parent
, wxWindowID id
,
777 const wxValidator
& validator
,
778 const wxString
& name
) {
779 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
783 int OnCompareItems(const wxTreeItemId
& item1
,
784 const wxTreeItemId
& item2
) {
787 bool blocked
= wxPyBeginBlockThreads();
788 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
789 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
790 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
791 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
795 wxPyEndBlockThreads(blocked
);
797 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
803 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
807 #if UINT_MAX < LONG_MAX
808 #define SWIG_FromUnsignedInt SWIG_FromLong
810 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
814 SWIGSTATICINLINE(unsigned long)
815 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
816 unsigned long max_value
)
818 if (!PyErr_Occurred()) {
819 if (value
> max_value
) {
821 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
822 value
, type
, max_value
);
823 PyErr_SetObject(PyExc_OverflowError
, err
);
831 #if UINT_MAX != ULONG_MAX
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_AsUnsignedInt(PyObject
*obj
)
835 return swig_numeric_cast(unsigned int,
836 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
837 "unsigned int", UINT_MAX
));
840 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
844 SWIGSTATICINLINE(int)
845 SWIG_CheckUnsignedInt(PyObject
* obj
)
847 SWIG_AsUnsignedInt(obj
);
848 if (PyErr_Occurred()) {
856 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
857 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
859 data
= new wxPyTreeItemData();
860 data
->SetId(item
); // set the id
861 self
->SetItemData(item
, data
);
865 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
866 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
868 data
= new wxPyTreeItemData();
869 data
->SetId(item
); // set the id
870 self
->SetItemData(item
, data
);
872 return data
->GetData();
874 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
875 data
->SetId(item
); // set the id
876 self
->SetItemData(item
, data
);
878 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
879 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
881 data
= new wxPyTreeItemData(obj
);
882 data
->SetId(item
); // set the id
883 self
->SetItemData(item
, data
);
887 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
888 bool blocked
= wxPyBeginBlockThreads();
889 PyObject
* rval
= PyList_New(0);
890 wxArrayTreeItemIds array
;
892 num
= self
->GetSelections(array
);
893 for (x
=0; x
< num
; x
++) {
894 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
895 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
896 PyList_Append(rval
, item
);
899 wxPyEndBlockThreads(blocked
);
902 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
913 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
914 bool blocked
= wxPyBeginBlockThreads();
915 PyObject
* tup
= PyTuple_New(2);
916 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
917 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
918 wxPyEndBlockThreads(blocked
);
921 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
923 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
924 bool blocked
= wxPyBeginBlockThreads();
925 wxRect
* r
= new wxRect(rect
);
926 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
927 wxPyEndBlockThreads(blocked
);
933 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
934 // C++ version of Python aware wxControl
935 class wxPyControl
: public wxControl
937 DECLARE_DYNAMIC_CLASS(wxPyControl
)
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
941 const wxPoint
& pos
= wxDefaultPosition
,
942 const wxSize
& size
= wxDefaultSize
,
944 const wxValidator
& validator
=wxDefaultValidator
,
945 const wxString
& name
= wxPyControlNameStr
)
946 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
948 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
950 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
951 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
959 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
960 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
962 DEC_PYCALLBACK__(InitDialog
);
963 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
964 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
965 DEC_PYCALLBACK_BOOL_(Validate
);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
969 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
971 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
972 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
981 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
983 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
984 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
985 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
992 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
995 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
997 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1000 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1002 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1004 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1007 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1008 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1009 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1013 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1015 #include <wx/generic/dragimgg.h>
1020 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1021 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1026 static PyObject
*_wrap_ButtonNameStr_get() {
1031 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1033 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1040 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxWindow
*arg1
= (wxWindow
*) 0 ;
1043 int arg2
= (int) -1 ;
1044 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1045 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1046 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1047 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1048 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1049 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1050 long arg6
= (long) 0 ;
1051 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1052 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1053 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1054 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1056 bool temp3
= False
;
1059 bool temp8
= False
;
1060 PyObject
* obj0
= 0 ;
1061 PyObject
* obj1
= 0 ;
1062 PyObject
* obj2
= 0 ;
1063 PyObject
* obj3
= 0 ;
1064 PyObject
* obj4
= 0 ;
1065 PyObject
* obj5
= 0 ;
1066 PyObject
* obj6
= 0 ;
1067 PyObject
* obj7
= 0 ;
1069 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1076 arg2
= (int) SWIG_AsInt(obj1
);
1077 if (PyErr_Occurred()) SWIG_fail
;
1081 arg3
= wxString_in_helper(obj2
);
1082 if (arg3
== NULL
) SWIG_fail
;
1089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1099 arg6
= (long) SWIG_AsLong(obj5
);
1100 if (PyErr_Occurred()) SWIG_fail
;
1103 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1107 PyErr_SetString(PyExc_TypeError
,"null reference");
1113 arg8
= wxString_in_helper(obj7
);
1114 if (arg8
== NULL
) SWIG_fail
;
1119 if (!wxPyCheckForApp()) SWIG_fail
;
1120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1121 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1127 resultobj
= wxPyMake_wxObject(result
, 1);
1151 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
*resultobj
;
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1160 if (!wxPyCheckForApp()) SWIG_fail
;
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 result
= (wxButton
*)new wxButton();
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) SWIG_fail
;
1168 resultobj
= wxPyMake_wxObject(result
, 1);
1176 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
*resultobj
;
1178 wxButton
*arg1
= (wxButton
*) 0 ;
1179 wxWindow
*arg2
= (wxWindow
*) 0 ;
1180 int arg3
= (int) -1 ;
1181 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1182 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1183 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1184 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1185 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1186 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1187 long arg7
= (long) 0 ;
1188 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1189 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1190 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1191 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1193 bool temp4
= False
;
1196 bool temp9
= False
;
1197 PyObject
* obj0
= 0 ;
1198 PyObject
* obj1
= 0 ;
1199 PyObject
* obj2
= 0 ;
1200 PyObject
* obj3
= 0 ;
1201 PyObject
* obj4
= 0 ;
1202 PyObject
* obj5
= 0 ;
1203 PyObject
* obj6
= 0 ;
1204 PyObject
* obj7
= 0 ;
1205 PyObject
* obj8
= 0 ;
1207 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1216 arg3
= (int) SWIG_AsInt(obj2
);
1217 if (PyErr_Occurred()) SWIG_fail
;
1221 arg4
= wxString_in_helper(obj3
);
1222 if (arg4
== NULL
) SWIG_fail
;
1229 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1235 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1239 arg7
= (long) SWIG_AsLong(obj6
);
1240 if (PyErr_Occurred()) SWIG_fail
;
1243 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1247 PyErr_SetString(PyExc_TypeError
,"null reference");
1253 arg9
= wxString_in_helper(obj8
);
1254 if (arg9
== NULL
) SWIG_fail
;
1259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1260 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1262 wxPyEndAllowThreads(__tstate
);
1263 if (PyErr_Occurred()) SWIG_fail
;
1266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1290 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
*resultobj
;
1292 wxButton
*arg1
= (wxButton
*) 0 ;
1293 PyObject
* obj0
= 0 ;
1295 (char *) "self", NULL
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1303 (arg1
)->SetDefault();
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1308 Py_INCREF(Py_None
); resultobj
= Py_None
;
1315 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
*resultobj
;
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 result
= wxButton::GetDefaultSize();
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) SWIG_fail
;
1332 resultptr
= new wxSize((wxSize
&) result
);
1333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1341 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
*resultobj
;
1343 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1344 wxVisualAttributes result
;
1345 PyObject
* obj0
= 0 ;
1347 (char *) "variant", NULL
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1352 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1353 if (PyErr_Occurred()) SWIG_fail
;
1356 if (!wxPyCheckForApp()) SWIG_fail
;
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) SWIG_fail
;
1364 wxVisualAttributes
* resultptr
;
1365 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1374 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1377 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1379 return Py_BuildValue((char *)"");
1381 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
*resultobj
;
1383 wxWindow
*arg1
= (wxWindow
*) 0 ;
1384 int arg2
= (int) -1 ;
1385 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1386 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1387 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1388 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1389 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1390 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1391 long arg6
= (long) wxBU_AUTODRAW
;
1392 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1393 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1394 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1395 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1396 wxBitmapButton
*result
;
1399 bool temp8
= False
;
1400 PyObject
* obj0
= 0 ;
1401 PyObject
* obj1
= 0 ;
1402 PyObject
* obj2
= 0 ;
1403 PyObject
* obj3
= 0 ;
1404 PyObject
* obj4
= 0 ;
1405 PyObject
* obj5
= 0 ;
1406 PyObject
* obj6
= 0 ;
1407 PyObject
* obj7
= 0 ;
1409 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1416 arg2
= (int) SWIG_AsInt(obj1
);
1417 if (PyErr_Occurred()) SWIG_fail
;
1420 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1424 PyErr_SetString(PyExc_TypeError
,"null reference");
1431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1441 arg6
= (long) SWIG_AsLong(obj5
);
1442 if (PyErr_Occurred()) SWIG_fail
;
1445 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1449 PyErr_SetString(PyExc_TypeError
,"null reference");
1455 arg8
= wxString_in_helper(obj7
);
1456 if (arg8
== NULL
) SWIG_fail
;
1461 if (!wxPyCheckForApp()) SWIG_fail
;
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) SWIG_fail
;
1469 resultobj
= wxPyMake_wxObject(result
, 1);
1485 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
*resultobj
;
1487 wxBitmapButton
*result
;
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1494 if (!wxPyCheckForApp()) SWIG_fail
;
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 result
= (wxBitmapButton
*)new wxBitmapButton();
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1502 resultobj
= wxPyMake_wxObject(result
, 1);
1510 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
*resultobj
;
1512 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1513 wxWindow
*arg2
= (wxWindow
*) 0 ;
1514 int arg3
= (int) -1 ;
1515 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1516 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1517 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1518 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1519 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1520 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1521 long arg7
= (long) wxBU_AUTODRAW
;
1522 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1523 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1524 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1525 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1529 bool temp9
= False
;
1530 PyObject
* obj0
= 0 ;
1531 PyObject
* obj1
= 0 ;
1532 PyObject
* obj2
= 0 ;
1533 PyObject
* obj3
= 0 ;
1534 PyObject
* obj4
= 0 ;
1535 PyObject
* obj5
= 0 ;
1536 PyObject
* obj6
= 0 ;
1537 PyObject
* obj7
= 0 ;
1538 PyObject
* obj8
= 0 ;
1540 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1549 arg3
= (int) SWIG_AsInt(obj2
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1553 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1557 PyErr_SetString(PyExc_TypeError
,"null reference");
1564 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1570 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1574 arg7
= (long) SWIG_AsLong(obj6
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1578 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1582 PyErr_SetString(PyExc_TypeError
,"null reference");
1588 arg9
= wxString_in_helper(obj8
);
1589 if (arg9
== NULL
) SWIG_fail
;
1594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1597 wxPyEndAllowThreads(__tstate
);
1598 if (PyErr_Occurred()) SWIG_fail
;
1601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1617 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1619 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1621 PyObject
* obj0
= 0 ;
1623 (char *) "self", NULL
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= (arg1
)->GetBitmapLabel();
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1637 wxBitmap
* resultptr
;
1638 resultptr
= new wxBitmap((wxBitmap
&) result
);
1639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1647 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
*resultobj
;
1649 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1651 PyObject
* obj0
= 0 ;
1653 (char *) "self", NULL
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= (arg1
)->GetBitmapDisabled();
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 wxBitmap
* resultptr
;
1668 resultptr
= new wxBitmap((wxBitmap
&) result
);
1669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1677 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
*resultobj
;
1679 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1681 PyObject
* obj0
= 0 ;
1683 (char *) "self", NULL
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 result
= (arg1
)->GetBitmapFocus();
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1697 wxBitmap
* resultptr
;
1698 resultptr
= new wxBitmap((wxBitmap
&) result
);
1699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1707 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
*resultobj
;
1709 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1711 PyObject
* obj0
= 0 ;
1713 (char *) "self", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 result
= (arg1
)->GetBitmapSelected();
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1727 wxBitmap
* resultptr
;
1728 resultptr
= new wxBitmap((wxBitmap
&) result
);
1729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1737 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1739 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1740 wxBitmap
*arg2
= 0 ;
1741 PyObject
* obj0
= 0 ;
1742 PyObject
* obj1
= 0 ;
1744 (char *) "self",(char *) "bitmap", NULL
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1754 PyErr_SetString(PyExc_TypeError
,"null reference");
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) SWIG_fail
;
1764 Py_INCREF(Py_None
); resultobj
= Py_None
;
1771 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
*resultobj
;
1773 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1774 wxBitmap
*arg2
= 0 ;
1775 PyObject
* obj0
= 0 ;
1776 PyObject
* obj1
= 0 ;
1778 (char *) "self",(char *) "bitmap", NULL
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1788 PyErr_SetString(PyExc_TypeError
,"null reference");
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) SWIG_fail
;
1798 Py_INCREF(Py_None
); resultobj
= Py_None
;
1805 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1808 wxBitmap
*arg2
= 0 ;
1809 PyObject
* obj0
= 0 ;
1810 PyObject
* obj1
= 0 ;
1812 (char *) "self",(char *) "bitmap", NULL
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1822 PyErr_SetString(PyExc_TypeError
,"null reference");
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1832 Py_INCREF(Py_None
); resultobj
= Py_None
;
1839 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
*resultobj
;
1841 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1842 wxBitmap
*arg2
= 0 ;
1843 PyObject
* obj0
= 0 ;
1844 PyObject
* obj1
= 0 ;
1846 (char *) "self",(char *) "bitmap", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1856 PyErr_SetString(PyExc_TypeError
,"null reference");
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1866 Py_INCREF(Py_None
); resultobj
= Py_None
;
1873 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1878 PyObject
* obj0
= 0 ;
1879 PyObject
* obj1
= 0 ;
1880 PyObject
* obj2
= 0 ;
1882 (char *) "self",(char *) "x",(char *) "y", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1888 arg2
= (int) SWIG_AsInt(obj1
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1890 arg3
= (int) SWIG_AsInt(obj2
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 (arg1
)->SetMargins(arg2
,arg3
);
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1899 Py_INCREF(Py_None
); resultobj
= Py_None
;
1906 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
*resultobj
;
1908 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1910 PyObject
* obj0
= 0 ;
1912 (char *) "self", NULL
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 resultobj
= SWIG_FromInt((int)result
);
1932 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 resultobj
= SWIG_FromInt((int)result
);
1958 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1961 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1963 return Py_BuildValue((char *)"");
1965 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1966 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1971 static PyObject
*_wrap_CheckBoxNameStr_get() {
1976 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1978 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1985 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
*resultobj
;
1987 wxWindow
*arg1
= (wxWindow
*) 0 ;
1988 int arg2
= (int) -1 ;
1989 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1990 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1991 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1992 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1993 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1994 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1995 long arg6
= (long) 0 ;
1996 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1997 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1998 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1999 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2001 bool temp3
= False
;
2004 bool temp8
= False
;
2005 PyObject
* obj0
= 0 ;
2006 PyObject
* obj1
= 0 ;
2007 PyObject
* obj2
= 0 ;
2008 PyObject
* obj3
= 0 ;
2009 PyObject
* obj4
= 0 ;
2010 PyObject
* obj5
= 0 ;
2011 PyObject
* obj6
= 0 ;
2012 PyObject
* obj7
= 0 ;
2014 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2021 arg2
= (int) SWIG_AsInt(obj1
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2026 arg3
= wxString_in_helper(obj2
);
2027 if (arg3
== NULL
) SWIG_fail
;
2034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2044 arg6
= (long) SWIG_AsLong(obj5
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2048 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2052 PyErr_SetString(PyExc_TypeError
,"null reference");
2058 arg8
= wxString_in_helper(obj7
);
2059 if (arg8
== NULL
) SWIG_fail
;
2064 if (!wxPyCheckForApp()) SWIG_fail
;
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) SWIG_fail
;
2071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2094 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2103 if (!wxPyCheckForApp()) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 result
= (wxCheckBox
*)new wxCheckBox();
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2117 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2119 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2120 wxWindow
*arg2
= (wxWindow
*) 0 ;
2121 int arg3
= (int) -1 ;
2122 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2123 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2124 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2125 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2126 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2127 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2128 long arg7
= (long) 0 ;
2129 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2130 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2131 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2132 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2134 bool temp4
= False
;
2137 bool temp9
= False
;
2138 PyObject
* obj0
= 0 ;
2139 PyObject
* obj1
= 0 ;
2140 PyObject
* obj2
= 0 ;
2141 PyObject
* obj3
= 0 ;
2142 PyObject
* obj4
= 0 ;
2143 PyObject
* obj5
= 0 ;
2144 PyObject
* obj6
= 0 ;
2145 PyObject
* obj7
= 0 ;
2146 PyObject
* obj8
= 0 ;
2148 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2157 arg3
= (int) SWIG_AsInt(obj2
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2162 arg4
= wxString_in_helper(obj3
);
2163 if (arg4
== NULL
) SWIG_fail
;
2170 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2176 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2180 arg7
= (long) SWIG_AsLong(obj6
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2184 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2188 PyErr_SetString(PyExc_TypeError
,"null reference");
2194 arg9
= wxString_in_helper(obj8
);
2195 if (arg9
== NULL
) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2231 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
*resultobj
;
2233 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2235 PyObject
* obj0
= 0 ;
2237 (char *) "self", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 result
= (bool)(arg1
)->GetValue();
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2259 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2265 (char *) "self", NULL
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 result
= (bool)(arg1
)->IsChecked();
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2287 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
*resultobj
;
2289 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2291 PyObject
* obj0
= 0 ;
2292 PyObject
* obj1
= 0 ;
2294 (char *) "self",(char *) "state", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2300 arg2
= (bool const) SWIG_AsBool(obj1
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 (arg1
)->SetValue(arg2
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2309 Py_INCREF(Py_None
); resultobj
= Py_None
;
2316 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2318 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2320 PyObject
* obj0
= 0 ;
2322 (char *) "self", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2335 resultobj
= SWIG_FromInt((int)result
);
2342 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
*resultobj
;
2344 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2346 PyObject
* obj0
= 0 ;
2347 PyObject
* obj1
= 0 ;
2349 (char *) "self",(char *) "state", NULL
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2355 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2356 if (PyErr_Occurred()) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 Py_INCREF(Py_None
); resultobj
= Py_None
;
2371 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2375 PyObject
* obj0
= 0 ;
2377 (char *) "self", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2399 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2401 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2403 PyObject
* obj0
= 0 ;
2405 (char *) "self", NULL
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2427 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2430 wxVisualAttributes result
;
2431 PyObject
* obj0
= 0 ;
2433 (char *) "variant", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2438 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2442 if (!wxPyCheckForApp()) SWIG_fail
;
2443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2444 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2446 wxPyEndAllowThreads(__tstate
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2450 wxVisualAttributes
* resultptr
;
2451 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2460 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2463 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2465 return Py_BuildValue((char *)"");
2467 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2468 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2473 static PyObject
*_wrap_ChoiceNameStr_get() {
2478 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2480 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2487 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxWindow
*arg1
= (wxWindow
*) 0 ;
2490 int arg2
= (int) -1 ;
2491 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2492 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2493 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2494 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2495 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2496 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2497 long arg6
= (long) 0 ;
2498 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2499 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2500 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2501 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2505 bool temp5
= False
;
2506 bool temp8
= False
;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2509 PyObject
* obj2
= 0 ;
2510 PyObject
* obj3
= 0 ;
2511 PyObject
* obj4
= 0 ;
2512 PyObject
* obj5
= 0 ;
2513 PyObject
* obj6
= 0 ;
2514 PyObject
* obj7
= 0 ;
2516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2523 arg2
= (int) SWIG_AsInt(obj1
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2529 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2535 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2540 if (! PySequence_Check(obj4
)) {
2541 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2544 arg5
= new wxArrayString
;
2546 int i
, len
=PySequence_Length(obj4
);
2547 for (i
=0; i
<len
; i
++) {
2548 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2550 PyObject
* str
= PyObject_Unicode(item
);
2552 PyObject
* str
= PyObject_Str(item
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2555 arg5
->Add(Py2wxString(str
));
2562 arg6
= (long) SWIG_AsLong(obj5
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2566 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2570 PyErr_SetString(PyExc_TypeError
,"null reference");
2576 arg8
= wxString_in_helper(obj7
);
2577 if (arg8
== NULL
) SWIG_fail
;
2582 if (!wxPyCheckForApp()) SWIG_fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2591 if (temp5
) delete arg5
;
2600 if (temp5
) delete arg5
;
2610 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2619 if (!wxPyCheckForApp()) SWIG_fail
;
2620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2621 result
= (wxChoice
*)new wxChoice();
2623 wxPyEndAllowThreads(__tstate
);
2624 if (PyErr_Occurred()) SWIG_fail
;
2626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2633 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
*resultobj
;
2635 wxChoice
*arg1
= (wxChoice
*) 0 ;
2636 wxWindow
*arg2
= (wxWindow
*) 0 ;
2637 int arg3
= (int) -1 ;
2638 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2639 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2640 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2641 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2642 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2643 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2644 long arg7
= (long) 0 ;
2645 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2646 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2647 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2648 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2652 bool temp6
= False
;
2653 bool temp9
= False
;
2654 PyObject
* obj0
= 0 ;
2655 PyObject
* obj1
= 0 ;
2656 PyObject
* obj2
= 0 ;
2657 PyObject
* obj3
= 0 ;
2658 PyObject
* obj4
= 0 ;
2659 PyObject
* obj5
= 0 ;
2660 PyObject
* obj6
= 0 ;
2661 PyObject
* obj7
= 0 ;
2662 PyObject
* obj8
= 0 ;
2664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2673 arg3
= (int) SWIG_AsInt(obj2
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2679 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2685 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2690 if (! PySequence_Check(obj5
)) {
2691 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2694 arg6
= new wxArrayString
;
2696 int i
, len
=PySequence_Length(obj5
);
2697 for (i
=0; i
<len
; i
++) {
2698 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2700 PyObject
* str
= PyObject_Unicode(item
);
2702 PyObject
* str
= PyObject_Str(item
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2705 arg6
->Add(Py2wxString(str
));
2712 arg7
= (long) SWIG_AsLong(obj6
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2716 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2720 PyErr_SetString(PyExc_TypeError
,"null reference");
2726 arg9
= wxString_in_helper(obj8
);
2727 if (arg9
== NULL
) SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2742 if (temp6
) delete arg6
;
2751 if (temp6
) delete arg6
;
2761 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
*resultobj
;
2763 wxChoice
*arg1
= (wxChoice
*) 0 ;
2765 PyObject
* obj0
= 0 ;
2766 PyObject
* obj1
= 0 ;
2768 (char *) "self",(char *) "n", NULL
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2774 arg2
= (int const) SWIG_AsInt(obj1
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 (arg1
)->SetSelection(arg2
);
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2783 Py_INCREF(Py_None
); resultobj
= Py_None
;
2790 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
*resultobj
;
2792 wxChoice
*arg1
= (wxChoice
*) 0 ;
2793 wxString
*arg2
= 0 ;
2795 bool temp2
= False
;
2796 PyObject
* obj0
= 0 ;
2797 PyObject
* obj1
= 0 ;
2799 (char *) "self",(char *) "string", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 arg2
= wxString_in_helper(obj1
);
2807 if (arg2
== NULL
) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2834 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2836 wxChoice
*arg1
= (wxChoice
*) 0 ;
2838 wxString
*arg3
= 0 ;
2839 bool temp3
= False
;
2840 PyObject
* obj0
= 0 ;
2841 PyObject
* obj1
= 0 ;
2842 PyObject
* obj2
= 0 ;
2844 (char *) "self",(char *) "n",(char *) "string", NULL
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2850 arg2
= (int) SWIG_AsInt(obj1
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2853 arg3
= wxString_in_helper(obj2
);
2854 if (arg3
== NULL
) SWIG_fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2864 Py_INCREF(Py_None
); resultobj
= Py_None
;
2879 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2881 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2882 wxVisualAttributes result
;
2883 PyObject
* obj0
= 0 ;
2885 (char *) "variant", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2890 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2894 if (!wxPyCheckForApp()) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 wxVisualAttributes
* resultptr
;
2903 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2912 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2915 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2917 return Py_BuildValue((char *)"");
2919 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2920 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2925 static PyObject
*_wrap_ComboBoxNameStr_get() {
2930 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2932 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2939 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxWindow
*arg1
= (wxWindow
*) 0 ;
2942 int arg2
= (int) -1 ;
2943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2949 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2950 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2951 long arg7
= (long) 0 ;
2952 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2953 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2954 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2955 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2957 bool temp3
= False
;
2960 bool temp6
= False
;
2961 bool temp9
= False
;
2962 PyObject
* obj0
= 0 ;
2963 PyObject
* obj1
= 0 ;
2964 PyObject
* obj2
= 0 ;
2965 PyObject
* obj3
= 0 ;
2966 PyObject
* obj4
= 0 ;
2967 PyObject
* obj5
= 0 ;
2968 PyObject
* obj6
= 0 ;
2969 PyObject
* obj7
= 0 ;
2970 PyObject
* obj8
= 0 ;
2972 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2979 arg2
= (int) SWIG_AsInt(obj1
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2984 arg3
= wxString_in_helper(obj2
);
2985 if (arg3
== NULL
) SWIG_fail
;
2992 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2998 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3003 if (! PySequence_Check(obj5
)) {
3004 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3007 arg6
= new wxArrayString
;
3009 int i
, len
=PySequence_Length(obj5
);
3010 for (i
=0; i
<len
; i
++) {
3011 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3013 PyObject
* str
= PyObject_Unicode(item
);
3015 PyObject
* str
= PyObject_Str(item
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3018 arg6
->Add(Py2wxString(str
));
3025 arg7
= (long) SWIG_AsLong(obj6
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3029 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3033 PyErr_SetString(PyExc_TypeError
,"null reference");
3039 arg9
= wxString_in_helper(obj8
);
3040 if (arg9
== NULL
) SWIG_fail
;
3045 if (!wxPyCheckForApp()) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 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
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3058 if (temp6
) delete arg6
;
3071 if (temp6
) delete arg6
;
3081 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3090 if (!wxPyCheckForApp()) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= (wxComboBox
*)new wxComboBox();
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3104 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3107 wxWindow
*arg2
= (wxWindow
*) 0 ;
3108 int arg3
= (int) -1 ;
3109 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3110 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3111 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3112 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3113 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3114 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3115 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3116 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3117 long arg8
= (long) 0 ;
3118 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3119 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3120 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3121 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3123 bool temp4
= False
;
3126 bool temp7
= False
;
3127 bool temp10
= False
;
3128 PyObject
* obj0
= 0 ;
3129 PyObject
* obj1
= 0 ;
3130 PyObject
* obj2
= 0 ;
3131 PyObject
* obj3
= 0 ;
3132 PyObject
* obj4
= 0 ;
3133 PyObject
* obj5
= 0 ;
3134 PyObject
* obj6
= 0 ;
3135 PyObject
* obj7
= 0 ;
3136 PyObject
* obj8
= 0 ;
3137 PyObject
* obj9
= 0 ;
3139 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 arg3
= (int) SWIG_AsInt(obj2
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3153 arg4
= wxString_in_helper(obj3
);
3154 if (arg4
== NULL
) SWIG_fail
;
3161 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3167 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3172 if (! PySequence_Check(obj6
)) {
3173 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3176 arg7
= new wxArrayString
;
3178 int i
, len
=PySequence_Length(obj6
);
3179 for (i
=0; i
<len
; i
++) {
3180 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3182 PyObject
* str
= PyObject_Unicode(item
);
3184 PyObject
* str
= PyObject_Str(item
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3187 arg7
->Add(Py2wxString(str
));
3194 arg8
= (long) SWIG_AsLong(obj7
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3198 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3202 PyErr_SetString(PyExc_TypeError
,"null reference");
3208 arg10
= wxString_in_helper(obj9
);
3209 if (arg10
== NULL
) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 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
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3228 if (temp7
) delete arg7
;
3241 if (temp7
) delete arg7
;
3251 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3255 PyObject
* obj0
= 0 ;
3257 (char *) "self", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= ((wxComboBox
const *)arg1
)->GetValue();
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3283 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3286 wxString
*arg2
= 0 ;
3287 bool temp2
= False
;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "self",(char *) "value", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3298 arg2
= wxString_in_helper(obj1
);
3299 if (arg2
== NULL
) SWIG_fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 (arg1
)->SetValue((wxString
const &)*arg2
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3309 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3327 PyObject
* obj0
= 0 ;
3329 (char *) "self", NULL
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 Py_INCREF(Py_None
); resultobj
= Py_None
;
3349 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3352 PyObject
* obj0
= 0 ;
3354 (char *) "self", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3379 (char *) "self", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3406 (char *) "self",(char *) "pos", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3412 arg2
= (long) SWIG_AsLong(obj1
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 (arg1
)->SetInsertionPoint(arg2
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 Py_INCREF(Py_None
); resultobj
= Py_None
;
3428 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3434 (char *) "self", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 resultobj
= SWIG_FromLong((long)result
);
3454 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3460 (char *) "self", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= SWIG_FromLong((long)result
);
3480 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3485 wxString
*arg4
= 0 ;
3486 bool temp4
= False
;
3487 PyObject
* obj0
= 0 ;
3488 PyObject
* obj1
= 0 ;
3489 PyObject
* obj2
= 0 ;
3490 PyObject
* obj3
= 0 ;
3492 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3498 arg2
= (long) SWIG_AsLong(obj1
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3500 arg3
= (long) SWIG_AsLong(obj2
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 arg4
= wxString_in_helper(obj3
);
3504 if (arg4
== NULL
) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 Py_INCREF(Py_None
); resultobj
= Py_None
;
3529 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3536 (char *) "self",(char *) "n", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 arg2
= (int) SWIG_AsInt(obj1
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 (arg1
)->SetSelection(arg2
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3563 PyObject
* obj0
= 0 ;
3564 PyObject
* obj1
= 0 ;
3565 PyObject
* obj2
= 0 ;
3567 (char *) "self",(char *) "from",(char *) "to", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3573 arg2
= (long) SWIG_AsLong(obj1
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3575 arg3
= (long) SWIG_AsLong(obj2
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 (arg1
)->SetSelection(arg2
,arg3
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 Py_INCREF(Py_None
); resultobj
= Py_None
;
3591 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3593 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3594 wxString
*arg2
= 0 ;
3596 bool temp2
= False
;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3600 (char *) "self",(char *) "string", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3607 arg2
= wxString_in_helper(obj1
);
3608 if (arg2
== NULL
) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3635 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3639 wxString
*arg3
= 0 ;
3640 bool temp3
= False
;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3643 PyObject
* obj2
= 0 ;
3645 (char *) "self",(char *) "n",(char *) "string", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3651 arg2
= (int) SWIG_AsInt(obj1
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 arg3
= wxString_in_helper(obj2
);
3655 if (arg3
== NULL
) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3665 Py_INCREF(Py_None
); resultobj
= Py_None
;
3680 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
*resultobj
;
3682 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3684 PyObject
* obj0
= 0 ;
3685 PyObject
* obj1
= 0 ;
3687 (char *) "self",(char *) "editable", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3693 arg2
= (bool) SWIG_AsBool(obj1
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 (arg1
)->SetEditable(arg2
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 Py_INCREF(Py_None
); resultobj
= Py_None
;
3709 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3712 PyObject
* obj0
= 0 ;
3714 (char *) "self", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 (arg1
)->SetInsertionPointEnd();
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 Py_INCREF(Py_None
); resultobj
= Py_None
;
3734 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3741 PyObject
* obj2
= 0 ;
3743 (char *) "self",(char *) "from",(char *) "to", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3749 arg2
= (long) SWIG_AsLong(obj1
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3751 arg3
= (long) SWIG_AsLong(obj2
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 (arg1
)->Remove(arg2
,arg3
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 Py_INCREF(Py_None
); resultobj
= Py_None
;
3767 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3770 wxVisualAttributes result
;
3771 PyObject
* obj0
= 0 ;
3773 (char *) "variant", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3778 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3782 if (!wxPyCheckForApp()) SWIG_fail
;
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3790 wxVisualAttributes
* resultptr
;
3791 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3800 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3803 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3805 return Py_BuildValue((char *)"");
3807 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3808 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3813 static PyObject
*_wrap_GaugeNameStr_get() {
3818 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3820 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3827 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxWindow
*arg1
= (wxWindow
*) 0 ;
3830 int arg2
= (int) -1 ;
3831 int arg3
= (int) 100 ;
3832 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3833 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3834 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3835 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3836 long arg6
= (long) wxGA_HORIZONTAL
;
3837 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3838 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3839 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3840 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3844 bool temp8
= False
;
3845 PyObject
* obj0
= 0 ;
3846 PyObject
* obj1
= 0 ;
3847 PyObject
* obj2
= 0 ;
3848 PyObject
* obj3
= 0 ;
3849 PyObject
* obj4
= 0 ;
3850 PyObject
* obj5
= 0 ;
3851 PyObject
* obj6
= 0 ;
3852 PyObject
* obj7
= 0 ;
3854 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3861 arg2
= (int) SWIG_AsInt(obj1
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3865 arg3
= (int) SWIG_AsInt(obj2
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3871 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3877 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3881 arg6
= (long) SWIG_AsLong(obj5
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3885 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3889 PyErr_SetString(PyExc_TypeError
,"null reference");
3895 arg8
= wxString_in_helper(obj7
);
3896 if (arg8
== NULL
) SWIG_fail
;
3901 if (!wxPyCheckForApp()) SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3923 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
*resultobj
;
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3932 if (!wxPyCheckForApp()) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 result
= (wxGauge
*)new wxGauge();
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3946 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxGauge
*arg1
= (wxGauge
*) 0 ;
3949 wxWindow
*arg2
= (wxWindow
*) 0 ;
3950 int arg3
= (int) -1 ;
3951 int arg4
= (int) 100 ;
3952 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3953 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3954 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3955 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3956 long arg7
= (long) wxGA_HORIZONTAL
;
3957 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3958 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3959 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3960 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3964 bool temp9
= False
;
3965 PyObject
* obj0
= 0 ;
3966 PyObject
* obj1
= 0 ;
3967 PyObject
* obj2
= 0 ;
3968 PyObject
* obj3
= 0 ;
3969 PyObject
* obj4
= 0 ;
3970 PyObject
* obj5
= 0 ;
3971 PyObject
* obj6
= 0 ;
3972 PyObject
* obj7
= 0 ;
3973 PyObject
* obj8
= 0 ;
3975 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3984 arg3
= (int) SWIG_AsInt(obj2
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3988 arg4
= (int) SWIG_AsInt(obj3
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3994 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4000 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4004 arg7
= (long) SWIG_AsLong(obj6
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4008 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4012 PyErr_SetString(PyExc_TypeError
,"null reference");
4018 arg9
= wxString_in_helper(obj8
);
4019 if (arg9
== NULL
) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4047 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxGauge
*arg1
= (wxGauge
*) 0 ;
4051 PyObject
* obj0
= 0 ;
4052 PyObject
* obj1
= 0 ;
4054 (char *) "self",(char *) "range", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4060 arg2
= (int) SWIG_AsInt(obj1
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 (arg1
)->SetRange(arg2
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4076 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxGauge
*arg1
= (wxGauge
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= SWIG_FromInt((int)result
);
4102 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4104 wxGauge
*arg1
= (wxGauge
*) 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4109 (char *) "self",(char *) "pos", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4115 arg2
= (int) SWIG_AsInt(obj1
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 (arg1
)->SetValue(arg2
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 Py_INCREF(Py_None
); resultobj
= Py_None
;
4131 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxGauge
*arg1
= (wxGauge
*) 0 ;
4135 PyObject
* obj0
= 0 ;
4137 (char *) "self", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_FromInt((int)result
);
4157 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxGauge
*arg1
= (wxGauge
*) 0 ;
4161 PyObject
* obj0
= 0 ;
4163 (char *) "self", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4185 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4187 wxGauge
*arg1
= (wxGauge
*) 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4192 (char *) "self",(char *) "w", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4198 arg2
= (int) SWIG_AsInt(obj1
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 (arg1
)->SetShadowWidth(arg2
);
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 Py_INCREF(Py_None
); resultobj
= Py_None
;
4214 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxGauge
*arg1
= (wxGauge
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4220 (char *) "self", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_FromInt((int)result
);
4240 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxGauge
*arg1
= (wxGauge
*) 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4247 (char *) "self",(char *) "w", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4253 arg2
= (int) SWIG_AsInt(obj1
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 (arg1
)->SetBezelFace(arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 Py_INCREF(Py_None
); resultobj
= Py_None
;
4269 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxGauge
*arg1
= (wxGauge
*) 0 ;
4273 PyObject
* obj0
= 0 ;
4275 (char *) "self", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 resultobj
= SWIG_FromInt((int)result
);
4295 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4298 wxVisualAttributes result
;
4299 PyObject
* obj0
= 0 ;
4301 (char *) "variant", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4306 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4310 if (!wxPyCheckForApp()) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4318 wxVisualAttributes
* resultptr
;
4319 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4328 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4331 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4333 return Py_BuildValue((char *)"");
4335 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4336 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4341 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4346 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4348 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4355 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4356 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4361 static PyObject
*_wrap_StaticBoxNameStr_get() {
4366 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4368 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4375 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4376 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4381 static PyObject
*_wrap_StaticTextNameStr_get() {
4386 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4388 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4395 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxWindow
*arg1
= (wxWindow
*) 0 ;
4398 int arg2
= (int) -1 ;
4399 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4400 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4401 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4402 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4403 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4404 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4405 long arg6
= (long) 0 ;
4406 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4407 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4408 wxStaticBox
*result
;
4409 bool temp3
= False
;
4412 bool temp7
= False
;
4413 PyObject
* obj0
= 0 ;
4414 PyObject
* obj1
= 0 ;
4415 PyObject
* obj2
= 0 ;
4416 PyObject
* obj3
= 0 ;
4417 PyObject
* obj4
= 0 ;
4418 PyObject
* obj5
= 0 ;
4419 PyObject
* obj6
= 0 ;
4421 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4428 arg2
= (int) SWIG_AsInt(obj1
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4433 arg3
= wxString_in_helper(obj2
);
4434 if (arg3
== NULL
) SWIG_fail
;
4441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4447 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4451 arg6
= (long) SWIG_AsLong(obj5
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4456 arg7
= wxString_in_helper(obj6
);
4457 if (arg7
== NULL
) SWIG_fail
;
4462 if (!wxPyCheckForApp()) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= wxPyMake_wxObject(result
, 1);
4494 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 wxStaticBox
*result
;
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4503 if (!wxPyCheckForApp()) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 result
= (wxStaticBox
*)new wxStaticBox();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= wxPyMake_wxObject(result
, 1);
4519 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4522 wxWindow
*arg2
= (wxWindow
*) 0 ;
4523 int arg3
= (int) -1 ;
4524 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4525 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4526 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4528 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4529 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4530 long arg7
= (long) 0 ;
4531 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4534 bool temp4
= False
;
4537 bool temp8
= False
;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4540 PyObject
* obj2
= 0 ;
4541 PyObject
* obj3
= 0 ;
4542 PyObject
* obj4
= 0 ;
4543 PyObject
* obj5
= 0 ;
4544 PyObject
* obj6
= 0 ;
4545 PyObject
* obj7
= 0 ;
4547 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4556 arg3
= (int) SWIG_AsInt(obj2
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4561 arg4
= wxString_in_helper(obj3
);
4562 if (arg4
== NULL
) SWIG_fail
;
4569 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4575 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4579 arg7
= (long) SWIG_AsLong(obj6
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4584 arg8
= wxString_in_helper(obj7
);
4585 if (arg8
== NULL
) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4621 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4624 wxVisualAttributes result
;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "variant", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4632 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4636 if (!wxPyCheckForApp()) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4644 wxVisualAttributes
* resultptr
;
4645 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4654 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4659 return Py_BuildValue((char *)"");
4661 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxWindow
*arg1
= (wxWindow
*) 0 ;
4664 int arg2
= (int) -1 ;
4665 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4666 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4667 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4668 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4669 long arg5
= (long) wxLI_HORIZONTAL
;
4670 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4671 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4672 wxStaticLine
*result
;
4675 bool temp6
= False
;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 PyObject
* obj3
= 0 ;
4680 PyObject
* obj4
= 0 ;
4681 PyObject
* obj5
= 0 ;
4683 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4690 arg2
= (int) SWIG_AsInt(obj1
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4696 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4702 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4706 arg5
= (long) SWIG_AsLong(obj4
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4711 arg6
= wxString_in_helper(obj5
);
4712 if (arg6
== NULL
) SWIG_fail
;
4717 if (!wxPyCheckForApp()) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4739 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 wxStaticLine
*result
;
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4748 if (!wxPyCheckForApp()) SWIG_fail
;
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 result
= (wxStaticLine
*)new wxStaticLine();
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4762 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4764 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4765 wxWindow
*arg2
= (wxWindow
*) 0 ;
4766 int arg3
= (int) -1 ;
4767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4771 long arg6
= (long) wxLI_HORIZONTAL
;
4772 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4773 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4777 bool temp7
= False
;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4780 PyObject
* obj2
= 0 ;
4781 PyObject
* obj3
= 0 ;
4782 PyObject
* obj4
= 0 ;
4783 PyObject
* obj5
= 0 ;
4784 PyObject
* obj6
= 0 ;
4786 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4795 arg3
= (int) SWIG_AsInt(obj2
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4811 arg6
= (long) SWIG_AsLong(obj5
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4816 arg7
= wxString_in_helper(obj6
);
4817 if (arg7
== NULL
) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4845 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4851 (char *) "self", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4873 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 result
= (int)wxStaticLine::GetDefaultSize();
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= SWIG_FromInt((int)result
);
4895 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4898 wxVisualAttributes result
;
4899 PyObject
* obj0
= 0 ;
4901 (char *) "variant", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4906 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4910 if (!wxPyCheckForApp()) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4918 wxVisualAttributes
* resultptr
;
4919 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4928 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4931 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4933 return Py_BuildValue((char *)"");
4935 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxWindow
*arg1
= (wxWindow
*) 0 ;
4938 int arg2
= (int) -1 ;
4939 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4940 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4941 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4942 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4943 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4944 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4945 long arg6
= (long) 0 ;
4946 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4947 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4948 wxStaticText
*result
;
4949 bool temp3
= False
;
4952 bool temp7
= False
;
4953 PyObject
* obj0
= 0 ;
4954 PyObject
* obj1
= 0 ;
4955 PyObject
* obj2
= 0 ;
4956 PyObject
* obj3
= 0 ;
4957 PyObject
* obj4
= 0 ;
4958 PyObject
* obj5
= 0 ;
4959 PyObject
* obj6
= 0 ;
4961 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4968 arg2
= (int) SWIG_AsInt(obj1
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4973 arg3
= wxString_in_helper(obj2
);
4974 if (arg3
== NULL
) SWIG_fail
;
4981 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4987 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4991 arg6
= (long) SWIG_AsLong(obj5
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4996 arg7
= wxString_in_helper(obj6
);
4997 if (arg7
== NULL
) SWIG_fail
;
5002 if (!wxPyCheckForApp()) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5032 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxStaticText
*result
;
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5041 if (!wxPyCheckForApp()) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (wxStaticText
*)new wxStaticText();
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5055 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5058 wxWindow
*arg2
= (wxWindow
*) 0 ;
5059 int arg3
= (int) -1 ;
5060 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5061 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5062 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5063 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5064 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5065 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5066 long arg7
= (long) 0 ;
5067 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5068 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5070 bool temp4
= False
;
5073 bool temp8
= False
;
5074 PyObject
* obj0
= 0 ;
5075 PyObject
* obj1
= 0 ;
5076 PyObject
* obj2
= 0 ;
5077 PyObject
* obj3
= 0 ;
5078 PyObject
* obj4
= 0 ;
5079 PyObject
* obj5
= 0 ;
5080 PyObject
* obj6
= 0 ;
5081 PyObject
* obj7
= 0 ;
5083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 arg3
= (int) SWIG_AsInt(obj2
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5097 arg4
= wxString_in_helper(obj3
);
5098 if (arg4
== NULL
) SWIG_fail
;
5105 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5111 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5115 arg7
= (long) SWIG_AsLong(obj6
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5120 arg8
= wxString_in_helper(obj7
);
5121 if (arg8
== NULL
) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5157 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5160 wxVisualAttributes result
;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "variant", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5168 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5172 if (!wxPyCheckForApp()) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5180 wxVisualAttributes
* resultptr
;
5181 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5190 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5193 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5195 return Py_BuildValue((char *)"");
5197 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxWindow
*arg1
= (wxWindow
*) 0 ;
5200 int arg2
= (int) -1 ;
5201 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5202 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5203 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5204 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5205 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5206 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5207 long arg6
= (long) 0 ;
5208 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5209 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5210 wxStaticBitmap
*result
;
5213 bool temp7
= False
;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5216 PyObject
* obj2
= 0 ;
5217 PyObject
* obj3
= 0 ;
5218 PyObject
* obj4
= 0 ;
5219 PyObject
* obj5
= 0 ;
5220 PyObject
* obj6
= 0 ;
5222 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5229 arg2
= (int) SWIG_AsInt(obj1
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5233 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5237 PyErr_SetString(PyExc_TypeError
,"null reference");
5244 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5250 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5254 arg6
= (long) SWIG_AsLong(obj5
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5259 arg7
= wxString_in_helper(obj6
);
5260 if (arg7
== NULL
) SWIG_fail
;
5265 if (!wxPyCheckForApp()) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5287 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxStaticBitmap
*result
;
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5296 if (!wxPyCheckForApp()) SWIG_fail
;
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5310 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5313 wxWindow
*arg2
= (wxWindow
*) 0 ;
5314 int arg3
= (int) -1 ;
5315 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5316 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5317 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5318 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5319 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5320 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5321 long arg7
= (long) 0 ;
5322 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5323 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5327 bool temp8
= False
;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5330 PyObject
* obj2
= 0 ;
5331 PyObject
* obj3
= 0 ;
5332 PyObject
* obj4
= 0 ;
5333 PyObject
* obj5
= 0 ;
5334 PyObject
* obj6
= 0 ;
5335 PyObject
* obj7
= 0 ;
5337 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 arg3
= (int) SWIG_AsInt(obj2
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5350 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5354 PyErr_SetString(PyExc_TypeError
,"null reference");
5361 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5367 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5371 arg7
= (long) SWIG_AsLong(obj6
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5376 arg8
= wxString_in_helper(obj7
);
5377 if (arg8
== NULL
) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5405 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5411 (char *) "self", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (arg1
)->GetBitmap();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 wxBitmap
* resultptr
;
5426 resultptr
= new wxBitmap((wxBitmap
&) result
);
5427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5435 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5438 wxBitmap
*arg2
= 0 ;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5442 (char *) "self",(char *) "bitmap", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5452 PyErr_SetString(PyExc_TypeError
,"null reference");
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5462 Py_INCREF(Py_None
); resultobj
= Py_None
;
5469 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5471 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5473 PyObject
* obj0
= 0 ;
5474 PyObject
* obj1
= 0 ;
5476 (char *) "self",(char *) "icon", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5486 PyErr_SetString(PyExc_TypeError
,"null reference");
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 Py_INCREF(Py_None
); resultobj
= Py_None
;
5503 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5506 wxVisualAttributes result
;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "variant", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5514 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 if (!wxPyCheckForApp()) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 wxVisualAttributes
* resultptr
;
5527 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5536 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5539 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5541 return Py_BuildValue((char *)"");
5543 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5544 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5549 static PyObject
*_wrap_ListBoxNameStr_get() {
5554 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5556 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5563 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxWindow
*arg1
= (wxWindow
*) 0 ;
5566 int arg2
= (int) -1 ;
5567 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5568 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5569 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5570 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5571 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5572 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5573 long arg6
= (long) 0 ;
5574 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5575 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5576 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5577 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5581 bool temp5
= False
;
5582 bool temp8
= False
;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5585 PyObject
* obj2
= 0 ;
5586 PyObject
* obj3
= 0 ;
5587 PyObject
* obj4
= 0 ;
5588 PyObject
* obj5
= 0 ;
5589 PyObject
* obj6
= 0 ;
5590 PyObject
* obj7
= 0 ;
5592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5599 arg2
= (int) SWIG_AsInt(obj1
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5605 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5611 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5616 if (! PySequence_Check(obj4
)) {
5617 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5620 arg5
= new wxArrayString
;
5622 int i
, len
=PySequence_Length(obj4
);
5623 for (i
=0; i
<len
; i
++) {
5624 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5626 PyObject
* str
= PyObject_Unicode(item
);
5628 PyObject
* str
= PyObject_Str(item
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5631 arg5
->Add(Py2wxString(str
));
5638 arg6
= (long) SWIG_AsLong(obj5
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5642 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5646 PyErr_SetString(PyExc_TypeError
,"null reference");
5652 arg8
= wxString_in_helper(obj7
);
5653 if (arg8
== NULL
) SWIG_fail
;
5658 if (!wxPyCheckForApp()) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5667 if (temp5
) delete arg5
;
5676 if (temp5
) delete arg5
;
5686 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5695 if (!wxPyCheckForApp()) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (wxListBox
*)new wxListBox();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5709 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxListBox
*arg1
= (wxListBox
*) 0 ;
5712 wxWindow
*arg2
= (wxWindow
*) 0 ;
5713 int arg3
= (int) -1 ;
5714 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5715 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5716 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5717 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5718 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5719 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5720 long arg7
= (long) 0 ;
5721 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5722 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5723 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5724 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5728 bool temp6
= False
;
5729 bool temp9
= False
;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5732 PyObject
* obj2
= 0 ;
5733 PyObject
* obj3
= 0 ;
5734 PyObject
* obj4
= 0 ;
5735 PyObject
* obj5
= 0 ;
5736 PyObject
* obj6
= 0 ;
5737 PyObject
* obj7
= 0 ;
5738 PyObject
* obj8
= 0 ;
5740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 arg3
= (int) SWIG_AsInt(obj2
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5766 if (! PySequence_Check(obj5
)) {
5767 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5770 arg6
= new wxArrayString
;
5772 int i
, len
=PySequence_Length(obj5
);
5773 for (i
=0; i
<len
; i
++) {
5774 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5776 PyObject
* str
= PyObject_Unicode(item
);
5778 PyObject
* str
= PyObject_Str(item
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5781 arg6
->Add(Py2wxString(str
));
5788 arg7
= (long) SWIG_AsLong(obj6
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5792 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5796 PyErr_SetString(PyExc_TypeError
,"null reference");
5802 arg9
= wxString_in_helper(obj8
);
5803 if (arg9
== NULL
) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5818 if (temp6
) delete arg6
;
5827 if (temp6
) delete arg6
;
5837 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxListBox
*arg1
= (wxListBox
*) 0 ;
5840 wxString
*arg2
= 0 ;
5842 PyObject
*arg4
= (PyObject
*) NULL
;
5843 bool temp2
= False
;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5846 PyObject
* obj2
= 0 ;
5847 PyObject
* obj3
= 0 ;
5849 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5856 arg2
= wxString_in_helper(obj1
);
5857 if (arg2
== NULL
) SWIG_fail
;
5860 arg3
= (int) SWIG_AsInt(obj2
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 Py_INCREF(Py_None
); resultobj
= Py_None
;
5887 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
*resultobj
;
5889 wxListBox
*arg1
= (wxListBox
*) 0 ;
5890 wxArrayString
*arg2
= 0 ;
5892 bool temp2
= False
;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5895 PyObject
* obj2
= 0 ;
5897 (char *) "self",(char *) "items",(char *) "pos", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5904 if (! PySequence_Check(obj1
)) {
5905 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5908 arg2
= new wxArrayString
;
5910 int i
, len
=PySequence_Length(obj1
);
5911 for (i
=0; i
<len
; i
++) {
5912 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5914 PyObject
* str
= PyObject_Unicode(item
);
5916 PyObject
* str
= PyObject_Str(item
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5919 arg2
->Add(Py2wxString(str
));
5924 arg3
= (int) SWIG_AsInt(obj2
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 Py_INCREF(Py_None
); resultobj
= Py_None
;
5935 if (temp2
) delete arg2
;
5940 if (temp2
) delete arg2
;
5946 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxListBox
*arg1
= (wxListBox
*) 0 ;
5949 wxArrayString
*arg2
= 0 ;
5950 bool temp2
= False
;
5951 PyObject
* obj0
= 0 ;
5952 PyObject
* obj1
= 0 ;
5954 (char *) "self",(char *) "items", NULL
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5961 if (! PySequence_Check(obj1
)) {
5962 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5965 arg2
= new wxArrayString
;
5967 int i
, len
=PySequence_Length(obj1
);
5968 for (i
=0; i
<len
; i
++) {
5969 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5971 PyObject
* str
= PyObject_Unicode(item
);
5973 PyObject
* str
= PyObject_Str(item
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5976 arg2
->Add(Py2wxString(str
));
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 (arg1
)->Set((wxArrayString
const &)*arg2
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 Py_INCREF(Py_None
); resultobj
= Py_None
;
5990 if (temp2
) delete arg2
;
5995 if (temp2
) delete arg2
;
6001 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxListBox
*arg1
= (wxListBox
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6009 (char *) "self",(char *) "n", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6015 arg2
= (int) SWIG_AsInt(obj1
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6033 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxListBox
*arg1
= (wxListBox
*) 0 ;
6037 bool arg3
= (bool) True
;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6040 PyObject
* obj2
= 0 ;
6042 (char *) "self",(char *) "n",(char *) "select", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6048 arg2
= (int) SWIG_AsInt(obj1
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 arg3
= (bool) SWIG_AsBool(obj2
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 (arg1
)->SetSelection(arg2
,arg3
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 Py_INCREF(Py_None
); resultobj
= Py_None
;
6068 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxListBox
*arg1
= (wxListBox
*) 0 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6075 (char *) "self",(char *) "n", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6081 arg2
= (int) SWIG_AsInt(obj1
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 (arg1
)->Select(arg2
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6090 Py_INCREF(Py_None
); resultobj
= Py_None
;
6097 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxListBox
*arg1
= (wxListBox
*) 0 ;
6101 PyObject
* obj0
= 0 ;
6102 PyObject
* obj1
= 0 ;
6104 (char *) "self",(char *) "n", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6110 arg2
= (int) SWIG_AsInt(obj1
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 (arg1
)->Deselect(arg2
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 Py_INCREF(Py_None
); resultobj
= Py_None
;
6126 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxListBox
*arg1
= (wxListBox
*) 0 ;
6129 int arg2
= (int) -1 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6133 (char *) "self",(char *) "itemToLeaveSelected", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6140 arg2
= (int) SWIG_AsInt(obj1
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 (arg1
)->DeselectAll(arg2
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 Py_INCREF(Py_None
); resultobj
= Py_None
;
6157 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxListBox
*arg1
= (wxListBox
*) 0 ;
6160 wxString
*arg2
= 0 ;
6161 bool arg3
= (bool) True
;
6163 bool temp2
= False
;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6166 PyObject
* obj2
= 0 ;
6168 (char *) "self",(char *) "s",(char *) "select", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6175 arg2
= wxString_in_helper(obj1
);
6176 if (arg2
== NULL
) SWIG_fail
;
6180 arg3
= (bool) SWIG_AsBool(obj2
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6207 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxListBox
*arg1
= (wxListBox
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6213 (char *) "self", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6233 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxListBox
*arg1
= (wxListBox
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6240 (char *) "self",(char *) "n", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6246 arg2
= (int) SWIG_AsInt(obj1
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 (arg1
)->SetFirstItem(arg2
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 Py_INCREF(Py_None
); resultobj
= Py_None
;
6262 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxListBox
*arg1
= (wxListBox
*) 0 ;
6265 wxString
*arg2
= 0 ;
6266 bool temp2
= False
;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6270 (char *) "self",(char *) "s", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 arg2
= wxString_in_helper(obj1
);
6278 if (arg2
== NULL
) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 Py_INCREF(Py_None
); resultobj
= Py_None
;
6303 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxListBox
*arg1
= (wxListBox
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6308 PyObject
* obj1
= 0 ;
6310 (char *) "self",(char *) "n", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6316 arg2
= (int) SWIG_AsInt(obj1
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 (arg1
)->EnsureVisible(arg2
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 Py_INCREF(Py_None
); resultobj
= Py_None
;
6332 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxListBox
*arg1
= (wxListBox
*) 0 ;
6335 wxString
*arg2
= 0 ;
6336 bool temp2
= False
;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6340 (char *) "self",(char *) "s", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6347 arg2
= wxString_in_helper(obj1
);
6348 if (arg2
== NULL
) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 Py_INCREF(Py_None
); resultobj
= Py_None
;
6373 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxListBox
*arg1
= (wxListBox
*) 0 ;
6377 PyObject
* obj0
= 0 ;
6379 (char *) "self", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6401 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxListBox
*arg1
= (wxListBox
*) 0 ;
6405 wxColour
*arg3
= 0 ;
6407 PyObject
* obj0
= 0 ;
6408 PyObject
* obj1
= 0 ;
6409 PyObject
* obj2
= 0 ;
6411 (char *) "self",(char *) "item",(char *) "c", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6417 arg2
= (int) SWIG_AsInt(obj1
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6421 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6430 Py_INCREF(Py_None
); resultobj
= Py_None
;
6437 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxListBox
*arg1
= (wxListBox
*) 0 ;
6441 wxColour
*arg3
= 0 ;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6445 PyObject
* obj2
= 0 ;
6447 (char *) "self",(char *) "item",(char *) "c", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6453 arg2
= (int) SWIG_AsInt(obj1
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 Py_INCREF(Py_None
); resultobj
= Py_None
;
6473 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxListBox
*arg1
= (wxListBox
*) 0 ;
6478 PyObject
* obj0
= 0 ;
6479 PyObject
* obj1
= 0 ;
6480 PyObject
* obj2
= 0 ;
6482 (char *) "self",(char *) "item",(char *) "f", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6488 arg2
= (int) SWIG_AsInt(obj1
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6490 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6494 PyErr_SetString(PyExc_TypeError
,"null reference");
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 Py_INCREF(Py_None
); resultobj
= Py_None
;
6511 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6514 wxVisualAttributes result
;
6515 PyObject
* obj0
= 0 ;
6517 (char *) "variant", NULL
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6522 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6526 if (!wxPyCheckForApp()) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6534 wxVisualAttributes
* resultptr
;
6535 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6544 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6547 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6549 return Py_BuildValue((char *)"");
6551 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxWindow
*arg1
= (wxWindow
*) 0 ;
6554 int arg2
= (int) -1 ;
6555 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6556 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6557 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6558 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6559 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6560 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6561 long arg6
= (long) 0 ;
6562 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6563 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6564 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6565 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6566 wxCheckListBox
*result
;
6569 bool temp5
= False
;
6570 bool temp8
= False
;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6573 PyObject
* obj2
= 0 ;
6574 PyObject
* obj3
= 0 ;
6575 PyObject
* obj4
= 0 ;
6576 PyObject
* obj5
= 0 ;
6577 PyObject
* obj6
= 0 ;
6578 PyObject
* obj7
= 0 ;
6580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 arg2
= (int) SWIG_AsInt(obj1
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6604 if (! PySequence_Check(obj4
)) {
6605 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6608 arg5
= new wxArrayString
;
6610 int i
, len
=PySequence_Length(obj4
);
6611 for (i
=0; i
<len
; i
++) {
6612 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6614 PyObject
* str
= PyObject_Unicode(item
);
6616 PyObject
* str
= PyObject_Str(item
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6619 arg5
->Add(Py2wxString(str
));
6626 arg6
= (long) SWIG_AsLong(obj5
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6634 PyErr_SetString(PyExc_TypeError
,"null reference");
6640 arg8
= wxString_in_helper(obj7
);
6641 if (arg8
== NULL
) SWIG_fail
;
6646 if (!wxPyCheckForApp()) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6655 if (temp5
) delete arg5
;
6664 if (temp5
) delete arg5
;
6674 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxCheckListBox
*result
;
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6683 if (!wxPyCheckForApp()) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= (wxCheckListBox
*)new wxCheckListBox();
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6697 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6700 wxWindow
*arg2
= (wxWindow
*) 0 ;
6701 int arg3
= (int) -1 ;
6702 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6703 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6704 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6705 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6706 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6707 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6708 long arg7
= (long) 0 ;
6709 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6710 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6711 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6712 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6716 bool temp6
= False
;
6717 bool temp9
= False
;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6720 PyObject
* obj2
= 0 ;
6721 PyObject
* obj3
= 0 ;
6722 PyObject
* obj4
= 0 ;
6723 PyObject
* obj5
= 0 ;
6724 PyObject
* obj6
= 0 ;
6725 PyObject
* obj7
= 0 ;
6726 PyObject
* obj8
= 0 ;
6728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6737 arg3
= (int) SWIG_AsInt(obj2
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6754 if (! PySequence_Check(obj5
)) {
6755 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6758 arg6
= new wxArrayString
;
6760 int i
, len
=PySequence_Length(obj5
);
6761 for (i
=0; i
<len
; i
++) {
6762 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6764 PyObject
* str
= PyObject_Unicode(item
);
6766 PyObject
* str
= PyObject_Str(item
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6769 arg6
->Add(Py2wxString(str
));
6776 arg7
= (long) SWIG_AsLong(obj6
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6780 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6784 PyErr_SetString(PyExc_TypeError
,"null reference");
6790 arg9
= wxString_in_helper(obj8
);
6791 if (arg9
== NULL
) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6806 if (temp6
) delete arg6
;
6815 if (temp6
) delete arg6
;
6825 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6833 (char *) "self",(char *) "index", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 arg2
= (int) SWIG_AsInt(obj1
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (bool)(arg1
)->IsChecked(arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6857 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6861 int arg3
= (int) True
;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 PyObject
* obj2
= 0 ;
6866 (char *) "self",(char *) "index",(char *) "check", NULL
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6872 arg2
= (int) SWIG_AsInt(obj1
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 arg3
= (int) SWIG_AsInt(obj2
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 (arg1
)->Check(arg2
,arg3
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 Py_INCREF(Py_None
); resultobj
= Py_None
;
6892 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6901 (char *) "self",(char *) "pt", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_FromInt((int)result
);
6925 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
;
6927 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6933 PyObject
* obj2
= 0 ;
6935 (char *) "self",(char *) "x",(char *) "y", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6941 arg2
= (int) SWIG_AsInt(obj1
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6943 arg3
= (int) SWIG_AsInt(obj2
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_FromInt((int)result
);
6959 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6962 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6964 return Py_BuildValue((char *)"");
6966 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6967 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6972 static PyObject
*_wrap_TextCtrlNameStr_get() {
6977 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6979 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6986 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxColour
const &arg1_defvalue
= wxNullColour
;
6989 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
6990 wxColour
const &arg2_defvalue
= wxNullColour
;
6991 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6992 wxFont
const &arg3_defvalue
= wxNullFont
;
6993 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6994 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7000 PyObject
* obj2
= 0 ;
7001 PyObject
* obj3
= 0 ;
7003 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7010 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7016 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7020 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7024 PyErr_SetString(PyExc_TypeError
,"null reference");
7029 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7046 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7051 (char *) "self", NULL
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 Py_INCREF(Py_None
); resultobj
= Py_None
;
7071 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
;
7073 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7076 (char *) "self", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 Py_INCREF(Py_None
); resultobj
= Py_None
;
7096 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7099 wxColour
*arg2
= 0 ;
7101 PyObject
* obj0
= 0 ;
7102 PyObject
* obj1
= 0 ;
7104 (char *) "self",(char *) "colText", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7112 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 Py_INCREF(Py_None
); resultobj
= Py_None
;
7128 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7131 wxColour
*arg2
= 0 ;
7133 PyObject
* obj0
= 0 ;
7134 PyObject
* obj1
= 0 ;
7136 (char *) "self",(char *) "colBack", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7144 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 Py_INCREF(Py_None
); resultobj
= Py_None
;
7160 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7164 long arg3
= (long) wxTEXT_ATTR_FONT
;
7165 PyObject
* obj0
= 0 ;
7166 PyObject
* obj1
= 0 ;
7167 PyObject
* obj2
= 0 ;
7169 (char *) "self",(char *) "font",(char *) "flags", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7179 PyErr_SetString(PyExc_TypeError
,"null reference");
7183 arg3
= (long) SWIG_AsLong(obj2
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 Py_INCREF(Py_None
); resultobj
= Py_None
;
7200 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7204 PyObject
* obj0
= 0 ;
7205 PyObject
* obj1
= 0 ;
7207 (char *) "self",(char *) "alignment", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7213 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 Py_INCREF(Py_None
); resultobj
= Py_None
;
7229 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7232 wxArrayInt
*arg2
= 0 ;
7233 bool temp2
= False
;
7234 PyObject
* obj0
= 0 ;
7235 PyObject
* obj1
= 0 ;
7237 (char *) "self",(char *) "tabs", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7244 if (! PySequence_Check(obj1
)) {
7245 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7248 arg2
= new wxArrayInt
;
7250 int i
, len
=PySequence_Length(obj1
);
7251 for (i
=0; i
<len
; i
++) {
7252 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7253 PyObject
* number
= PyNumber_Int(item
);
7254 arg2
->Add(PyInt_AS_LONG(number
));
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 Py_INCREF(Py_None
); resultobj
= Py_None
;
7268 if (temp2
) delete arg2
;
7273 if (temp2
) delete arg2
;
7279 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7283 int arg3
= (int) 0 ;
7284 PyObject
* obj0
= 0 ;
7285 PyObject
* obj1
= 0 ;
7286 PyObject
* obj2
= 0 ;
7288 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7294 arg2
= (int) SWIG_AsInt(obj1
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 arg3
= (int) SWIG_AsInt(obj2
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 (arg1
)->SetLeftIndent(arg2
,arg3
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 Py_INCREF(Py_None
); resultobj
= Py_None
;
7314 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7316 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7318 PyObject
* obj0
= 0 ;
7319 PyObject
* obj1
= 0 ;
7321 (char *) "self",(char *) "indent", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7327 arg2
= (int) SWIG_AsInt(obj1
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 (arg1
)->SetRightIndent(arg2
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 Py_INCREF(Py_None
); resultobj
= Py_None
;
7343 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
;
7345 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7347 PyObject
* obj0
= 0 ;
7348 PyObject
* obj1
= 0 ;
7350 (char *) "self",(char *) "flags", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7356 arg2
= (long) SWIG_AsLong(obj1
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 (arg1
)->SetFlags(arg2
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 Py_INCREF(Py_None
); resultobj
= Py_None
;
7372 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
;
7374 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7376 PyObject
* obj0
= 0 ;
7378 (char *) "self", NULL
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7400 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
;
7402 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7404 PyObject
* obj0
= 0 ;
7406 (char *) "self", NULL
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7428 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7432 PyObject
* obj0
= 0 ;
7434 (char *) "self", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7456 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7462 (char *) "self", NULL
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7484 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7488 PyObject
* obj0
= 0 ;
7490 (char *) "self", NULL
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7512 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7516 PyObject
* obj0
= 0 ;
7518 (char *) "self", NULL
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7540 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
*resultobj
;
7542 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7546 (char *) "self", NULL
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7568 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7576 (char *) "self",(char *) "flag", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7582 arg2
= (long) SWIG_AsLong(obj1
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7600 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
*resultobj
;
7602 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7604 PyObject
* obj0
= 0 ;
7606 (char *) "self", NULL
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7616 result
= (wxColour
*) &_result_ref
;
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7629 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7631 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7633 PyObject
* obj0
= 0 ;
7635 (char *) "self", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7645 result
= (wxColour
*) &_result_ref
;
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7658 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7664 (char *) "self", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7674 result
= (wxFont
*) &_result_ref
;
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7681 wxFont
* resultptr
= new wxFont(*result
);
7682 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7690 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7692 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7694 PyObject
* obj0
= 0 ;
7696 (char *) "self", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= SWIG_FromInt((int)result
);
7716 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "self", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7732 result
= (wxArrayInt
*) &_result_ref
;
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= PyList_New(0);
7741 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7742 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7743 PyList_Append(resultobj
, val
);
7753 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "self", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= SWIG_FromLong((long)result
);
7779 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= SWIG_FromLong((long)result
);
7805 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7811 (char *) "self", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 resultobj
= SWIG_FromLong((long)result
);
7831 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7837 (char *) "self", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= SWIG_FromLong((long)result
);
7857 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7861 PyObject
* obj0
= 0 ;
7863 (char *) "self", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7885 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7887 wxTextAttr
*arg1
= 0 ;
7888 wxTextAttr
*arg2
= 0 ;
7889 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7892 PyObject
* obj1
= 0 ;
7893 PyObject
* obj2
= 0 ;
7895 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7903 PyErr_SetString(PyExc_TypeError
,"null reference");
7906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7910 PyErr_SetString(PyExc_TypeError
,"null reference");
7913 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7923 wxTextAttr
* resultptr
;
7924 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7933 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7936 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7938 return Py_BuildValue((char *)"");
7940 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxWindow
*arg1
= (wxWindow
*) 0 ;
7943 int arg2
= (int) -1 ;
7944 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7945 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7946 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7947 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7948 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7949 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7950 long arg6
= (long) 0 ;
7951 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7952 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7953 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7954 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7956 bool temp3
= False
;
7959 bool temp8
= False
;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj1
= 0 ;
7962 PyObject
* obj2
= 0 ;
7963 PyObject
* obj3
= 0 ;
7964 PyObject
* obj4
= 0 ;
7965 PyObject
* obj5
= 0 ;
7966 PyObject
* obj6
= 0 ;
7967 PyObject
* obj7
= 0 ;
7969 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7976 arg2
= (int) SWIG_AsInt(obj1
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7981 arg3
= wxString_in_helper(obj2
);
7982 if (arg3
== NULL
) SWIG_fail
;
7989 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7995 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7999 arg6
= (long) SWIG_AsLong(obj5
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8003 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8007 PyErr_SetString(PyExc_TypeError
,"null reference");
8013 arg8
= wxString_in_helper(obj7
);
8014 if (arg8
== NULL
) SWIG_fail
;
8019 if (!wxPyCheckForApp()) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= wxPyMake_wxObject(result
, 1);
8051 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8060 if (!wxPyCheckForApp()) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 result
= (wxTextCtrl
*)new wxTextCtrl();
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8068 resultobj
= wxPyMake_wxObject(result
, 1);
8076 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8079 wxWindow
*arg2
= (wxWindow
*) 0 ;
8080 int arg3
= (int) -1 ;
8081 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8082 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8083 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8084 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8085 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8086 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8087 long arg7
= (long) 0 ;
8088 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8089 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8090 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8091 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8093 bool temp4
= False
;
8096 bool temp9
= False
;
8097 PyObject
* obj0
= 0 ;
8098 PyObject
* obj1
= 0 ;
8099 PyObject
* obj2
= 0 ;
8100 PyObject
* obj3
= 0 ;
8101 PyObject
* obj4
= 0 ;
8102 PyObject
* obj5
= 0 ;
8103 PyObject
* obj6
= 0 ;
8104 PyObject
* obj7
= 0 ;
8105 PyObject
* obj8
= 0 ;
8107 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8116 arg3
= (int) SWIG_AsInt(obj2
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8121 arg4
= wxString_in_helper(obj3
);
8122 if (arg4
== NULL
) SWIG_fail
;
8129 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8135 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8139 arg7
= (long) SWIG_AsLong(obj6
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8143 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8147 PyErr_SetString(PyExc_TypeError
,"null reference");
8153 arg9
= wxString_in_helper(obj8
);
8154 if (arg9
== NULL
) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8190 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
;
8192 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8196 (char *) "self", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8222 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
;
8224 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8225 wxString
*arg2
= 0 ;
8226 bool temp2
= False
;
8227 PyObject
* obj0
= 0 ;
8228 PyObject
* obj1
= 0 ;
8230 (char *) "self",(char *) "value", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8237 arg2
= wxString_in_helper(obj1
);
8238 if (arg2
== NULL
) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 (arg1
)->SetValue((wxString
const &)*arg2
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 Py_INCREF(Py_None
); resultobj
= Py_None
;
8263 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8271 PyObject
* obj2
= 0 ;
8273 (char *) "self",(char *) "from",(char *) "to", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8279 arg2
= (long) SWIG_AsLong(obj1
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8281 arg3
= (long) SWIG_AsLong(obj2
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8303 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8308 PyObject
* obj0
= 0 ;
8309 PyObject
* obj1
= 0 ;
8311 (char *) "self",(char *) "lineNo", NULL
8314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8317 arg2
= (long) SWIG_AsLong(obj1
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 resultobj
= SWIG_FromInt((int)result
);
8333 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
;
8335 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8341 (char *) "self",(char *) "lineNo", NULL
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8347 arg2
= (long) SWIG_AsLong(obj1
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8369 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
;
8371 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8373 PyObject
* obj0
= 0 ;
8375 (char *) "self", NULL
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= SWIG_FromInt((int)result
);
8395 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
;
8397 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8399 PyObject
* obj0
= 0 ;
8401 (char *) "self", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8423 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8427 PyObject
* obj0
= 0 ;
8429 (char *) "self", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8451 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8455 PyObject
* obj0
= 0 ;
8457 (char *) "self", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8479 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8483 PyObject
* obj0
= 0 ;
8485 (char *) "self", NULL
8488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8507 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8510 long *arg2
= (long *) 0 ;
8511 long *arg3
= (long *) 0 ;
8514 PyObject
* obj0
= 0 ;
8516 (char *) "self", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8531 Py_INCREF(Py_None
); resultobj
= Py_None
;
8533 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8534 resultobj
= t_output_helper(resultobj
,o
);
8537 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8538 resultobj
= t_output_helper(resultobj
,o
);
8546 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
;
8548 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8550 PyObject
* obj0
= 0 ;
8552 (char *) "self", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8578 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8581 PyObject
* obj0
= 0 ;
8583 (char *) "self", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 Py_INCREF(Py_None
); resultobj
= Py_None
;
8603 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8608 wxString
*arg4
= 0 ;
8609 bool temp4
= False
;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 PyObject
* obj2
= 0 ;
8613 PyObject
* obj3
= 0 ;
8615 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8621 arg2
= (long) SWIG_AsLong(obj1
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8623 arg3
= (long) SWIG_AsLong(obj2
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8626 arg4
= wxString_in_helper(obj3
);
8627 if (arg4
== NULL
) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 Py_INCREF(Py_None
); resultobj
= Py_None
;
8652 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8659 PyObject
* obj2
= 0 ;
8661 (char *) "self",(char *) "from",(char *) "to", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8667 arg2
= (long) SWIG_AsLong(obj1
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8669 arg3
= (long) SWIG_AsLong(obj2
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 (arg1
)->Remove(arg2
,arg3
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 Py_INCREF(Py_None
); resultobj
= Py_None
;
8685 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
*resultobj
;
8687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8688 wxString
*arg2
= 0 ;
8690 bool temp2
= False
;
8691 PyObject
* obj0
= 0 ;
8692 PyObject
* obj1
= 0 ;
8694 (char *) "self",(char *) "file", NULL
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8701 arg2
= wxString_in_helper(obj1
);
8702 if (arg2
== NULL
) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8729 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8732 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8733 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8735 bool temp2
= False
;
8736 PyObject
* obj0
= 0 ;
8737 PyObject
* obj1
= 0 ;
8739 (char *) "self",(char *) "file", NULL
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8747 arg2
= wxString_in_helper(obj1
);
8748 if (arg2
== NULL
) SWIG_fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8776 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
*resultobj
;
8778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8779 PyObject
* obj0
= 0 ;
8781 (char *) "self", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 (arg1
)->MarkDirty();
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 Py_INCREF(Py_None
); resultobj
= Py_None
;
8801 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
;
8803 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8804 PyObject
* obj0
= 0 ;
8806 (char *) "self", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 (arg1
)->DiscardEdits();
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 Py_INCREF(Py_None
); resultobj
= Py_None
;
8826 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8829 unsigned long arg2
;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8833 (char *) "self",(char *) "len", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8839 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 (arg1
)->SetMaxLength(arg2
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 Py_INCREF(Py_None
); resultobj
= Py_None
;
8855 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8858 wxString
*arg2
= 0 ;
8859 bool temp2
= False
;
8860 PyObject
* obj0
= 0 ;
8861 PyObject
* obj1
= 0 ;
8863 (char *) "self",(char *) "text", NULL
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8870 arg2
= wxString_in_helper(obj1
);
8871 if (arg2
== NULL
) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 (arg1
)->WriteText((wxString
const &)*arg2
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 Py_INCREF(Py_None
); resultobj
= Py_None
;
8896 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
;
8898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8899 wxString
*arg2
= 0 ;
8900 bool temp2
= False
;
8901 PyObject
* obj0
= 0 ;
8902 PyObject
* obj1
= 0 ;
8904 (char *) "self",(char *) "text", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8911 arg2
= wxString_in_helper(obj1
);
8912 if (arg2
== NULL
) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 (arg1
)->AppendText((wxString
const &)*arg2
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8922 Py_INCREF(Py_None
); resultobj
= Py_None
;
8937 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8939 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8940 wxKeyEvent
*arg2
= 0 ;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8945 (char *) "self",(char *) "event", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8955 PyErr_SetString(PyExc_TypeError
,"null reference");
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8974 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8979 wxTextAttr
*arg4
= 0 ;
8981 PyObject
* obj0
= 0 ;
8982 PyObject
* obj1
= 0 ;
8983 PyObject
* obj2
= 0 ;
8984 PyObject
* obj3
= 0 ;
8986 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8992 arg2
= (long) SWIG_AsLong(obj1
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8994 arg3
= (long) SWIG_AsLong(obj2
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8996 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9000 PyErr_SetString(PyExc_TypeError
,"null reference");
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9019 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9023 wxTextAttr
*arg3
= 0 ;
9025 PyObject
* obj0
= 0 ;
9026 PyObject
* obj1
= 0 ;
9027 PyObject
* obj2
= 0 ;
9029 (char *) "self",(char *) "position",(char *) "style", NULL
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9035 arg2
= (long) SWIG_AsLong(obj1
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9037 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9041 PyErr_SetString(PyExc_TypeError
,"null reference");
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9060 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9063 wxTextAttr
*arg2
= 0 ;
9065 PyObject
* obj0
= 0 ;
9066 PyObject
* obj1
= 0 ;
9068 (char *) "self",(char *) "style", NULL
9071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9078 PyErr_SetString(PyExc_TypeError
,"null reference");
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9097 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9101 PyObject
* obj0
= 0 ;
9103 (char *) "self", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9113 result
= (wxTextAttr
*) &_result_ref
;
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9126 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9133 PyObject
* obj1
= 0 ;
9134 PyObject
* obj2
= 0 ;
9136 (char *) "self",(char *) "x",(char *) "y", NULL
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9142 arg2
= (long) SWIG_AsLong(obj1
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9144 arg3
= (long) SWIG_AsLong(obj2
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_FromLong((long)result
);
9160 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
;
9162 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9164 long *arg3
= (long *) 0 ;
9165 long *arg4
= (long *) 0 ;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9171 (char *) "self",(char *) "pos", NULL
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9179 arg2
= (long) SWIG_AsLong(obj1
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 Py_INCREF(Py_None
); resultobj
= Py_None
;
9190 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9191 resultobj
= t_output_helper(resultobj
,o
);
9194 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9195 resultobj
= t_output_helper(resultobj
,o
);
9203 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9207 PyObject
* obj0
= 0 ;
9208 PyObject
* obj1
= 0 ;
9210 (char *) "self",(char *) "pos", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9216 arg2
= (long) SWIG_AsLong(obj1
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 (arg1
)->ShowPosition(arg2
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 Py_INCREF(Py_None
); resultobj
= Py_None
;
9232 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9236 long *arg3
= (long *) 0 ;
9237 long *arg4
= (long *) 0 ;
9242 PyObject
* obj0
= 0 ;
9243 PyObject
* obj1
= 0 ;
9245 (char *) "self",(char *) "pt", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9255 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_FromInt((int)result
);
9266 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9267 resultobj
= t_output_helper(resultobj
,o
);
9270 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9271 resultobj
= t_output_helper(resultobj
,o
);
9279 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9282 PyObject
* obj0
= 0 ;
9284 (char *) "self", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 Py_INCREF(Py_None
); resultobj
= Py_None
;
9304 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 Py_INCREF(Py_None
); resultobj
= Py_None
;
9329 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9332 PyObject
* obj0
= 0 ;
9334 (char *) "self", NULL
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 Py_INCREF(Py_None
); resultobj
= Py_None
;
9354 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9358 PyObject
* obj0
= 0 ;
9360 (char *) "self", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9382 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9386 PyObject
* obj0
= 0 ;
9388 (char *) "self", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9410 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9416 (char *) "self", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9438 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9441 PyObject
* obj0
= 0 ;
9443 (char *) "self", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 Py_INCREF(Py_None
); resultobj
= Py_None
;
9463 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9466 PyObject
* obj0
= 0 ;
9468 (char *) "self", NULL
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 Py_INCREF(Py_None
); resultobj
= Py_None
;
9488 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9494 (char *) "self", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9516 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9520 PyObject
* obj0
= 0 ;
9522 (char *) "self", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9544 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9551 (char *) "self",(char *) "pos", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9557 arg2
= (long) SWIG_AsLong(obj1
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 (arg1
)->SetInsertionPoint(arg2
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 Py_INCREF(Py_None
); resultobj
= Py_None
;
9573 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
;
9575 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9576 PyObject
* obj0
= 0 ;
9578 (char *) "self", NULL
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 (arg1
)->SetInsertionPointEnd();
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 Py_INCREF(Py_None
); resultobj
= Py_None
;
9598 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9602 PyObject
* obj0
= 0 ;
9604 (char *) "self", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= SWIG_FromLong((long)result
);
9624 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9630 (char *) "self", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= SWIG_FromLong((long)result
);
9650 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9657 PyObject
* obj2
= 0 ;
9659 (char *) "self",(char *) "from",(char *) "to", NULL
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9665 arg2
= (long) SWIG_AsLong(obj1
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9667 arg3
= (long) SWIG_AsLong(obj2
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 (arg1
)->SetSelection(arg2
,arg3
);
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 Py_INCREF(Py_None
); resultobj
= Py_None
;
9683 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9686 PyObject
* obj0
= 0 ;
9688 (char *) "self", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 (arg1
)->SelectAll();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 Py_INCREF(Py_None
); resultobj
= Py_None
;
9708 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9710 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9715 (char *) "self",(char *) "editable", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9721 arg2
= (bool) SWIG_AsBool(obj1
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 (arg1
)->SetEditable(arg2
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 Py_INCREF(Py_None
); resultobj
= Py_None
;
9737 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9740 wxString
*arg2
= 0 ;
9741 bool temp2
= False
;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj1
= 0 ;
9745 (char *) "self",(char *) "text", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9752 arg2
= wxString_in_helper(obj1
);
9753 if (arg2
== NULL
) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 Py_INCREF(Py_None
); resultobj
= Py_None
;
9778 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9784 PyObject
* obj0
= 0 ;
9785 PyObject
* obj1
= 0 ;
9786 PyObject
* obj2
= 0 ;
9788 (char *) "self",(char *) "from",(char *) "to", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 arg2
= (long) SWIG_AsLong(obj1
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9796 arg3
= (long) SWIG_AsLong(obj2
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9818 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9821 wxVisualAttributes result
;
9822 PyObject
* obj0
= 0 ;
9824 (char *) "variant", NULL
9827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9829 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9833 if (!wxPyCheckForApp()) SWIG_fail
;
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9841 wxVisualAttributes
* resultptr
;
9842 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9851 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9854 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9856 return Py_BuildValue((char *)"");
9858 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9861 wxMouseEvent
*arg2
= 0 ;
9864 wxTextUrlEvent
*result
;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9867 PyObject
* obj2
= 0 ;
9868 PyObject
* obj3
= 0 ;
9870 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9874 arg1
= (int) SWIG_AsInt(obj0
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9880 PyErr_SetString(PyExc_TypeError
,"null reference");
9883 arg3
= (long) SWIG_AsLong(obj2
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9885 arg4
= (long) SWIG_AsLong(obj3
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9901 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9904 wxMouseEvent
*result
;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9917 result
= (wxMouseEvent
*) &_result_ref
;
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9930 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9934 PyObject
* obj0
= 0 ;
9936 (char *) "self", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= SWIG_FromLong((long)result
);
9956 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9960 PyObject
* obj0
= 0 ;
9962 (char *) "self", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_FromLong((long)result
);
9982 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9985 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9987 return Py_BuildValue((char *)"");
9989 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9990 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9995 static PyObject
*_wrap_ScrollBarNameStr_get() {
10000 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10002 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10009 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxWindow
*arg1
= (wxWindow
*) 0 ;
10012 int arg2
= (int) -1 ;
10013 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10014 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10015 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10016 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10017 long arg5
= (long) wxSB_HORIZONTAL
;
10018 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10019 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10020 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10022 wxScrollBar
*result
;
10025 bool temp7
= False
;
10026 PyObject
* obj0
= 0 ;
10027 PyObject
* obj1
= 0 ;
10028 PyObject
* obj2
= 0 ;
10029 PyObject
* obj3
= 0 ;
10030 PyObject
* obj4
= 0 ;
10031 PyObject
* obj5
= 0 ;
10032 PyObject
* obj6
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10041 arg2
= (int) SWIG_AsInt(obj1
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10047 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10053 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10057 arg5
= (long) SWIG_AsLong(obj4
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10061 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10064 if (arg6
== NULL
) {
10065 PyErr_SetString(PyExc_TypeError
,"null reference");
10071 arg7
= wxString_in_helper(obj6
);
10072 if (arg7
== NULL
) SWIG_fail
;
10077 if (!wxPyCheckForApp()) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10099 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxScrollBar
*result
;
10102 char *kwnames
[] = {
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10108 if (!wxPyCheckForApp()) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 result
= (wxScrollBar
*)new wxScrollBar();
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10122 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10125 wxWindow
*arg2
= (wxWindow
*) 0 ;
10126 int arg3
= (int) -1 ;
10127 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10128 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10129 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10130 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10131 long arg6
= (long) wxSB_HORIZONTAL
;
10132 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10133 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10134 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10135 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10139 bool temp8
= False
;
10140 PyObject
* obj0
= 0 ;
10141 PyObject
* obj1
= 0 ;
10142 PyObject
* obj2
= 0 ;
10143 PyObject
* obj3
= 0 ;
10144 PyObject
* obj4
= 0 ;
10145 PyObject
* obj5
= 0 ;
10146 PyObject
* obj6
= 0 ;
10147 PyObject
* obj7
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10158 arg3
= (int) SWIG_AsInt(obj2
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10164 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10170 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10174 arg6
= (long) SWIG_AsLong(obj5
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10178 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10181 if (arg7
== NULL
) {
10182 PyErr_SetString(PyExc_TypeError
,"null reference");
10188 arg8
= wxString_in_helper(obj7
);
10189 if (arg8
== NULL
) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10217 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
;
10219 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10221 PyObject
* obj0
= 0 ;
10222 char *kwnames
[] = {
10223 (char *) "self", NULL
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_FromInt((int)result
);
10243 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= SWIG_FromInt((int)result
);
10269 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_FromInt((int)result
);
10295 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_FromInt((int)result
);
10321 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10349 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
;
10351 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self",(char *) "viewStart", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10362 arg2
= (int) SWIG_AsInt(obj1
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 (arg1
)->SetThumbPosition(arg2
);
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 Py_INCREF(Py_None
); resultobj
= Py_None
;
10378 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10385 bool arg6
= (bool) True
;
10386 PyObject
* obj0
= 0 ;
10387 PyObject
* obj1
= 0 ;
10388 PyObject
* obj2
= 0 ;
10389 PyObject
* obj3
= 0 ;
10390 PyObject
* obj4
= 0 ;
10391 PyObject
* obj5
= 0 ;
10392 char *kwnames
[] = {
10393 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 arg2
= (int) SWIG_AsInt(obj1
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10401 arg3
= (int) SWIG_AsInt(obj2
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10403 arg4
= (int) SWIG_AsInt(obj3
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10405 arg5
= (int) SWIG_AsInt(obj4
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 arg6
= (bool) SWIG_AsBool(obj5
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 Py_INCREF(Py_None
); resultobj
= Py_None
;
10425 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10428 wxVisualAttributes result
;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "variant", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10436 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10440 if (!wxPyCheckForApp()) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10448 wxVisualAttributes
* resultptr
;
10449 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10458 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10461 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10463 return Py_BuildValue((char *)"");
10465 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10466 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10471 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10476 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10478 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10485 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10486 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10491 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10496 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10498 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10505 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxWindow
*arg1
= (wxWindow
*) 0 ;
10508 int arg2
= (int) -1 ;
10509 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10510 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10511 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10512 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10513 long arg5
= (long) wxSP_HORIZONTAL
;
10514 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10515 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10516 wxSpinButton
*result
;
10519 bool temp6
= False
;
10520 PyObject
* obj0
= 0 ;
10521 PyObject
* obj1
= 0 ;
10522 PyObject
* obj2
= 0 ;
10523 PyObject
* obj3
= 0 ;
10524 PyObject
* obj4
= 0 ;
10525 PyObject
* obj5
= 0 ;
10526 char *kwnames
[] = {
10527 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10534 arg2
= (int) SWIG_AsInt(obj1
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10546 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10550 arg5
= (long) SWIG_AsLong(obj4
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10555 arg6
= wxString_in_helper(obj5
);
10556 if (arg6
== NULL
) SWIG_fail
;
10561 if (!wxPyCheckForApp()) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10583 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 wxSpinButton
*result
;
10586 char *kwnames
[] = {
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10592 if (!wxPyCheckForApp()) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 result
= (wxSpinButton
*)new wxSpinButton();
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10606 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10609 wxWindow
*arg2
= (wxWindow
*) 0 ;
10610 int arg3
= (int) -1 ;
10611 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10612 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10613 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10614 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10615 long arg6
= (long) wxSP_HORIZONTAL
;
10616 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10617 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10621 bool temp7
= False
;
10622 PyObject
* obj0
= 0 ;
10623 PyObject
* obj1
= 0 ;
10624 PyObject
* obj2
= 0 ;
10625 PyObject
* obj3
= 0 ;
10626 PyObject
* obj4
= 0 ;
10627 PyObject
* obj5
= 0 ;
10628 PyObject
* obj6
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10639 arg3
= (int) SWIG_AsInt(obj2
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10645 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10651 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10655 arg6
= (long) SWIG_AsLong(obj5
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10660 arg7
= wxString_in_helper(obj6
);
10661 if (arg7
== NULL
) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10689 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10691 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10693 PyObject
* obj0
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= SWIG_FromInt((int)result
);
10715 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
;
10717 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 char *kwnames
[] = {
10721 (char *) "self", NULL
10724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_FromInt((int)result
);
10741 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10743 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10745 PyObject
* obj0
= 0 ;
10746 char *kwnames
[] = {
10747 (char *) "self", NULL
10750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= SWIG_FromInt((int)result
);
10767 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
;
10769 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self",(char *) "val", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10780 arg2
= (int) SWIG_AsInt(obj1
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 (arg1
)->SetValue(arg2
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 Py_INCREF(Py_None
); resultobj
= Py_None
;
10796 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self",(char *) "minVal", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10809 arg2
= (int) SWIG_AsInt(obj1
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->SetMin(arg2
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 PyObject
* obj1
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self",(char *) "maxVal", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10838 arg2
= (int) SWIG_AsInt(obj1
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 (arg1
)->SetMax(arg2
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 Py_INCREF(Py_None
); resultobj
= Py_None
;
10854 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 PyObject
* obj2
= 0 ;
10862 char *kwnames
[] = {
10863 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10869 arg2
= (int) SWIG_AsInt(obj1
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10871 arg3
= (int) SWIG_AsInt(obj2
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 (arg1
)->SetRange(arg2
,arg3
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 Py_INCREF(Py_None
); resultobj
= Py_None
;
10887 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "self", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10915 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10918 wxVisualAttributes result
;
10919 PyObject
* obj0
= 0 ;
10920 char *kwnames
[] = {
10921 (char *) "variant", NULL
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10926 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10930 if (!wxPyCheckForApp()) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10938 wxVisualAttributes
* resultptr
;
10939 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10948 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10951 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10953 return Py_BuildValue((char *)"");
10955 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxWindow
*arg1
= (wxWindow
*) 0 ;
10958 int arg2
= (int) -1 ;
10959 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10960 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10965 long arg6
= (long) wxSP_ARROW_KEYS
;
10966 int arg7
= (int) 0 ;
10967 int arg8
= (int) 100 ;
10968 int arg9
= (int) 0 ;
10969 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10970 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10971 wxSpinCtrl
*result
;
10972 bool temp3
= False
;
10975 bool temp10
= False
;
10976 PyObject
* obj0
= 0 ;
10977 PyObject
* obj1
= 0 ;
10978 PyObject
* obj2
= 0 ;
10979 PyObject
* obj3
= 0 ;
10980 PyObject
* obj4
= 0 ;
10981 PyObject
* obj5
= 0 ;
10982 PyObject
* obj6
= 0 ;
10983 PyObject
* obj7
= 0 ;
10984 PyObject
* obj8
= 0 ;
10985 PyObject
* obj9
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10994 arg2
= (int) SWIG_AsInt(obj1
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10999 arg3
= wxString_in_helper(obj2
);
11000 if (arg3
== NULL
) SWIG_fail
;
11007 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11013 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11017 arg6
= (long) SWIG_AsLong(obj5
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11021 arg7
= (int) SWIG_AsInt(obj6
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11025 arg8
= (int) SWIG_AsInt(obj7
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11029 arg9
= (int) SWIG_AsInt(obj8
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11034 arg10
= wxString_in_helper(obj9
);
11035 if (arg10
== NULL
) SWIG_fail
;
11040 if (!wxPyCheckForApp()) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11070 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxSpinCtrl
*result
;
11073 char *kwnames
[] = {
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11079 if (!wxPyCheckForApp()) SWIG_fail
;
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11093 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11096 wxWindow
*arg2
= (wxWindow
*) 0 ;
11097 int arg3
= (int) -1 ;
11098 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11099 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11100 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11101 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11102 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11103 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11104 long arg7
= (long) wxSP_ARROW_KEYS
;
11105 int arg8
= (int) 0 ;
11106 int arg9
= (int) 100 ;
11107 int arg10
= (int) 0 ;
11108 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11109 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11111 bool temp4
= False
;
11114 bool temp11
= False
;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 PyObject
* obj2
= 0 ;
11118 PyObject
* obj3
= 0 ;
11119 PyObject
* obj4
= 0 ;
11120 PyObject
* obj5
= 0 ;
11121 PyObject
* obj6
= 0 ;
11122 PyObject
* obj7
= 0 ;
11123 PyObject
* obj8
= 0 ;
11124 PyObject
* obj9
= 0 ;
11125 PyObject
* obj10
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11136 arg3
= (int) SWIG_AsInt(obj2
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11141 arg4
= wxString_in_helper(obj3
);
11142 if (arg4
== NULL
) SWIG_fail
;
11149 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11155 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11159 arg7
= (long) SWIG_AsLong(obj6
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 arg8
= (int) SWIG_AsInt(obj7
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11167 arg9
= (int) SWIG_AsInt(obj8
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11171 arg10
= (int) SWIG_AsInt(obj9
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11176 arg11
= wxString_in_helper(obj10
);
11177 if (arg11
== NULL
) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11213 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= SWIG_FromInt((int)result
);
11239 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11243 PyObject
* obj0
= 0 ;
11244 PyObject
* obj1
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self",(char *) "value", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11252 arg2
= (int) SWIG_AsInt(obj1
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 (arg1
)->SetValue(arg2
);
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 Py_INCREF(Py_None
); resultobj
= Py_None
;
11268 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
;
11270 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11271 wxString
*arg2
= 0 ;
11272 bool temp2
= False
;
11273 PyObject
* obj0
= 0 ;
11274 PyObject
* obj1
= 0 ;
11275 char *kwnames
[] = {
11276 (char *) "self",(char *) "text", NULL
11279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11283 arg2
= wxString_in_helper(obj1
);
11284 if (arg2
== NULL
) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 (arg1
)->SetValue((wxString
const &)*arg2
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 Py_INCREF(Py_None
); resultobj
= Py_None
;
11309 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 PyObject
* obj1
= 0 ;
11316 PyObject
* obj2
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11324 arg2
= (int) SWIG_AsInt(obj1
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11326 arg3
= (int) SWIG_AsInt(obj2
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 (arg1
)->SetRange(arg2
,arg3
);
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 Py_INCREF(Py_None
); resultobj
= Py_None
;
11342 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
*resultobj
;
11344 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11346 PyObject
* obj0
= 0 ;
11347 char *kwnames
[] = {
11348 (char *) "self", NULL
11351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 resultobj
= SWIG_FromInt((int)result
);
11368 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
;
11370 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 resultobj
= SWIG_FromInt((int)result
);
11394 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 PyObject
* obj2
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "self",(char *) "from",(char *) "to", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11409 arg2
= (long) SWIG_AsLong(obj1
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11411 arg3
= (long) SWIG_AsLong(obj2
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 (arg1
)->SetSelection(arg2
,arg3
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 Py_INCREF(Py_None
); resultobj
= Py_None
;
11427 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11430 wxVisualAttributes result
;
11431 PyObject
* obj0
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "variant", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11438 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11442 if (!wxPyCheckForApp()) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11450 wxVisualAttributes
* resultptr
;
11451 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11460 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11463 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11465 return Py_BuildValue((char *)"");
11467 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11470 int arg2
= (int) 0 ;
11471 wxSpinEvent
*result
;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "commandType",(char *) "winid", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11480 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11484 arg2
= (int) SWIG_AsInt(obj1
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11501 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11505 PyObject
* obj0
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= SWIG_FromInt((int)result
);
11527 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11531 PyObject
* obj0
= 0 ;
11532 PyObject
* obj1
= 0 ;
11533 char *kwnames
[] = {
11534 (char *) "self",(char *) "pos", NULL
11537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11540 arg2
= (int) SWIG_AsInt(obj1
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 (arg1
)->SetPosition(arg2
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 Py_INCREF(Py_None
); resultobj
= Py_None
;
11556 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11559 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11561 return Py_BuildValue((char *)"");
11563 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11564 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11569 static PyObject
*_wrap_RadioBoxNameStr_get() {
11574 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11576 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11583 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11584 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11589 static PyObject
*_wrap_RadioButtonNameStr_get() {
11594 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11596 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11603 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
;
11605 wxWindow
*arg1
= (wxWindow
*) 0 ;
11606 int arg2
= (int) -1 ;
11607 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11608 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11609 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11610 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11611 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11612 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11613 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11614 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11615 int arg7
= (int) 0 ;
11616 long arg8
= (long) wxRA_HORIZONTAL
;
11617 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11618 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11619 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11620 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11621 wxRadioBox
*result
;
11622 bool temp3
= False
;
11625 bool temp6
= False
;
11626 bool temp10
= False
;
11627 PyObject
* obj0
= 0 ;
11628 PyObject
* obj1
= 0 ;
11629 PyObject
* obj2
= 0 ;
11630 PyObject
* obj3
= 0 ;
11631 PyObject
* obj4
= 0 ;
11632 PyObject
* obj5
= 0 ;
11633 PyObject
* obj6
= 0 ;
11634 PyObject
* obj7
= 0 ;
11635 PyObject
* obj8
= 0 ;
11636 PyObject
* obj9
= 0 ;
11637 char *kwnames
[] = {
11638 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11645 arg2
= (int) SWIG_AsInt(obj1
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11650 arg3
= wxString_in_helper(obj2
);
11651 if (arg3
== NULL
) SWIG_fail
;
11658 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11664 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11669 if (! PySequence_Check(obj5
)) {
11670 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11673 arg6
= new wxArrayString
;
11675 int i
, len
=PySequence_Length(obj5
);
11676 for (i
=0; i
<len
; i
++) {
11677 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11679 PyObject
* str
= PyObject_Unicode(item
);
11681 PyObject
* str
= PyObject_Str(item
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11684 arg6
->Add(Py2wxString(str
));
11691 arg7
= (int) SWIG_AsInt(obj6
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11695 arg8
= (long) SWIG_AsLong(obj7
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11699 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11702 if (arg9
== NULL
) {
11703 PyErr_SetString(PyExc_TypeError
,"null reference");
11709 arg10
= wxString_in_helper(obj9
);
11710 if (arg10
== NULL
) SWIG_fail
;
11715 if (!wxPyCheckForApp()) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 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
);
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11728 if (temp6
) delete arg6
;
11741 if (temp6
) delete arg6
;
11751 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxRadioBox
*result
;
11754 char *kwnames
[] = {
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11760 if (!wxPyCheckForApp()) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 result
= (wxRadioBox
*)new wxRadioBox();
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11774 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11775 PyObject
*resultobj
;
11776 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11777 wxWindow
*arg2
= (wxWindow
*) 0 ;
11778 int arg3
= (int) -1 ;
11779 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11780 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11781 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11782 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11783 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11784 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11785 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11786 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11787 int arg8
= (int) 0 ;
11788 long arg9
= (long) wxRA_HORIZONTAL
;
11789 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11790 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11791 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11792 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11794 bool temp4
= False
;
11797 bool temp7
= False
;
11798 bool temp11
= False
;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 PyObject
* obj2
= 0 ;
11802 PyObject
* obj3
= 0 ;
11803 PyObject
* obj4
= 0 ;
11804 PyObject
* obj5
= 0 ;
11805 PyObject
* obj6
= 0 ;
11806 PyObject
* obj7
= 0 ;
11807 PyObject
* obj8
= 0 ;
11808 PyObject
* obj9
= 0 ;
11809 PyObject
* obj10
= 0 ;
11810 char *kwnames
[] = {
11811 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11820 arg3
= (int) SWIG_AsInt(obj2
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11825 arg4
= wxString_in_helper(obj3
);
11826 if (arg4
== NULL
) SWIG_fail
;
11833 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11839 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11844 if (! PySequence_Check(obj6
)) {
11845 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11848 arg7
= new wxArrayString
;
11850 int i
, len
=PySequence_Length(obj6
);
11851 for (i
=0; i
<len
; i
++) {
11852 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11854 PyObject
* str
= PyObject_Unicode(item
);
11856 PyObject
* str
= PyObject_Str(item
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11859 arg7
->Add(Py2wxString(str
));
11866 arg8
= (int) SWIG_AsInt(obj7
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11870 arg9
= (long) SWIG_AsLong(obj8
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11874 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11877 if (arg10
== NULL
) {
11878 PyErr_SetString(PyExc_TypeError
,"null reference");
11884 arg11
= wxString_in_helper(obj10
);
11885 if (arg11
== NULL
) SWIG_fail
;
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 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
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11904 if (temp7
) delete arg7
;
11917 if (temp7
) delete arg7
;
11927 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11931 PyObject
* obj0
= 0 ;
11932 PyObject
* obj1
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self",(char *) "n", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11940 arg2
= (int) SWIG_AsInt(obj1
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 (arg1
)->SetSelection(arg2
);
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11949 Py_INCREF(Py_None
); resultobj
= Py_None
;
11956 static PyObject
*_wrap_RadioBox_GetSelection(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_GetSelection",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
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= SWIG_FromInt((int)result
);
11982 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12014 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12017 wxString
*arg2
= 0 ;
12019 bool temp2
= False
;
12020 PyObject
* obj0
= 0 ;
12021 PyObject
* obj1
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self",(char *) "s", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12030 arg2
= wxString_in_helper(obj1
);
12031 if (arg2
== NULL
) SWIG_fail
;
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12058 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= SWIG_FromInt((int)result
);
12084 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12087 wxString
*arg2
= 0 ;
12089 bool temp2
= False
;
12090 PyObject
* obj0
= 0 ;
12091 PyObject
* obj1
= 0 ;
12092 char *kwnames
[] = {
12093 (char *) "self",(char *) "s", NULL
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12100 arg2
= wxString_in_helper(obj1
);
12101 if (arg2
== NULL
) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_FromInt((int)result
);
12126 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12131 PyObject
* obj0
= 0 ;
12132 PyObject
* obj1
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "self",(char *) "n", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12140 arg2
= (int) SWIG_AsInt(obj1
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12162 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
;
12164 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12166 wxString
*arg3
= 0 ;
12167 bool temp3
= False
;
12168 PyObject
* obj0
= 0 ;
12169 PyObject
* obj1
= 0 ;
12170 PyObject
* obj2
= 0 ;
12171 char *kwnames
[] = {
12172 (char *) "self",(char *) "n",(char *) "label", NULL
12175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12178 arg2
= (int) SWIG_AsInt(obj1
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12181 arg3
= wxString_in_helper(obj2
);
12182 if (arg3
== NULL
) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 Py_INCREF(Py_None
); resultobj
= Py_None
;
12207 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12211 bool arg3
= (bool) True
;
12212 PyObject
* obj0
= 0 ;
12213 PyObject
* obj1
= 0 ;
12214 PyObject
* obj2
= 0 ;
12215 char *kwnames
[] = {
12216 (char *) "self",(char *) "n",(char *) "enable", NULL
12219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12222 arg2
= (int) SWIG_AsInt(obj1
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 arg3
= (bool) SWIG_AsBool(obj2
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 (arg1
)->Enable(arg2
,arg3
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 Py_INCREF(Py_None
); resultobj
= Py_None
;
12242 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12244 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12246 bool arg3
= (bool) True
;
12247 PyObject
* obj0
= 0 ;
12248 PyObject
* obj1
= 0 ;
12249 PyObject
* obj2
= 0 ;
12250 char *kwnames
[] = {
12251 (char *) "self",(char *) "n",(char *) "show", NULL
12254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12257 arg2
= (int) SWIG_AsInt(obj1
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12260 arg3
= (bool) SWIG_AsBool(obj2
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 (arg1
)->Show(arg2
,arg3
);
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 Py_INCREF(Py_None
); resultobj
= Py_None
;
12277 static PyObject
*_wrap_RadioBox_GetColumnCount(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_GetColumnCount",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
)->GetColumnCount();
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= SWIG_FromInt((int)result
);
12303 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_FromInt((int)result
);
12329 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 PyObject
* obj1
= 0 ;
12338 PyObject
* obj2
= 0 ;
12339 PyObject
* obj3
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12347 arg2
= (int) SWIG_AsInt(obj1
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12349 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12351 arg4
= (long) SWIG_AsLong(obj3
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_FromInt((int)result
);
12367 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12370 wxVisualAttributes result
;
12371 PyObject
* obj0
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "variant", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12378 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12382 if (!wxPyCheckForApp()) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12390 wxVisualAttributes
* resultptr
;
12391 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12400 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12403 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12405 return Py_BuildValue((char *)"");
12407 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxWindow
*arg1
= (wxWindow
*) 0 ;
12410 int arg2
= (int) -1 ;
12411 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12412 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12413 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12414 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12415 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12416 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12417 long arg6
= (long) 0 ;
12418 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12419 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12420 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12421 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12422 wxRadioButton
*result
;
12423 bool temp3
= False
;
12426 bool temp8
= False
;
12427 PyObject
* obj0
= 0 ;
12428 PyObject
* obj1
= 0 ;
12429 PyObject
* obj2
= 0 ;
12430 PyObject
* obj3
= 0 ;
12431 PyObject
* obj4
= 0 ;
12432 PyObject
* obj5
= 0 ;
12433 PyObject
* obj6
= 0 ;
12434 PyObject
* obj7
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12443 arg2
= (int) SWIG_AsInt(obj1
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12448 arg3
= wxString_in_helper(obj2
);
12449 if (arg3
== NULL
) SWIG_fail
;
12456 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12462 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12466 arg6
= (long) SWIG_AsLong(obj5
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12473 if (arg7
== NULL
) {
12474 PyErr_SetString(PyExc_TypeError
,"null reference");
12480 arg8
= wxString_in_helper(obj7
);
12481 if (arg8
== NULL
) SWIG_fail
;
12486 if (!wxPyCheckForApp()) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12516 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxRadioButton
*result
;
12519 char *kwnames
[] = {
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12525 if (!wxPyCheckForApp()) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 result
= (wxRadioButton
*)new wxRadioButton();
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12539 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12542 wxWindow
*arg2
= (wxWindow
*) 0 ;
12543 int arg3
= (int) -1 ;
12544 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12545 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12546 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12547 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12548 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12549 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12550 long arg7
= (long) 0 ;
12551 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12552 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12553 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12554 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12556 bool temp4
= False
;
12559 bool temp9
= False
;
12560 PyObject
* obj0
= 0 ;
12561 PyObject
* obj1
= 0 ;
12562 PyObject
* obj2
= 0 ;
12563 PyObject
* obj3
= 0 ;
12564 PyObject
* obj4
= 0 ;
12565 PyObject
* obj5
= 0 ;
12566 PyObject
* obj6
= 0 ;
12567 PyObject
* obj7
= 0 ;
12568 PyObject
* obj8
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12579 arg3
= (int) SWIG_AsInt(obj2
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12584 arg4
= wxString_in_helper(obj3
);
12585 if (arg4
== NULL
) SWIG_fail
;
12592 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12598 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12602 arg7
= (long) SWIG_AsLong(obj6
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12606 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12609 if (arg8
== NULL
) {
12610 PyErr_SetString(PyExc_TypeError
,"null reference");
12616 arg9
= wxString_in_helper(obj8
);
12617 if (arg9
== NULL
) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12653 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12657 PyObject
* obj0
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "self", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= (bool)(arg1
)->GetValue();
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12681 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12685 PyObject
* obj0
= 0 ;
12686 PyObject
* obj1
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self",(char *) "value", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12694 arg2
= (bool) SWIG_AsBool(obj1
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 (arg1
)->SetValue(arg2
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 Py_INCREF(Py_None
); resultobj
= Py_None
;
12710 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12713 wxVisualAttributes result
;
12714 PyObject
* obj0
= 0 ;
12715 char *kwnames
[] = {
12716 (char *) "variant", NULL
12719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12721 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12725 if (!wxPyCheckForApp()) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12733 wxVisualAttributes
* resultptr
;
12734 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12743 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12746 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12748 return Py_BuildValue((char *)"");
12750 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12751 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12756 static PyObject
*_wrap_SliderNameStr_get() {
12761 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12763 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12770 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
*resultobj
;
12772 wxWindow
*arg1
= (wxWindow
*) 0 ;
12773 int arg2
= (int) -1 ;
12774 int arg3
= (int) 0 ;
12775 int arg4
= (int) 0 ;
12776 int arg5
= (int) 100 ;
12777 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12778 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12779 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12780 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12781 long arg8
= (long) wxSL_HORIZONTAL
;
12782 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12783 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12784 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12785 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12789 bool temp10
= False
;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 PyObject
* obj2
= 0 ;
12793 PyObject
* obj3
= 0 ;
12794 PyObject
* obj4
= 0 ;
12795 PyObject
* obj5
= 0 ;
12796 PyObject
* obj6
= 0 ;
12797 PyObject
* obj7
= 0 ;
12798 PyObject
* obj8
= 0 ;
12799 PyObject
* obj9
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12808 arg2
= (int) SWIG_AsInt(obj1
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12812 arg3
= (int) SWIG_AsInt(obj2
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12816 arg4
= (int) SWIG_AsInt(obj3
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12820 arg5
= (int) SWIG_AsInt(obj4
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12826 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12832 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12836 arg8
= (long) SWIG_AsLong(obj7
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12840 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12843 if (arg9
== NULL
) {
12844 PyErr_SetString(PyExc_TypeError
,"null reference");
12850 arg10
= wxString_in_helper(obj9
);
12851 if (arg10
== NULL
) SWIG_fail
;
12856 if (!wxPyCheckForApp()) SWIG_fail
;
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12858 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12860 wxPyEndAllowThreads(__tstate
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12878 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12879 PyObject
*resultobj
;
12881 char *kwnames
[] = {
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12887 if (!wxPyCheckForApp()) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 result
= (wxSlider
*)new wxSlider();
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12901 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxSlider
*arg1
= (wxSlider
*) 0 ;
12904 wxWindow
*arg2
= (wxWindow
*) 0 ;
12905 int arg3
= (int) -1 ;
12906 int arg4
= (int) 0 ;
12907 int arg5
= (int) 0 ;
12908 int arg6
= (int) 100 ;
12909 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12910 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12911 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12912 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12913 long arg9
= (long) wxSL_HORIZONTAL
;
12914 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12915 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12916 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12917 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12921 bool temp11
= False
;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 PyObject
* obj2
= 0 ;
12925 PyObject
* obj3
= 0 ;
12926 PyObject
* obj4
= 0 ;
12927 PyObject
* obj5
= 0 ;
12928 PyObject
* obj6
= 0 ;
12929 PyObject
* obj7
= 0 ;
12930 PyObject
* obj8
= 0 ;
12931 PyObject
* obj9
= 0 ;
12932 PyObject
* obj10
= 0 ;
12933 char *kwnames
[] = {
12934 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12943 arg3
= (int) SWIG_AsInt(obj2
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 arg4
= (int) SWIG_AsInt(obj3
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12951 arg5
= (int) SWIG_AsInt(obj4
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12955 arg6
= (int) SWIG_AsInt(obj5
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12961 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12967 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12971 arg9
= (long) SWIG_AsLong(obj8
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12978 if (arg10
== NULL
) {
12979 PyErr_SetString(PyExc_TypeError
,"null reference");
12985 arg11
= wxString_in_helper(obj10
);
12986 if (arg11
== NULL
) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13014 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
;
13016 wxSlider
*arg1
= (wxSlider
*) 0 ;
13018 PyObject
* obj0
= 0 ;
13019 char *kwnames
[] = {
13020 (char *) "self", NULL
13023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= SWIG_FromInt((int)result
);
13040 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxSlider
*arg1
= (wxSlider
*) 0 ;
13044 PyObject
* obj0
= 0 ;
13045 PyObject
* obj1
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self",(char *) "value", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13053 arg2
= (int) SWIG_AsInt(obj1
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 (arg1
)->SetValue(arg2
);
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13062 Py_INCREF(Py_None
); resultobj
= Py_None
;
13069 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
;
13071 wxSlider
*arg1
= (wxSlider
*) 0 ;
13074 PyObject
* obj0
= 0 ;
13075 PyObject
* obj1
= 0 ;
13076 PyObject
* obj2
= 0 ;
13077 char *kwnames
[] = {
13078 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13084 arg2
= (int) SWIG_AsInt(obj1
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13086 arg3
= (int) SWIG_AsInt(obj2
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 (arg1
)->SetRange(arg2
,arg3
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 Py_INCREF(Py_None
); resultobj
= Py_None
;
13102 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxSlider
*arg1
= (wxSlider
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= SWIG_FromInt((int)result
);
13128 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
;
13130 wxSlider
*arg1
= (wxSlider
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 char *kwnames
[] = {
13134 (char *) "self", NULL
13137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= SWIG_FromInt((int)result
);
13154 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxSlider
*arg1
= (wxSlider
*) 0 ;
13158 PyObject
* obj0
= 0 ;
13159 PyObject
* obj1
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self",(char *) "minValue", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13167 arg2
= (int) SWIG_AsInt(obj1
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 (arg1
)->SetMin(arg2
);
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 Py_INCREF(Py_None
); resultobj
= Py_None
;
13183 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
;
13185 wxSlider
*arg1
= (wxSlider
*) 0 ;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self",(char *) "maxValue", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13196 arg2
= (int) SWIG_AsInt(obj1
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 (arg1
)->SetMax(arg2
);
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 Py_INCREF(Py_None
); resultobj
= Py_None
;
13212 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
;
13214 wxSlider
*arg1
= (wxSlider
*) 0 ;
13216 PyObject
* obj0
= 0 ;
13217 PyObject
* obj1
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self",(char *) "lineSize", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13225 arg2
= (int) SWIG_AsInt(obj1
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 (arg1
)->SetLineSize(arg2
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 Py_INCREF(Py_None
); resultobj
= Py_None
;
13241 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxSlider
*arg1
= (wxSlider
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 PyObject
* obj1
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self",(char *) "pageSize", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 arg2
= (int) SWIG_AsInt(obj1
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 (arg1
)->SetPageSize(arg2
);
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 Py_INCREF(Py_None
); resultobj
= Py_None
;
13270 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxSlider
*arg1
= (wxSlider
*) 0 ;
13274 PyObject
* obj0
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 resultobj
= SWIG_FromInt((int)result
);
13296 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxSlider
*arg1
= (wxSlider
*) 0 ;
13300 PyObject
* obj0
= 0 ;
13301 char *kwnames
[] = {
13302 (char *) "self", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_FromInt((int)result
);
13322 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxSlider
*arg1
= (wxSlider
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 PyObject
* obj1
= 0 ;
13328 char *kwnames
[] = {
13329 (char *) "self",(char *) "lenPixels", NULL
13332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13335 arg2
= (int) SWIG_AsInt(obj1
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 (arg1
)->SetThumbLength(arg2
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxSlider
*arg1
= (wxSlider
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 char *kwnames
[] = {
13357 (char *) "self", NULL
13360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_FromInt((int)result
);
13377 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxSlider
*arg1
= (wxSlider
*) 0 ;
13381 int arg3
= (int) 1 ;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 PyObject
* obj2
= 0 ;
13385 char *kwnames
[] = {
13386 (char *) "self",(char *) "n",(char *) "pos", NULL
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13392 arg2
= (int) SWIG_AsInt(obj1
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 arg3
= (int) SWIG_AsInt(obj2
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 (arg1
)->SetTickFreq(arg2
,arg3
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 Py_INCREF(Py_None
); resultobj
= Py_None
;
13412 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxSlider
*arg1
= (wxSlider
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_FromInt((int)result
);
13438 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxSlider
*arg1
= (wxSlider
*) 0 ;
13441 PyObject
* obj0
= 0 ;
13442 char *kwnames
[] = {
13443 (char *) "self", NULL
13446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 (arg1
)->ClearTicks();
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13456 Py_INCREF(Py_None
); resultobj
= Py_None
;
13463 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
*resultobj
;
13465 wxSlider
*arg1
= (wxSlider
*) 0 ;
13467 PyObject
* obj0
= 0 ;
13468 PyObject
* obj1
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self",(char *) "tickPos", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13476 arg2
= (int) SWIG_AsInt(obj1
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 (arg1
)->SetTick(arg2
);
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 Py_INCREF(Py_None
); resultobj
= Py_None
;
13492 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxSlider
*arg1
= (wxSlider
*) 0 ;
13495 PyObject
* obj0
= 0 ;
13496 char *kwnames
[] = {
13497 (char *) "self", NULL
13500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",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 (arg1
)->ClearSel();
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13510 Py_INCREF(Py_None
); resultobj
= Py_None
;
13517 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13518 PyObject
*resultobj
;
13519 wxSlider
*arg1
= (wxSlider
*) 0 ;
13521 PyObject
* obj0
= 0 ;
13522 char *kwnames
[] = {
13523 (char *) "self", NULL
13526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= SWIG_FromInt((int)result
);
13543 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13544 PyObject
*resultobj
;
13545 wxSlider
*arg1
= (wxSlider
*) 0 ;
13547 PyObject
* obj0
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13562 resultobj
= SWIG_FromInt((int)result
);
13569 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
;
13571 wxSlider
*arg1
= (wxSlider
*) 0 ;
13574 PyObject
* obj0
= 0 ;
13575 PyObject
* obj1
= 0 ;
13576 PyObject
* obj2
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "self",(char *) "min",(char *) "max", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13584 arg2
= (int) SWIG_AsInt(obj1
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13586 arg3
= (int) SWIG_AsInt(obj2
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 (arg1
)->SetSelection(arg2
,arg3
);
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13595 Py_INCREF(Py_None
); resultobj
= Py_None
;
13602 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
;
13604 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13605 wxVisualAttributes result
;
13606 PyObject
* obj0
= 0 ;
13607 char *kwnames
[] = {
13608 (char *) "variant", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13613 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13617 if (!wxPyCheckForApp()) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13625 wxVisualAttributes
* resultptr
;
13626 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13635 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13638 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13640 return Py_BuildValue((char *)"");
13642 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13643 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13648 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13653 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13655 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13662 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxWindow
*arg1
= (wxWindow
*) 0 ;
13665 int arg2
= (int) -1 ;
13666 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13667 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13668 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13669 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13670 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13671 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13672 long arg6
= (long) 0 ;
13673 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13674 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13675 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13676 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13677 wxToggleButton
*result
;
13678 bool temp3
= False
;
13681 bool temp8
= False
;
13682 PyObject
* obj0
= 0 ;
13683 PyObject
* obj1
= 0 ;
13684 PyObject
* obj2
= 0 ;
13685 PyObject
* obj3
= 0 ;
13686 PyObject
* obj4
= 0 ;
13687 PyObject
* obj5
= 0 ;
13688 PyObject
* obj6
= 0 ;
13689 PyObject
* obj7
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13698 arg2
= (int) SWIG_AsInt(obj1
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13703 arg3
= wxString_in_helper(obj2
);
13704 if (arg3
== NULL
) SWIG_fail
;
13711 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13717 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13721 arg6
= (long) SWIG_AsLong(obj5
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13725 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13728 if (arg7
== NULL
) {
13729 PyErr_SetString(PyExc_TypeError
,"null reference");
13735 arg8
= wxString_in_helper(obj7
);
13736 if (arg8
== NULL
) SWIG_fail
;
13741 if (!wxPyCheckForApp()) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13771 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxToggleButton
*result
;
13774 char *kwnames
[] = {
13778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13780 if (!wxPyCheckForApp()) SWIG_fail
;
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 result
= (wxToggleButton
*)new wxToggleButton();
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13794 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
;
13796 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13797 wxWindow
*arg2
= (wxWindow
*) 0 ;
13798 int arg3
= (int) -1 ;
13799 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13800 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13801 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13802 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13803 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13804 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13805 long arg7
= (long) 0 ;
13806 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13807 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13808 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13809 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13811 bool temp4
= False
;
13814 bool temp9
= False
;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 PyObject
* obj2
= 0 ;
13818 PyObject
* obj3
= 0 ;
13819 PyObject
* obj4
= 0 ;
13820 PyObject
* obj5
= 0 ;
13821 PyObject
* obj6
= 0 ;
13822 PyObject
* obj7
= 0 ;
13823 PyObject
* obj8
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13834 arg3
= (int) SWIG_AsInt(obj2
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13839 arg4
= wxString_in_helper(obj3
);
13840 if (arg4
== NULL
) SWIG_fail
;
13847 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13853 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13857 arg7
= (long) SWIG_AsLong(obj6
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13861 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13864 if (arg8
== NULL
) {
13865 PyErr_SetString(PyExc_TypeError
,"null reference");
13871 arg9
= wxString_in_helper(obj8
);
13872 if (arg9
== NULL
) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13908 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
;
13910 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 PyObject
* obj1
= 0 ;
13914 char *kwnames
[] = {
13915 (char *) "self",(char *) "value", NULL
13918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13921 arg2
= (bool) SWIG_AsBool(obj1
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 (arg1
)->SetValue(arg2
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 Py_INCREF(Py_None
); resultobj
= Py_None
;
13937 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13941 PyObject
* obj0
= 0 ;
13942 char *kwnames
[] = {
13943 (char *) "self", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13965 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13968 wxString
*arg2
= 0 ;
13969 bool temp2
= False
;
13970 PyObject
* obj0
= 0 ;
13971 PyObject
* obj1
= 0 ;
13972 char *kwnames
[] = {
13973 (char *) "self",(char *) "label", NULL
13976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13980 arg2
= wxString_in_helper(obj1
);
13981 if (arg2
== NULL
) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 (arg1
)->SetLabel((wxString
const &)*arg2
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 Py_INCREF(Py_None
); resultobj
= Py_None
;
14006 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14009 wxVisualAttributes result
;
14010 PyObject
* obj0
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "variant", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14017 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14021 if (!wxPyCheckForApp()) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14029 wxVisualAttributes
* resultptr
;
14030 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14039 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14042 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14044 return Py_BuildValue((char *)"");
14046 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14047 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14052 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14057 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14059 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14066 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
;
14068 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14070 PyObject
* obj0
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14092 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14097 PyObject
* obj0
= 0 ;
14098 PyObject
* obj1
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "self",(char *) "n", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14106 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= wxPyMake_wxObject(result
, 0);
14124 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= SWIG_FromInt((int)result
);
14150 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14151 PyObject
*resultobj
;
14152 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14154 wxString
*arg3
= 0 ;
14156 bool temp3
= False
;
14157 PyObject
* obj0
= 0 ;
14158 PyObject
* obj1
= 0 ;
14159 PyObject
* obj2
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self",(char *) "n",(char *) "strText", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14167 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 arg3
= wxString_in_helper(obj2
);
14171 if (arg3
== NULL
) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14198 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
;
14200 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self",(char *) "n", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14212 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14234 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14237 wxImageList
*arg2
= (wxImageList
*) 0 ;
14238 PyObject
* obj0
= 0 ;
14239 PyObject
* obj1
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self",(char *) "imageList", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 (arg1
)->SetImageList(arg2
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 Py_INCREF(Py_None
); resultobj
= Py_None
;
14263 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14266 wxImageList
*arg2
= (wxImageList
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self",(char *) "imageList", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14277 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 (arg1
)->AssignImageList(arg2
);
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14285 Py_INCREF(Py_None
); resultobj
= Py_None
;
14292 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14295 wxImageList
*result
;
14296 PyObject
* obj0
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "self", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= wxPyMake_wxObject(result
, 0);
14320 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
;
14322 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 PyObject
* obj1
= 0 ;
14327 char *kwnames
[] = {
14328 (char *) "self",(char *) "n", NULL
14331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14334 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_FromInt((int)result
);
14350 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14356 PyObject
* obj0
= 0 ;
14357 PyObject
* obj1
= 0 ;
14358 PyObject
* obj2
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self",(char *) "n",(char *) "imageId", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14366 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14368 arg3
= (int) SWIG_AsInt(obj2
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14386 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14391 PyObject
* obj0
= 0 ;
14392 PyObject
* obj1
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self",(char *) "size", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14402 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 Py_INCREF(Py_None
); resultobj
= Py_None
;
14418 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 PyObject
* obj1
= 0 ;
14426 char *kwnames
[] = {
14427 (char *) "self",(char *) "sizePage", NULL
14430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14435 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14445 wxSize
* resultptr
;
14446 resultptr
= new wxSize((wxSize
&) result
);
14447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14455 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14460 PyObject
* obj0
= 0 ;
14461 PyObject
* obj1
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self",(char *) "n", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14469 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 result
= (bool)(arg1
)->DeletePage(arg2
);
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14487 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
;
14489 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 PyObject
* obj1
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self",(char *) "n", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14501 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (bool)(arg1
)->RemovePage(arg2
);
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14519 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
;
14521 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14523 PyObject
* obj0
= 0 ;
14524 char *kwnames
[] = {
14525 (char *) "self", NULL
14528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (bool)(arg1
)->DeleteAllPages();
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14547 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
;
14549 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14550 wxWindow
*arg2
= (wxWindow
*) 0 ;
14551 wxString
*arg3
= 0 ;
14552 bool arg4
= (bool) False
;
14553 int arg5
= (int) -1 ;
14555 bool temp3
= False
;
14556 PyObject
* obj0
= 0 ;
14557 PyObject
* obj1
= 0 ;
14558 PyObject
* obj2
= 0 ;
14559 PyObject
* obj3
= 0 ;
14560 PyObject
* obj4
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14571 arg3
= wxString_in_helper(obj2
);
14572 if (arg3
== NULL
) SWIG_fail
;
14576 arg4
= (bool) SWIG_AsBool(obj3
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14580 arg5
= (int) SWIG_AsInt(obj4
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14607 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14611 wxWindow
*arg3
= (wxWindow
*) 0 ;
14612 wxString
*arg4
= 0 ;
14613 bool arg5
= (bool) False
;
14614 int arg6
= (int) -1 ;
14616 bool temp4
= False
;
14617 PyObject
* obj0
= 0 ;
14618 PyObject
* obj1
= 0 ;
14619 PyObject
* obj2
= 0 ;
14620 PyObject
* obj3
= 0 ;
14621 PyObject
* obj4
= 0 ;
14622 PyObject
* obj5
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14630 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14632 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14635 arg4
= wxString_in_helper(obj3
);
14636 if (arg4
== NULL
) SWIG_fail
;
14640 arg5
= (bool) SWIG_AsBool(obj4
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14644 arg6
= (int) SWIG_AsInt(obj5
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14671 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 PyObject
* obj1
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "self",(char *) "n", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14685 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= (int)(arg1
)->SetSelection(arg2
);
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 resultobj
= SWIG_FromInt((int)result
);
14701 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14704 bool arg2
= (bool) True
;
14705 PyObject
* obj0
= 0 ;
14706 PyObject
* obj1
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self",(char *) "forward", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14715 arg2
= (bool) SWIG_AsBool(obj1
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 (arg1
)->AdvanceSelection(arg2
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 Py_INCREF(Py_None
); resultobj
= Py_None
;
14732 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
;
14734 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14735 wxVisualAttributes result
;
14736 PyObject
* obj0
= 0 ;
14737 char *kwnames
[] = {
14738 (char *) "variant", NULL
14741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14743 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14747 if (!wxPyCheckForApp()) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14755 wxVisualAttributes
* resultptr
;
14756 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14765 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14768 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14770 return Py_BuildValue((char *)"");
14772 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
;
14774 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14775 int arg2
= (int) 0 ;
14776 int arg3
= (int) -1 ;
14777 int arg4
= (int) -1 ;
14778 wxBookCtrlEvent
*result
;
14779 PyObject
* obj0
= 0 ;
14780 PyObject
* obj1
= 0 ;
14781 PyObject
* obj2
= 0 ;
14782 PyObject
* obj3
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14789 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14793 arg2
= (int) SWIG_AsInt(obj1
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14797 arg3
= (int) SWIG_AsInt(obj2
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14801 arg4
= (int) SWIG_AsInt(obj3
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14818 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
*resultobj
;
14820 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14822 PyObject
* obj0
= 0 ;
14823 char *kwnames
[] = {
14824 (char *) "self", NULL
14827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_FromInt((int)result
);
14844 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 PyObject
* obj1
= 0 ;
14850 char *kwnames
[] = {
14851 (char *) "self",(char *) "nSel", NULL
14854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14857 arg2
= (int) SWIG_AsInt(obj1
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 (arg1
)->SetSelection(arg2
);
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 Py_INCREF(Py_None
); resultobj
= Py_None
;
14873 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_FromInt((int)result
);
14899 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self",(char *) "nOldSel", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14912 arg2
= (int) SWIG_AsInt(obj1
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 (arg1
)->SetOldSelection(arg2
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 Py_INCREF(Py_None
); resultobj
= Py_None
;
14928 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14931 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14933 return Py_BuildValue((char *)"");
14935 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxWindow
*arg1
= (wxWindow
*) 0 ;
14938 int arg2
= (int) -1 ;
14939 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14940 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14941 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14942 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14943 long arg5
= (long) 0 ;
14944 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14945 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14946 wxNotebook
*result
;
14949 bool temp6
= False
;
14950 PyObject
* obj0
= 0 ;
14951 PyObject
* obj1
= 0 ;
14952 PyObject
* obj2
= 0 ;
14953 PyObject
* obj3
= 0 ;
14954 PyObject
* obj4
= 0 ;
14955 PyObject
* obj5
= 0 ;
14956 char *kwnames
[] = {
14957 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14964 arg2
= (int) SWIG_AsInt(obj1
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14970 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14976 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14980 arg5
= (long) SWIG_AsLong(obj4
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14985 arg6
= wxString_in_helper(obj5
);
14986 if (arg6
== NULL
) SWIG_fail
;
14991 if (!wxPyCheckForApp()) SWIG_fail
;
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14999 resultobj
= wxPyMake_wxObject(result
, 1);
15015 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxNotebook
*result
;
15018 char *kwnames
[] = {
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15024 if (!wxPyCheckForApp()) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= (wxNotebook
*)new wxNotebook();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= wxPyMake_wxObject(result
, 1);
15040 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15043 wxWindow
*arg2
= (wxWindow
*) 0 ;
15044 int arg3
= (int) -1 ;
15045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15049 long arg6
= (long) 0 ;
15050 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15051 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15055 bool temp7
= False
;
15056 PyObject
* obj0
= 0 ;
15057 PyObject
* obj1
= 0 ;
15058 PyObject
* obj2
= 0 ;
15059 PyObject
* obj3
= 0 ;
15060 PyObject
* obj4
= 0 ;
15061 PyObject
* obj5
= 0 ;
15062 PyObject
* obj6
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 arg3
= (int) SWIG_AsInt(obj2
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15079 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15085 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15089 arg6
= (long) SWIG_AsLong(obj5
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15094 arg7
= wxString_in_helper(obj6
);
15095 if (arg7
== NULL
) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15123 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15127 PyObject
* obj0
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15142 resultobj
= SWIG_FromInt((int)result
);
15149 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15154 PyObject
* obj0
= 0 ;
15155 PyObject
* obj1
= 0 ;
15156 char *kwnames
[] = {
15157 (char *) "self",(char *) "padding", NULL
15160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15165 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15174 Py_INCREF(Py_None
); resultobj
= Py_None
;
15181 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
;
15183 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 PyObject
* obj1
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self",(char *) "sz", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15197 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15206 Py_INCREF(Py_None
); resultobj
= Py_None
;
15213 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15216 wxPoint
*arg2
= 0 ;
15217 long *arg3
= (long *) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 PyObject
* obj1
= 0 ;
15223 char *kwnames
[] = {
15224 (char *) "self",(char *) "pt", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15233 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_FromInt((int)result
);
15244 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15245 resultobj
= t_output_helper(resultobj
,o
);
15253 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15259 PyObject
* obj0
= 0 ;
15260 PyObject
* obj1
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self",(char *) "sizePage", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15270 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15280 wxSize
* resultptr
;
15281 resultptr
= new wxSize((wxSize
&) result
);
15282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15290 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15293 wxVisualAttributes result
;
15294 PyObject
* obj0
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "variant", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15301 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 if (!wxPyCheckForApp()) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15313 wxVisualAttributes
* resultptr
;
15314 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15323 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15326 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15328 return Py_BuildValue((char *)"");
15330 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
;
15332 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15333 int arg2
= (int) 0 ;
15334 int arg3
= (int) -1 ;
15335 int arg4
= (int) -1 ;
15336 wxNotebookEvent
*result
;
15337 PyObject
* obj0
= 0 ;
15338 PyObject
* obj1
= 0 ;
15339 PyObject
* obj2
= 0 ;
15340 PyObject
* obj3
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15347 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15351 arg2
= (int) SWIG_AsInt(obj1
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15355 arg3
= (int) SWIG_AsInt(obj2
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15359 arg4
= (int) SWIG_AsInt(obj3
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15376 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15379 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15381 return Py_BuildValue((char *)"");
15383 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxWindow
*arg1
= (wxWindow
*) 0 ;
15386 int arg2
= (int) -1 ;
15387 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15388 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15389 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15390 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15391 long arg5
= (long) 0 ;
15392 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15393 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15394 wxListbook
*result
;
15397 bool temp6
= False
;
15398 PyObject
* obj0
= 0 ;
15399 PyObject
* obj1
= 0 ;
15400 PyObject
* obj2
= 0 ;
15401 PyObject
* obj3
= 0 ;
15402 PyObject
* obj4
= 0 ;
15403 PyObject
* obj5
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15412 arg2
= (int) SWIG_AsInt(obj1
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15418 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15424 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15428 arg5
= (long) SWIG_AsLong(obj4
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15433 arg6
= wxString_in_helper(obj5
);
15434 if (arg6
== NULL
) SWIG_fail
;
15439 if (!wxPyCheckForApp()) SWIG_fail
;
15440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15441 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15443 wxPyEndAllowThreads(__tstate
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15461 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
;
15463 wxListbook
*result
;
15464 char *kwnames
[] = {
15468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15470 if (!wxPyCheckForApp()) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 result
= (wxListbook
*)new wxListbook();
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15484 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
;
15486 wxListbook
*arg1
= (wxListbook
*) 0 ;
15487 wxWindow
*arg2
= (wxWindow
*) 0 ;
15488 int arg3
= (int) -1 ;
15489 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15490 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15491 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15492 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15493 long arg6
= (long) 0 ;
15494 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15495 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15499 bool temp7
= False
;
15500 PyObject
* obj0
= 0 ;
15501 PyObject
* obj1
= 0 ;
15502 PyObject
* obj2
= 0 ;
15503 PyObject
* obj3
= 0 ;
15504 PyObject
* obj4
= 0 ;
15505 PyObject
* obj5
= 0 ;
15506 PyObject
* obj6
= 0 ;
15507 char *kwnames
[] = {
15508 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15517 arg3
= (int) SWIG_AsInt(obj2
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15533 arg6
= (long) SWIG_AsLong(obj5
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15538 arg7
= wxString_in_helper(obj6
);
15539 if (arg7
== NULL
) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15567 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxListbook
*arg1
= (wxListbook
*) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15595 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15598 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15600 return Py_BuildValue((char *)"");
15602 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15605 int arg2
= (int) 0 ;
15606 int arg3
= (int) -1 ;
15607 int arg4
= (int) -1 ;
15608 wxListbookEvent
*result
;
15609 PyObject
* obj0
= 0 ;
15610 PyObject
* obj1
= 0 ;
15611 PyObject
* obj2
= 0 ;
15612 PyObject
* obj3
= 0 ;
15613 char *kwnames
[] = {
15614 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15619 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15623 arg2
= (int) SWIG_AsInt(obj1
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15627 arg3
= (int) SWIG_AsInt(obj2
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15631 arg4
= (int) SWIG_AsInt(obj3
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15648 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15651 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15653 return Py_BuildValue((char *)"");
15655 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15658 wxBookCtrlSizer
*result
;
15659 PyObject
* obj0
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "nb", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15681 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15684 PyObject
* obj0
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 (arg1
)->RecalcSizes();
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 Py_INCREF(Py_None
); resultobj
= Py_None
;
15706 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self", NULL
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= (arg1
)->CalcMin();
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15726 wxSize
* resultptr
;
15727 resultptr
= new wxSize((wxSize
&) result
);
15728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15736 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
;
15738 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15739 wxBookCtrl
*result
;
15740 PyObject
* obj0
= 0 ;
15741 char *kwnames
[] = {
15742 (char *) "self", NULL
15745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15762 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15765 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15767 return Py_BuildValue((char *)"");
15769 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15772 wxNotebookSizer
*result
;
15773 PyObject
* obj0
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "nb", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15795 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
;
15797 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15798 PyObject
* obj0
= 0 ;
15799 char *kwnames
[] = {
15800 (char *) "self", NULL
15803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15808 (arg1
)->RecalcSizes();
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15813 Py_INCREF(Py_None
); resultobj
= Py_None
;
15820 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
;
15822 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15824 PyObject
* obj0
= 0 ;
15825 char *kwnames
[] = {
15826 (char *) "self", NULL
15829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15834 result
= (arg1
)->CalcMin();
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15840 wxSize
* resultptr
;
15841 resultptr
= new wxSize((wxSize
&) result
);
15842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15850 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15853 wxNotebook
*result
;
15854 PyObject
* obj0
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= wxPyMake_wxObject(result
, 0);
15878 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15881 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15883 return Py_BuildValue((char *)"");
15885 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15889 PyObject
* obj0
= 0 ;
15890 char *kwnames
[] = {
15891 (char *) "self", NULL
15894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= (int)(arg1
)->GetId();
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 resultobj
= SWIG_FromInt((int)result
);
15911 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15915 PyObject
* obj0
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self", NULL
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (wxControl
*)(arg1
)->GetControl();
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= wxPyMake_wxObject(result
, 0);
15939 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15942 wxToolBarBase
*result
;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= wxPyMake_wxObject(result
, 0);
15967 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (int)(arg1
)->IsButton();
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= SWIG_FromInt((int)result
);
15993 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15997 PyObject
* obj0
= 0 ;
15998 char *kwnames
[] = {
15999 (char *) "self", NULL
16002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 result
= (int)(arg1
)->IsControl();
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16012 resultobj
= SWIG_FromInt((int)result
);
16019 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16020 PyObject
*resultobj
;
16021 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16023 PyObject
* obj0
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 result
= (int)(arg1
)->IsSeparator();
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= SWIG_FromInt((int)result
);
16045 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 char *kwnames
[] = {
16051 (char *) "self", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 result
= (int)(arg1
)->GetStyle();
16061 wxPyEndAllowThreads(__tstate
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= SWIG_FromInt((int)result
);
16071 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16073 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16075 PyObject
* obj0
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "self", NULL
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (int)(arg1
)->GetKind();
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= SWIG_FromInt((int)result
);
16097 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16101 PyObject
* obj0
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (bool)(arg1
)->IsEnabled();
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16125 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16129 PyObject
* obj0
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= (bool)(arg1
)->IsToggled();
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16153 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16157 PyObject
* obj0
= 0 ;
16158 char *kwnames
[] = {
16159 (char *) "self", NULL
16162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= (bool)(arg1
)->CanBeToggled();
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16181 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16185 PyObject
* obj0
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16197 result
= (wxBitmap
*) &_result_ref
;
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16204 wxBitmap
* resultptr
= new wxBitmap(*result
);
16205 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16213 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16217 PyObject
* obj0
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16229 result
= (wxBitmap
*) &_result_ref
;
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16236 wxBitmap
* resultptr
= new wxBitmap(*result
);
16237 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16245 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16249 PyObject
* obj0
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= (arg1
)->GetBitmap();
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16265 wxBitmap
* resultptr
;
16266 resultptr
= new wxBitmap((wxBitmap
&) result
);
16267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16275 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 char *kwnames
[] = {
16281 (char *) "self", NULL
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 result
= (arg1
)->GetLabel();
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16307 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16308 PyObject
*resultobj
;
16309 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16311 PyObject
* obj0
= 0 ;
16312 char *kwnames
[] = {
16313 (char *) "self", NULL
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= (arg1
)->GetShortHelp();
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16339 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (arg1
)->GetLongHelp();
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16371 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16376 PyObject
* obj0
= 0 ;
16377 PyObject
* obj1
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self",(char *) "enable", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16385 arg2
= (bool) SWIG_AsBool(obj1
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (bool)(arg1
)->Enable(arg2
);
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16403 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
;
16405 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 Py_INCREF(Py_None
); resultobj
= Py_None
;
16428 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 PyObject
* obj1
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "self",(char *) "toggle", NULL
16439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16442 arg2
= (bool) SWIG_AsBool(obj1
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (bool)(arg1
)->SetToggle(arg2
);
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16460 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16463 wxString
*arg2
= 0 ;
16465 bool temp2
= False
;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "help", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16476 arg2
= wxString_in_helper(obj1
);
16477 if (arg2
== NULL
) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16504 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
;
16506 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16507 wxString
*arg2
= 0 ;
16509 bool temp2
= False
;
16510 PyObject
* obj0
= 0 ;
16511 PyObject
* obj1
= 0 ;
16512 char *kwnames
[] = {
16513 (char *) "self",(char *) "help", NULL
16516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16520 arg2
= wxString_in_helper(obj1
);
16521 if (arg2
== NULL
) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16548 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16551 wxBitmap
*arg2
= 0 ;
16552 PyObject
* obj0
= 0 ;
16553 PyObject
* obj1
= 0 ;
16554 char *kwnames
[] = {
16555 (char *) "self",(char *) "bmp", NULL
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16564 if (arg2
== NULL
) {
16565 PyErr_SetString(PyExc_TypeError
,"null reference");
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16575 Py_INCREF(Py_None
); resultobj
= Py_None
;
16582 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16584 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16585 wxBitmap
*arg2
= 0 ;
16586 PyObject
* obj0
= 0 ;
16587 PyObject
* obj1
= 0 ;
16588 char *kwnames
[] = {
16589 (char *) "self",(char *) "bmp", NULL
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16598 if (arg2
== NULL
) {
16599 PyErr_SetString(PyExc_TypeError
,"null reference");
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 Py_INCREF(Py_None
); resultobj
= Py_None
;
16616 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16619 wxString
*arg2
= 0 ;
16620 bool temp2
= False
;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self",(char *) "label", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16631 arg2
= wxString_in_helper(obj1
);
16632 if (arg2
== NULL
) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 (arg1
)->SetLabel((wxString
const &)*arg2
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 Py_INCREF(Py_None
); resultobj
= Py_None
;
16657 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16675 Py_INCREF(Py_None
); resultobj
= Py_None
;
16682 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16684 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16685 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 PyObject
* obj1
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "self",(char *) "tbar", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 (arg1
)->Attach(arg2
);
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16704 Py_INCREF(Py_None
); resultobj
= Py_None
;
16711 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
;
16713 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16715 PyObject
* obj0
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= result
;
16737 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
;
16739 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16740 PyObject
*arg2
= (PyObject
*) 0 ;
16741 PyObject
* obj0
= 0 ;
16742 PyObject
* obj1
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "self",(char *) "clientData", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 Py_INCREF(Py_None
); resultobj
= Py_None
;
16765 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16768 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16770 return Py_BuildValue((char *)"");
16772 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16776 wxString
*arg3
= 0 ;
16777 wxBitmap
*arg4
= 0 ;
16778 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16779 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16780 int arg6
= (int) wxITEM_NORMAL
;
16781 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16782 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16783 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16784 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16785 PyObject
*arg9
= (PyObject
*) NULL
;
16786 wxToolBarToolBase
*result
;
16787 bool temp3
= False
;
16788 bool temp7
= False
;
16789 bool temp8
= False
;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 PyObject
* obj2
= 0 ;
16793 PyObject
* obj3
= 0 ;
16794 PyObject
* obj4
= 0 ;
16795 PyObject
* obj5
= 0 ;
16796 PyObject
* obj6
= 0 ;
16797 PyObject
* obj7
= 0 ;
16798 PyObject
* obj8
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16806 arg2
= (int) SWIG_AsInt(obj1
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 arg3
= wxString_in_helper(obj2
);
16810 if (arg3
== NULL
) SWIG_fail
;
16813 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16816 if (arg4
== NULL
) {
16817 PyErr_SetString(PyExc_TypeError
,"null reference");
16821 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16824 if (arg5
== NULL
) {
16825 PyErr_SetString(PyExc_TypeError
,"null reference");
16830 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16835 arg7
= wxString_in_helper(obj6
);
16836 if (arg7
== NULL
) SWIG_fail
;
16842 arg8
= wxString_in_helper(obj7
);
16843 if (arg8
== NULL
) SWIG_fail
;
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16858 resultobj
= wxPyMake_wxObject(result
, 0);
16890 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
;
16892 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16895 wxString
*arg4
= 0 ;
16896 wxBitmap
*arg5
= 0 ;
16897 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16898 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16899 int arg7
= (int) wxITEM_NORMAL
;
16900 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16901 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16902 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16903 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16904 PyObject
*arg10
= (PyObject
*) NULL
;
16905 wxToolBarToolBase
*result
;
16906 bool temp4
= False
;
16907 bool temp8
= False
;
16908 bool temp9
= False
;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 PyObject
* obj2
= 0 ;
16912 PyObject
* obj3
= 0 ;
16913 PyObject
* obj4
= 0 ;
16914 PyObject
* obj5
= 0 ;
16915 PyObject
* obj6
= 0 ;
16916 PyObject
* obj7
= 0 ;
16917 PyObject
* obj8
= 0 ;
16918 PyObject
* obj9
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16926 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16928 arg3
= (int) SWIG_AsInt(obj2
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 arg4
= wxString_in_helper(obj3
);
16932 if (arg4
== NULL
) SWIG_fail
;
16935 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16938 if (arg5
== NULL
) {
16939 PyErr_SetString(PyExc_TypeError
,"null reference");
16943 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16946 if (arg6
== NULL
) {
16947 PyErr_SetString(PyExc_TypeError
,"null reference");
16952 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16957 arg8
= wxString_in_helper(obj7
);
16958 if (arg8
== NULL
) SWIG_fail
;
16964 arg9
= wxString_in_helper(obj8
);
16965 if (arg9
== NULL
) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 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
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= wxPyMake_wxObject(result
, 0);
17012 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17015 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17016 wxToolBarToolBase
*result
;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self",(char *) "tool", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= wxPyMake_wxObject(result
, 0);
17044 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17046 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17048 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17049 wxToolBarToolBase
*result
;
17050 PyObject
* obj0
= 0 ;
17051 PyObject
* obj1
= 0 ;
17052 PyObject
* obj2
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "self",(char *) "pos",(char *) "tool", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17060 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17062 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17072 resultobj
= wxPyMake_wxObject(result
, 0);
17080 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17083 wxControl
*arg2
= (wxControl
*) 0 ;
17084 wxToolBarToolBase
*result
;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 char *kwnames
[] = {
17088 (char *) "self",(char *) "control", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= wxPyMake_wxObject(result
, 0);
17112 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17116 wxControl
*arg3
= (wxControl
*) 0 ;
17117 wxToolBarToolBase
*result
;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 PyObject
* obj2
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self",(char *) "pos",(char *) "control", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17128 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17130 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= wxPyMake_wxObject(result
, 0);
17148 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "self",(char *) "id", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17162 arg2
= (int) SWIG_AsInt(obj1
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= wxPyMake_wxObject(result
, 0);
17180 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17183 wxToolBarToolBase
*result
;
17184 PyObject
* obj0
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= wxPyMake_wxObject(result
, 0);
17208 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
;
17210 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17212 wxToolBarToolBase
*result
;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self",(char *) "pos", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17222 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= wxPyMake_wxObject(result
, 0);
17240 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
;
17242 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17244 wxToolBarToolBase
*result
;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self",(char *) "id", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17254 arg2
= (int) SWIG_AsInt(obj1
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17260 wxPyEndAllowThreads(__tstate
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17264 resultobj
= wxPyMake_wxObject(result
, 0);
17272 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
;
17274 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17277 PyObject
* obj0
= 0 ;
17278 PyObject
* obj1
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "self",(char *) "pos", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17286 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17304 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
;
17306 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17309 PyObject
* obj0
= 0 ;
17310 PyObject
* obj1
= 0 ;
17311 char *kwnames
[] = {
17312 (char *) "self",(char *) "id", NULL
17315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17318 arg2
= (int) SWIG_AsInt(obj1
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (bool)(arg1
)->DeleteTool(arg2
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17336 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
;
17338 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 (arg1
)->ClearTools();
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 Py_INCREF(Py_None
); resultobj
= Py_None
;
17361 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17365 PyObject
* obj0
= 0 ;
17366 char *kwnames
[] = {
17367 (char *) "self", NULL
17370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= (bool)(arg1
)->Realize();
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17389 static PyObject
*_wrap_ToolBarBase_EnableTool(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 *) "enable", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",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
)->EnableTool(arg2
,arg3
);
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 Py_INCREF(Py_None
); resultobj
= Py_None
;
17422 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
;
17424 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 PyObject
* obj1
= 0 ;
17429 PyObject
* obj2
= 0 ;
17430 char *kwnames
[] = {
17431 (char *) "self",(char *) "id",(char *) "toggle", NULL
17434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17437 arg2
= (int) SWIG_AsInt(obj1
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17439 arg3
= (bool) SWIG_AsBool(obj2
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 (arg1
)->ToggleTool(arg2
,arg3
);
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 Py_INCREF(Py_None
); resultobj
= Py_None
;
17455 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17457 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17460 PyObject
* obj0
= 0 ;
17461 PyObject
* obj1
= 0 ;
17462 PyObject
* obj2
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self",(char *) "id",(char *) "toggle", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17470 arg2
= (int) SWIG_AsInt(obj1
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17472 arg3
= (bool) SWIG_AsBool(obj2
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17476 (arg1
)->SetToggle(arg2
,arg3
);
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 Py_INCREF(Py_None
); resultobj
= Py_None
;
17488 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17489 PyObject
*resultobj
;
17490 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17493 PyObject
* obj0
= 0 ;
17494 PyObject
* obj1
= 0 ;
17495 char *kwnames
[] = {
17496 (char *) "self",(char *) "id", NULL
17499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17502 arg2
= (int) SWIG_AsInt(obj1
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= result
;
17518 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
;
17520 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17522 PyObject
*arg3
= (PyObject
*) 0 ;
17523 PyObject
* obj0
= 0 ;
17524 PyObject
* obj1
= 0 ;
17525 PyObject
* obj2
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self",(char *) "id",(char *) "clientData", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17533 arg2
= (int) SWIG_AsInt(obj1
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17543 Py_INCREF(Py_None
); resultobj
= Py_None
;
17550 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
;
17552 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "self",(char *) "id", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17564 arg2
= (int) SWIG_AsInt(obj1
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= SWIG_FromInt((int)result
);
17580 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17585 PyObject
* obj0
= 0 ;
17586 PyObject
* obj1
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self",(char *) "id", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (bool)(arg1
)->GetToolState(arg2
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17612 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17617 PyObject
* obj0
= 0 ;
17618 PyObject
* obj1
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self",(char *) "id", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17626 arg2
= (int) SWIG_AsInt(obj1
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17644 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17648 wxString
*arg3
= 0 ;
17649 bool temp3
= False
;
17650 PyObject
* obj0
= 0 ;
17651 PyObject
* obj1
= 0 ;
17652 PyObject
* obj2
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self",(char *) "id",(char *) "helpString", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17660 arg2
= (int) SWIG_AsInt(obj1
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17663 arg3
= wxString_in_helper(obj2
);
17664 if (arg3
== NULL
) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 Py_INCREF(Py_None
); resultobj
= Py_None
;
17689 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
;
17691 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17694 PyObject
* obj0
= 0 ;
17695 PyObject
* obj1
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self",(char *) "id", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17703 arg2
= (int) SWIG_AsInt(obj1
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (arg1
)->GetToolShortHelp(arg2
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17725 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17729 wxString
*arg3
= 0 ;
17730 bool temp3
= False
;
17731 PyObject
* obj0
= 0 ;
17732 PyObject
* obj1
= 0 ;
17733 PyObject
* obj2
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self",(char *) "id",(char *) "helpString", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17741 arg2
= (int) SWIG_AsInt(obj1
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 arg3
= wxString_in_helper(obj2
);
17745 if (arg3
== NULL
) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 Py_INCREF(Py_None
); resultobj
= Py_None
;
17770 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
;
17772 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self",(char *) "id", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17784 arg2
= (int) SWIG_AsInt(obj1
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 result
= (arg1
)->GetToolLongHelp(arg2
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17806 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17807 PyObject
*resultobj
;
17808 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17811 PyObject
* obj0
= 0 ;
17812 PyObject
* obj1
= 0 ;
17813 PyObject
* obj2
= 0 ;
17814 char *kwnames
[] = {
17815 (char *) "self",(char *) "x",(char *) "y", NULL
17818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17821 arg2
= (int) SWIG_AsInt(obj1
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17823 arg3
= (int) SWIG_AsInt(obj2
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 (arg1
)->SetMargins(arg2
,arg3
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 Py_INCREF(Py_None
); resultobj
= Py_None
;
17839 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "self",(char *) "size", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17855 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 Py_INCREF(Py_None
); resultobj
= Py_None
;
17871 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17875 PyObject
* obj0
= 0 ;
17876 PyObject
* obj1
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self",(char *) "packing", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17884 arg2
= (int) SWIG_AsInt(obj1
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 (arg1
)->SetToolPacking(arg2
);
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 Py_INCREF(Py_None
); resultobj
= Py_None
;
17900 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17904 PyObject
* obj0
= 0 ;
17905 PyObject
* obj1
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self",(char *) "separation", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17913 arg2
= (int) SWIG_AsInt(obj1
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 (arg1
)->SetToolSeparation(arg2
);
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 Py_INCREF(Py_None
); resultobj
= Py_None
;
17929 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
;
17931 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 result
= (arg1
)->GetToolMargins();
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17949 wxSize
* resultptr
;
17950 resultptr
= new wxSize((wxSize
&) result
);
17951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17959 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17963 PyObject
* obj0
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 result
= (arg1
)->GetMargins();
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17979 wxSize
* resultptr
;
17980 resultptr
= new wxSize((wxSize
&) result
);
17981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17989 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
;
17991 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17993 PyObject
* obj0
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "self", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 result
= (int)(arg1
)->GetToolPacking();
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 resultobj
= SWIG_FromInt((int)result
);
18015 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18019 PyObject
* obj0
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 result
= (int)(arg1
)->GetToolSeparation();
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 resultobj
= SWIG_FromInt((int)result
);
18041 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18042 PyObject
*resultobj
;
18043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18045 PyObject
* obj0
= 0 ;
18046 PyObject
* obj1
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self",(char *) "nRows", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18054 arg2
= (int) SWIG_AsInt(obj1
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 (arg1
)->SetRows(arg2
);
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 Py_INCREF(Py_None
); resultobj
= Py_None
;
18070 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18071 PyObject
*resultobj
;
18072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18075 PyObject
* obj0
= 0 ;
18076 PyObject
* obj1
= 0 ;
18077 PyObject
* obj2
= 0 ;
18078 char *kwnames
[] = {
18079 (char *) "self",(char *) "rows",(char *) "cols", NULL
18082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18085 arg2
= (int) SWIG_AsInt(obj1
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18087 arg3
= (int) SWIG_AsInt(obj2
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 Py_INCREF(Py_None
); resultobj
= Py_None
;
18103 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18107 PyObject
* obj0
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "self", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 result
= (int)(arg1
)->GetMaxRows();
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18122 resultobj
= SWIG_FromInt((int)result
);
18129 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
;
18131 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18133 PyObject
* obj0
= 0 ;
18134 char *kwnames
[] = {
18135 (char *) "self", NULL
18138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 result
= (int)(arg1
)->GetMaxCols();
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= SWIG_FromInt((int)result
);
18155 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
;
18157 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18160 PyObject
* obj0
= 0 ;
18161 PyObject
* obj1
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self",(char *) "size", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18171 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 Py_INCREF(Py_None
); resultobj
= Py_None
;
18187 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18191 PyObject
* obj0
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (arg1
)->GetToolBitmapSize();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 wxSize
* resultptr
;
18208 resultptr
= new wxSize((wxSize
&) result
);
18209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18217 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= (arg1
)->GetToolSize();
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18237 wxSize
* resultptr
;
18238 resultptr
= new wxSize((wxSize
&) result
);
18239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18247 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18252 wxToolBarToolBase
*result
;
18253 PyObject
* obj0
= 0 ;
18254 PyObject
* obj1
= 0 ;
18255 PyObject
* obj2
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self",(char *) "x",(char *) "y", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18263 arg2
= (int) SWIG_AsInt(obj1
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18265 arg3
= (int) SWIG_AsInt(obj2
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= wxPyMake_wxObject(result
, 0);
18283 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
;
18285 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18287 wxToolBarToolBase
*result
;
18288 PyObject
* obj0
= 0 ;
18289 PyObject
* obj1
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self",(char *) "toolid", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18297 arg2
= (int) SWIG_AsInt(obj1
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= wxPyMake_wxObject(result
, 0);
18315 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (bool)(arg1
)->IsVertical();
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18343 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18346 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18348 return Py_BuildValue((char *)"");
18350 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
;
18352 wxWindow
*arg1
= (wxWindow
*) 0 ;
18353 int arg2
= (int) -1 ;
18354 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18355 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18356 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18357 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18358 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18359 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18360 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18364 bool temp6
= False
;
18365 PyObject
* obj0
= 0 ;
18366 PyObject
* obj1
= 0 ;
18367 PyObject
* obj2
= 0 ;
18368 PyObject
* obj3
= 0 ;
18369 PyObject
* obj4
= 0 ;
18370 PyObject
* obj5
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18379 arg2
= (int) SWIG_AsInt(obj1
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18385 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18391 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18395 arg5
= (long) SWIG_AsLong(obj4
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18400 arg6
= wxString_in_helper(obj5
);
18401 if (arg6
== NULL
) SWIG_fail
;
18406 if (!wxPyCheckForApp()) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18414 resultobj
= wxPyMake_wxObject(result
, 1);
18430 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18433 char *kwnames
[] = {
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18439 if (!wxPyCheckForApp()) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 result
= (wxToolBar
*)new wxToolBar();
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18447 resultobj
= wxPyMake_wxObject(result
, 1);
18455 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18458 wxWindow
*arg2
= (wxWindow
*) 0 ;
18459 int arg3
= (int) -1 ;
18460 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18461 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18462 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18463 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18464 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18465 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18466 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18470 bool temp7
= False
;
18471 PyObject
* obj0
= 0 ;
18472 PyObject
* obj1
= 0 ;
18473 PyObject
* obj2
= 0 ;
18474 PyObject
* obj3
= 0 ;
18475 PyObject
* obj4
= 0 ;
18476 PyObject
* obj5
= 0 ;
18477 PyObject
* obj6
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18488 arg3
= (int) SWIG_AsInt(obj2
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18494 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18500 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18504 arg6
= (long) SWIG_AsLong(obj5
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18509 arg7
= wxString_in_helper(obj6
);
18510 if (arg7
== NULL
) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18538 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
;
18540 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18543 wxToolBarToolBase
*result
;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 PyObject
* obj2
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self",(char *) "x",(char *) "y", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18554 arg2
= (int) SWIG_AsInt(obj1
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18556 arg3
= (int) SWIG_AsInt(obj2
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18566 resultobj
= wxPyMake_wxObject(result
, 0);
18574 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18577 wxVisualAttributes result
;
18578 PyObject
* obj0
= 0 ;
18579 char *kwnames
[] = {
18580 (char *) "variant", NULL
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18585 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18589 if (!wxPyCheckForApp()) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18597 wxVisualAttributes
* resultptr
;
18598 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18607 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18610 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18612 return Py_BuildValue((char *)"");
18614 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18615 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18620 static PyObject
*_wrap_ListCtrlNameStr_get() {
18625 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18627 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18634 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxColour
const &arg1_defvalue
= wxNullColour
;
18637 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18638 wxColour
const &arg2_defvalue
= wxNullColour
;
18639 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18640 wxFont
const &arg3_defvalue
= wxNullFont
;
18641 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18642 wxListItemAttr
*result
;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 PyObject
* obj2
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18656 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18662 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18666 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18669 if (arg3
== NULL
) {
18670 PyErr_SetString(PyExc_TypeError
,"null reference");
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18688 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18691 wxColour
*arg2
= 0 ;
18693 PyObject
* obj0
= 0 ;
18694 PyObject
* obj1
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self",(char *) "colText", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18704 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 Py_INCREF(Py_None
); resultobj
= Py_None
;
18720 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18723 wxColour
*arg2
= 0 ;
18725 PyObject
* obj0
= 0 ;
18726 PyObject
* obj1
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self",(char *) "colBack", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18736 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 Py_INCREF(Py_None
); resultobj
= Py_None
;
18752 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18756 PyObject
* obj0
= 0 ;
18757 PyObject
* obj1
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self",(char *) "font", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18768 if (arg2
== NULL
) {
18769 PyErr_SetString(PyExc_TypeError
,"null reference");
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 (arg1
)->SetFont((wxFont
const &)*arg2
);
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 Py_INCREF(Py_None
); resultobj
= Py_None
;
18786 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 result
= (bool)(arg1
)->HasTextColour();
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18814 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
;
18816 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18818 PyObject
* obj0
= 0 ;
18819 char *kwnames
[] = {
18820 (char *) "self", NULL
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 result
= (bool)(arg1
)->HasBackgroundColour();
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18842 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (bool)(arg1
)->HasFont();
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18870 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= (arg1
)->GetTextColour();
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18890 wxColour
* resultptr
;
18891 resultptr
= new wxColour((wxColour
&) result
);
18892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18900 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 result
= (arg1
)->GetBackgroundColour();
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18920 wxColour
* resultptr
;
18921 resultptr
= new wxColour((wxColour
&) result
);
18922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18930 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18934 PyObject
* obj0
= 0 ;
18935 char *kwnames
[] = {
18936 (char *) "self", NULL
18939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 result
= (arg1
)->GetFont();
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18950 wxFont
* resultptr
;
18951 resultptr
= new wxFont((wxFont
&) result
);
18952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18960 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 wxListItemAttr_Destroy(arg1
);
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 Py_INCREF(Py_None
); resultobj
= Py_None
;
18985 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18988 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18990 return Py_BuildValue((char *)"");
18992 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxListItem
*result
;
18995 char *kwnames
[] = {
18999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 result
= (wxListItem
*)new wxListItem();
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= wxPyMake_wxObject(result
, 1);
19016 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
;
19018 wxListItem
*arg1
= (wxListItem
*) 0 ;
19019 PyObject
* obj0
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 Py_INCREF(Py_None
); resultobj
= Py_None
;
19041 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19043 wxListItem
*arg1
= (wxListItem
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 Py_INCREF(Py_None
); resultobj
= Py_None
;
19066 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxListItem
*arg1
= (wxListItem
*) 0 ;
19069 PyObject
* obj0
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 (arg1
)->ClearAttributes();
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 Py_INCREF(Py_None
); resultobj
= Py_None
;
19091 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxListItem
*arg1
= (wxListItem
*) 0 ;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 char *kwnames
[] = {
19098 (char *) "self",(char *) "mask", NULL
19101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19104 arg2
= (long) SWIG_AsLong(obj1
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 (arg1
)->SetMask(arg2
);
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 Py_INCREF(Py_None
); resultobj
= Py_None
;
19120 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
;
19122 wxListItem
*arg1
= (wxListItem
*) 0 ;
19124 PyObject
* obj0
= 0 ;
19125 PyObject
* obj1
= 0 ;
19126 char *kwnames
[] = {
19127 (char *) "self",(char *) "id", NULL
19130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19133 arg2
= (long) SWIG_AsLong(obj1
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 (arg1
)->SetId(arg2
);
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 Py_INCREF(Py_None
); resultobj
= Py_None
;
19149 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxListItem
*arg1
= (wxListItem
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 PyObject
* obj1
= 0 ;
19155 char *kwnames
[] = {
19156 (char *) "self",(char *) "col", NULL
19159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19162 arg2
= (int) SWIG_AsInt(obj1
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 (arg1
)->SetColumn(arg2
);
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 Py_INCREF(Py_None
); resultobj
= Py_None
;
19178 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxListItem
*arg1
= (wxListItem
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 PyObject
* obj1
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self",(char *) "state", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19191 arg2
= (long) SWIG_AsLong(obj1
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 (arg1
)->SetState(arg2
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 Py_INCREF(Py_None
); resultobj
= Py_None
;
19207 static PyObject
*_wrap_ListItem_SetStateMask(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 *) "stateMask", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",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
= (long) SWIG_AsLong(obj1
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 (arg1
)->SetStateMask(arg2
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 Py_INCREF(Py_None
); resultobj
= Py_None
;
19236 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxListItem
*arg1
= (wxListItem
*) 0 ;
19239 wxString
*arg2
= 0 ;
19240 bool temp2
= False
;
19241 PyObject
* obj0
= 0 ;
19242 PyObject
* obj1
= 0 ;
19243 char *kwnames
[] = {
19244 (char *) "self",(char *) "text", NULL
19247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19251 arg2
= wxString_in_helper(obj1
);
19252 if (arg2
== NULL
) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 (arg1
)->SetText((wxString
const &)*arg2
);
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 Py_INCREF(Py_None
); resultobj
= Py_None
;
19277 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19278 PyObject
*resultobj
;
19279 wxListItem
*arg1
= (wxListItem
*) 0 ;
19281 PyObject
* obj0
= 0 ;
19282 PyObject
* obj1
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "self",(char *) "image", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19290 arg2
= (int) SWIG_AsInt(obj1
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 (arg1
)->SetImage(arg2
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 Py_INCREF(Py_None
); resultobj
= Py_None
;
19306 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxListItem
*arg1
= (wxListItem
*) 0 ;
19310 PyObject
* obj0
= 0 ;
19311 PyObject
* obj1
= 0 ;
19312 char *kwnames
[] = {
19313 (char *) "self",(char *) "data", NULL
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 arg2
= (long) SWIG_AsLong(obj1
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 (arg1
)->SetData(arg2
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 Py_INCREF(Py_None
); resultobj
= Py_None
;
19335 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxListItem
*arg1
= (wxListItem
*) 0 ;
19339 PyObject
* obj0
= 0 ;
19340 PyObject
* obj1
= 0 ;
19341 char *kwnames
[] = {
19342 (char *) "self",(char *) "width", NULL
19345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19348 arg2
= (int) SWIG_AsInt(obj1
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 (arg1
)->SetWidth(arg2
);
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 Py_INCREF(Py_None
); resultobj
= Py_None
;
19364 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxListItem
*arg1
= (wxListItem
*) 0 ;
19368 PyObject
* obj0
= 0 ;
19369 PyObject
* obj1
= 0 ;
19370 char *kwnames
[] = {
19371 (char *) "self",(char *) "align", NULL
19374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19377 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 Py_INCREF(Py_None
); resultobj
= Py_None
;
19393 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 wxListItem
*arg1
= (wxListItem
*) 0 ;
19396 wxColour
*arg2
= 0 ;
19398 PyObject
* obj0
= 0 ;
19399 PyObject
* obj1
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self",(char *) "colText", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19409 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 Py_INCREF(Py_None
); resultobj
= Py_None
;
19425 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
;
19427 wxListItem
*arg1
= (wxListItem
*) 0 ;
19428 wxColour
*arg2
= 0 ;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self",(char *) "colBack", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19441 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 Py_INCREF(Py_None
); resultobj
= Py_None
;
19457 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19459 wxListItem
*arg1
= (wxListItem
*) 0 ;
19461 PyObject
* obj0
= 0 ;
19462 PyObject
* obj1
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "self",(char *) "font", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19473 if (arg2
== NULL
) {
19474 PyErr_SetString(PyExc_TypeError
,"null reference");
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 (arg1
)->SetFont((wxFont
const &)*arg2
);
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 Py_INCREF(Py_None
); resultobj
= Py_None
;
19491 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxListItem
*arg1
= (wxListItem
*) 0 ;
19495 PyObject
* obj0
= 0 ;
19496 char *kwnames
[] = {
19497 (char *) "self", NULL
19500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 result
= (long)(arg1
)->GetMask();
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_FromLong((long)result
);
19517 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
;
19519 wxListItem
*arg1
= (wxListItem
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 char *kwnames
[] = {
19523 (char *) "self", NULL
19526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= (long)(arg1
)->GetId();
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= SWIG_FromLong((long)result
);
19543 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 wxListItem
*arg1
= (wxListItem
*) 0 ;
19547 PyObject
* obj0
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (int)(arg1
)->GetColumn();
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= SWIG_FromInt((int)result
);
19569 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxListItem
*arg1
= (wxListItem
*) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= (long)(arg1
)->GetState();
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= SWIG_FromLong((long)result
);
19595 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19596 PyObject
*resultobj
;
19597 wxListItem
*arg1
= (wxListItem
*) 0 ;
19599 PyObject
* obj0
= 0 ;
19600 char *kwnames
[] = {
19601 (char *) "self", NULL
19604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 wxString
const &_result_ref
= (arg1
)->GetText();
19611 result
= (wxString
*) &_result_ref
;
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19619 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19621 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19630 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
;
19632 wxListItem
*arg1
= (wxListItem
*) 0 ;
19634 PyObject
* obj0
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= (int)(arg1
)->GetImage();
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= SWIG_FromInt((int)result
);
19656 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19657 PyObject
*resultobj
;
19658 wxListItem
*arg1
= (wxListItem
*) 0 ;
19660 PyObject
* obj0
= 0 ;
19661 char *kwnames
[] = {
19662 (char *) "self", NULL
19665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 result
= (long)(arg1
)->GetData();
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 resultobj
= SWIG_FromLong((long)result
);
19682 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
;
19684 wxListItem
*arg1
= (wxListItem
*) 0 ;
19686 PyObject
* obj0
= 0 ;
19687 char *kwnames
[] = {
19688 (char *) "self", NULL
19691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 result
= (int)(arg1
)->GetWidth();
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= SWIG_FromInt((int)result
);
19708 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19709 PyObject
*resultobj
;
19710 wxListItem
*arg1
= (wxListItem
*) 0 ;
19712 PyObject
* obj0
= 0 ;
19713 char *kwnames
[] = {
19714 (char *) "self", NULL
19717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 result
= (int)(arg1
)->GetAlign();
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= SWIG_FromInt((int)result
);
19734 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxListItem
*arg1
= (wxListItem
*) 0 ;
19737 wxListItemAttr
*result
;
19738 PyObject
* obj0
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19760 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
;
19762 wxListItem
*arg1
= (wxListItem
*) 0 ;
19764 PyObject
* obj0
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (bool)(arg1
)->HasAttributes();
19776 wxPyEndAllowThreads(__tstate
);
19777 if (PyErr_Occurred()) SWIG_fail
;
19780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19788 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
;
19790 wxListItem
*arg1
= (wxListItem
*) 0 ;
19792 PyObject
* obj0
= 0 ;
19793 char *kwnames
[] = {
19794 (char *) "self", NULL
19797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19808 wxColour
* resultptr
;
19809 resultptr
= new wxColour((wxColour
&) result
);
19810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19818 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
;
19820 wxListItem
*arg1
= (wxListItem
*) 0 ;
19822 PyObject
* obj0
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19838 wxColour
* resultptr
;
19839 resultptr
= new wxColour((wxColour
&) result
);
19840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19848 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19849 PyObject
*resultobj
;
19850 wxListItem
*arg1
= (wxListItem
*) 0 ;
19852 PyObject
* obj0
= 0 ;
19853 char *kwnames
[] = {
19854 (char *) "self", NULL
19857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 result
= ((wxListItem
const *)arg1
)->GetFont();
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19868 wxFont
* resultptr
;
19869 resultptr
= new wxFont((wxFont
&) result
);
19870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19878 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
;
19880 wxListItem
*arg1
= (wxListItem
*) 0 ;
19882 PyObject
* obj0
= 0 ;
19883 PyObject
* obj1
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self",(char *) "m_mask", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19891 arg2
= (long) SWIG_AsLong(obj1
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19893 if (arg1
) (arg1
)->m_mask
= arg2
;
19895 Py_INCREF(Py_None
); resultobj
= Py_None
;
19902 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxListItem
*arg1
= (wxListItem
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19914 result
= (long) ((arg1
)->m_mask
);
19916 resultobj
= SWIG_FromLong((long)result
);
19923 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxListItem
*arg1
= (wxListItem
*) 0 ;
19927 PyObject
* obj0
= 0 ;
19928 PyObject
* obj1
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self",(char *) "m_itemId", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19936 arg2
= (long) SWIG_AsLong(obj1
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19938 if (arg1
) (arg1
)->m_itemId
= arg2
;
19940 Py_INCREF(Py_None
); resultobj
= Py_None
;
19947 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
;
19949 wxListItem
*arg1
= (wxListItem
*) 0 ;
19951 PyObject
* obj0
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19959 result
= (long) ((arg1
)->m_itemId
);
19961 resultobj
= SWIG_FromLong((long)result
);
19968 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxListItem
*arg1
= (wxListItem
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "m_col", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19981 arg2
= (int) SWIG_AsInt(obj1
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19983 if (arg1
) (arg1
)->m_col
= arg2
;
19985 Py_INCREF(Py_None
); resultobj
= Py_None
;
19992 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxListItem
*arg1
= (wxListItem
*) 0 ;
19996 PyObject
* obj0
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20004 result
= (int) ((arg1
)->m_col
);
20006 resultobj
= SWIG_FromInt((int)result
);
20013 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxListItem
*arg1
= (wxListItem
*) 0 ;
20017 PyObject
* obj0
= 0 ;
20018 PyObject
* obj1
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "self",(char *) "m_state", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20026 arg2
= (long) SWIG_AsLong(obj1
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20028 if (arg1
) (arg1
)->m_state
= arg2
;
20030 Py_INCREF(Py_None
); resultobj
= Py_None
;
20037 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxListItem
*arg1
= (wxListItem
*) 0 ;
20041 PyObject
* obj0
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 result
= (long) ((arg1
)->m_state
);
20051 resultobj
= SWIG_FromLong((long)result
);
20058 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxListItem
*arg1
= (wxListItem
*) 0 ;
20062 PyObject
* obj0
= 0 ;
20063 PyObject
* obj1
= 0 ;
20064 char *kwnames
[] = {
20065 (char *) "self",(char *) "m_stateMask", NULL
20068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20071 arg2
= (long) SWIG_AsLong(obj1
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20073 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20075 Py_INCREF(Py_None
); resultobj
= Py_None
;
20082 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxListItem
*arg1
= (wxListItem
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20094 result
= (long) ((arg1
)->m_stateMask
);
20096 resultobj
= SWIG_FromLong((long)result
);
20103 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
;
20105 wxListItem
*arg1
= (wxListItem
*) 0 ;
20106 wxString
*arg2
= (wxString
*) 0 ;
20107 bool temp2
= False
;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self",(char *) "m_text", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20118 arg2
= wxString_in_helper(obj1
);
20119 if (arg2
== NULL
) SWIG_fail
;
20122 if (arg1
) (arg1
)->m_text
= *arg2
;
20124 Py_INCREF(Py_None
); resultobj
= Py_None
;
20139 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20140 PyObject
*resultobj
;
20141 wxListItem
*arg1
= (wxListItem
*) 0 ;
20143 PyObject
* obj0
= 0 ;
20144 char *kwnames
[] = {
20145 (char *) "self", NULL
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20151 result
= (wxString
*)& ((arg1
)->m_text
);
20155 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20157 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20166 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxListItem
*arg1
= (wxListItem
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 PyObject
* obj1
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self",(char *) "m_image", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20179 arg2
= (int) SWIG_AsInt(obj1
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20181 if (arg1
) (arg1
)->m_image
= arg2
;
20183 Py_INCREF(Py_None
); resultobj
= Py_None
;
20190 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxListItem
*arg1
= (wxListItem
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20202 result
= (int) ((arg1
)->m_image
);
20204 resultobj
= SWIG_FromInt((int)result
);
20211 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxListItem
*arg1
= (wxListItem
*) 0 ;
20215 PyObject
* obj0
= 0 ;
20216 PyObject
* obj1
= 0 ;
20217 char *kwnames
[] = {
20218 (char *) "self",(char *) "m_data", NULL
20221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20224 arg2
= (long) SWIG_AsLong(obj1
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20226 if (arg1
) (arg1
)->m_data
= arg2
;
20228 Py_INCREF(Py_None
); resultobj
= Py_None
;
20235 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxListItem
*arg1
= (wxListItem
*) 0 ;
20239 PyObject
* obj0
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20247 result
= (long) ((arg1
)->m_data
);
20249 resultobj
= SWIG_FromLong((long)result
);
20256 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
;
20258 wxListItem
*arg1
= (wxListItem
*) 0 ;
20260 PyObject
* obj0
= 0 ;
20261 PyObject
* obj1
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "self",(char *) "m_format", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20269 arg2
= (int) SWIG_AsInt(obj1
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20271 if (arg1
) (arg1
)->m_format
= arg2
;
20273 Py_INCREF(Py_None
); resultobj
= Py_None
;
20280 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxListItem
*arg1
= (wxListItem
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 result
= (int) ((arg1
)->m_format
);
20294 resultobj
= SWIG_FromInt((int)result
);
20301 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
;
20303 wxListItem
*arg1
= (wxListItem
*) 0 ;
20305 PyObject
* obj0
= 0 ;
20306 PyObject
* obj1
= 0 ;
20307 char *kwnames
[] = {
20308 (char *) "self",(char *) "m_width", NULL
20311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20314 arg2
= (int) SWIG_AsInt(obj1
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20316 if (arg1
) (arg1
)->m_width
= arg2
;
20318 Py_INCREF(Py_None
); resultobj
= Py_None
;
20325 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 wxListItem
*arg1
= (wxListItem
*) 0 ;
20329 PyObject
* obj0
= 0 ;
20330 char *kwnames
[] = {
20331 (char *) "self", NULL
20334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20337 result
= (int) ((arg1
)->m_width
);
20339 resultobj
= SWIG_FromInt((int)result
);
20346 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20349 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20351 return Py_BuildValue((char *)"");
20353 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
;
20355 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20356 int arg2
= (int) 0 ;
20357 wxListEvent
*result
;
20358 PyObject
* obj0
= 0 ;
20359 PyObject
* obj1
= 0 ;
20360 char *kwnames
[] = {
20361 (char *) "commandType",(char *) "id", NULL
20364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20366 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20370 arg2
= (int) SWIG_AsInt(obj1
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20387 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20391 PyObject
* obj0
= 0 ;
20392 PyObject
* obj1
= 0 ;
20393 char *kwnames
[] = {
20394 (char *) "self",(char *) "m_code", NULL
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20400 arg2
= (int) SWIG_AsInt(obj1
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20402 if (arg1
) (arg1
)->m_code
= arg2
;
20404 Py_INCREF(Py_None
); resultobj
= Py_None
;
20411 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
;
20413 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20415 PyObject
* obj0
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20423 result
= (int) ((arg1
)->m_code
);
20425 resultobj
= SWIG_FromInt((int)result
);
20432 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 PyObject
* obj1
= 0 ;
20438 char *kwnames
[] = {
20439 (char *) "self",(char *) "m_oldItemIndex", NULL
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20445 arg2
= (long) SWIG_AsLong(obj1
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20447 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20449 Py_INCREF(Py_None
); resultobj
= Py_None
;
20456 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20460 PyObject
* obj0
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20468 result
= (long) ((arg1
)->m_oldItemIndex
);
20470 resultobj
= SWIG_FromLong((long)result
);
20477 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20481 PyObject
* obj0
= 0 ;
20482 PyObject
* obj1
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self",(char *) "m_itemIndex", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20490 arg2
= (long) SWIG_AsLong(obj1
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20492 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20494 Py_INCREF(Py_None
); resultobj
= Py_None
;
20501 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20505 PyObject
* obj0
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "self", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20513 result
= (long) ((arg1
)->m_itemIndex
);
20515 resultobj
= SWIG_FromLong((long)result
);
20522 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20526 PyObject
* obj0
= 0 ;
20527 PyObject
* obj1
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self",(char *) "m_col", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20535 arg2
= (int) SWIG_AsInt(obj1
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20537 if (arg1
) (arg1
)->m_col
= arg2
;
20539 Py_INCREF(Py_None
); resultobj
= Py_None
;
20546 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20558 result
= (int) ((arg1
)->m_col
);
20560 resultobj
= SWIG_FromInt((int)result
);
20567 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20570 wxPoint
*arg2
= (wxPoint
*) 0 ;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 char *kwnames
[] = {
20574 (char *) "self",(char *) "m_pointDrag", NULL
20577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20582 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20584 Py_INCREF(Py_None
); resultobj
= Py_None
;
20591 static PyObject
*_wrap_ListEvent_m_pointDrag_get(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_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20603 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20612 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
;
20614 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20615 wxListItem
*result
;
20616 PyObject
* obj0
= 0 ;
20617 char *kwnames
[] = {
20618 (char *) "self", NULL
20621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20624 result
= (wxListItem
*)& ((arg1
)->m_item
);
20627 resultobj
= wxPyMake_wxObject(result
, 0);
20635 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
;
20637 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20639 PyObject
* obj0
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "self", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 result
= (int)(arg1
)->GetKeyCode();
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= SWIG_FromInt((int)result
);
20661 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20665 PyObject
* obj0
= 0 ;
20666 char *kwnames
[] = {
20667 (char *) "self", NULL
20670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= (long)(arg1
)->GetIndex();
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 resultobj
= SWIG_FromLong((long)result
);
20687 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "self", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (int)(arg1
)->GetColumn();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= SWIG_FromInt((int)result
);
20713 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20717 PyObject
* obj0
= 0 ;
20718 char *kwnames
[] = {
20719 (char *) "self", NULL
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 result
= (arg1
)->GetPoint();
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20733 wxPoint
* resultptr
;
20734 resultptr
= new wxPoint((wxPoint
&) result
);
20735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20743 static PyObject
*_wrap_ListEvent_GetLabel(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_GetLabel",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();
20758 wxString
const &_result_ref
= (arg1
)->GetLabel();
20759 result
= (wxString
*) &_result_ref
;
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20769 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20778 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20782 PyObject
* obj0
= 0 ;
20783 char *kwnames
[] = {
20784 (char *) "self", NULL
20787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 wxString
const &_result_ref
= (arg1
)->GetText();
20794 result
= (wxString
*) &_result_ref
;
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20804 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20813 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (int)(arg1
)->GetImage();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= SWIG_FromInt((int)result
);
20839 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
;
20841 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20843 PyObject
* obj0
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 result
= (long)(arg1
)->GetData();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= SWIG_FromLong((long)result
);
20865 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
;
20867 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20869 PyObject
* obj0
= 0 ;
20870 char *kwnames
[] = {
20871 (char *) "self", NULL
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 result
= (long)(arg1
)->GetMask();
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20884 resultobj
= SWIG_FromLong((long)result
);
20891 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20892 PyObject
*resultobj
;
20893 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20894 wxListItem
*result
;
20895 PyObject
* obj0
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20907 result
= (wxListItem
*) &_result_ref
;
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20920 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20924 PyObject
* obj0
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "self", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20934 result
= (long)(arg1
)->GetCacheFrom();
20936 wxPyEndAllowThreads(__tstate
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20939 resultobj
= SWIG_FromLong((long)result
);
20946 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
;
20948 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20950 PyObject
* obj0
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (long)(arg1
)->GetCacheTo();
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= SWIG_FromLong((long)result
);
20972 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
;
20974 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20976 PyObject
* obj0
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21000 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 PyObject
* obj1
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self",(char *) "editCancelled", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21013 arg2
= (bool) SWIG_AsBool(obj1
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 (arg1
)->SetEditCanceled(arg2
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21022 Py_INCREF(Py_None
); resultobj
= Py_None
;
21029 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21032 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21034 return Py_BuildValue((char *)"");
21036 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
;
21038 wxWindow
*arg1
= (wxWindow
*) 0 ;
21039 int arg2
= (int) -1 ;
21040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21042 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21043 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21044 long arg5
= (long) wxLC_ICON
;
21045 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21046 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21047 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21049 wxPyListCtrl
*result
;
21052 bool temp7
= False
;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 PyObject
* obj2
= 0 ;
21056 PyObject
* obj3
= 0 ;
21057 PyObject
* obj4
= 0 ;
21058 PyObject
* obj5
= 0 ;
21059 PyObject
* obj6
= 0 ;
21060 char *kwnames
[] = {
21061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21068 arg2
= (int) SWIG_AsInt(obj1
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21074 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21080 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21084 arg5
= (long) SWIG_AsLong(obj4
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21088 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21091 if (arg6
== NULL
) {
21092 PyErr_SetString(PyExc_TypeError
,"null reference");
21098 arg7
= wxString_in_helper(obj6
);
21099 if (arg7
== NULL
) SWIG_fail
;
21104 if (!wxPyCheckForApp()) SWIG_fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21126 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxPyListCtrl
*result
;
21129 char *kwnames
[] = {
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21135 if (!wxPyCheckForApp()) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21149 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21151 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21152 wxWindow
*arg2
= (wxWindow
*) 0 ;
21153 int arg3
= (int) -1 ;
21154 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21155 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21156 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21157 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21158 long arg6
= (long) wxLC_ICON
;
21159 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21160 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21161 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21162 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21166 bool temp8
= False
;
21167 PyObject
* obj0
= 0 ;
21168 PyObject
* obj1
= 0 ;
21169 PyObject
* obj2
= 0 ;
21170 PyObject
* obj3
= 0 ;
21171 PyObject
* obj4
= 0 ;
21172 PyObject
* obj5
= 0 ;
21173 PyObject
* obj6
= 0 ;
21174 PyObject
* obj7
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21185 arg3
= (int) SWIG_AsInt(obj2
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21191 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21197 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21201 arg6
= (long) SWIG_AsLong(obj5
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21205 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21208 if (arg7
== NULL
) {
21209 PyErr_SetString(PyExc_TypeError
,"null reference");
21215 arg8
= wxString_in_helper(obj7
);
21216 if (arg8
== NULL
) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21244 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21247 PyObject
*arg2
= (PyObject
*) 0 ;
21248 PyObject
*arg3
= (PyObject
*) 0 ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 PyObject
* obj2
= 0 ;
21252 char *kwnames
[] = {
21253 (char *) "self",(char *) "self",(char *) "_class", NULL
21256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 Py_INCREF(Py_None
); resultobj
= Py_None
;
21275 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
;
21277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21278 wxColour
*arg2
= 0 ;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "self",(char *) "col", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21292 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21310 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21313 wxColour
*arg2
= 0 ;
21316 PyObject
* obj0
= 0 ;
21317 PyObject
* obj1
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self",(char *) "col", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21331 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21345 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21346 PyObject
*resultobj
;
21347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21349 wxListItem
*result
;
21350 PyObject
* obj0
= 0 ;
21351 PyObject
* obj1
= 0 ;
21352 char *kwnames
[] = {
21353 (char *) "self",(char *) "col", NULL
21356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21359 arg2
= (int) SWIG_AsInt(obj1
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21369 resultobj
= wxPyMake_wxObject(result
, 0);
21377 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21381 wxListItem
*arg3
= 0 ;
21383 PyObject
* obj0
= 0 ;
21384 PyObject
* obj1
= 0 ;
21385 PyObject
* obj2
= 0 ;
21386 char *kwnames
[] = {
21387 (char *) "self",(char *) "col",(char *) "item", NULL
21390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21393 arg2
= (int) SWIG_AsInt(obj1
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21395 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21398 if (arg3
== NULL
) {
21399 PyErr_SetString(PyExc_TypeError
,"null reference");
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21418 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self",(char *) "col", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21432 arg2
= (int) SWIG_AsInt(obj1
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21436 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 resultobj
= SWIG_FromInt((int)result
);
21448 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21454 PyObject
* obj0
= 0 ;
21455 PyObject
* obj1
= 0 ;
21456 PyObject
* obj2
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self",(char *) "col",(char *) "width", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21464 arg2
= (int) SWIG_AsInt(obj1
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21466 arg3
= (int) SWIG_AsInt(obj2
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21484 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21488 PyObject
* obj0
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_FromInt((int)result
);
21510 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21514 PyObject
* obj0
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "self", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21526 wxPyEndAllowThreads(__tstate
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21530 wxRect
* resultptr
;
21531 resultptr
= new wxRect((wxRect
&) result
);
21532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21540 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21544 int arg3
= (int) 0 ;
21545 wxListItem
*result
;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 PyObject
* obj2
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self",(char *) "itemId",(char *) "col", NULL
21553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 arg2
= (long) SWIG_AsLong(obj1
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 arg3
= (int) SWIG_AsInt(obj2
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= wxPyMake_wxObject(result
, 0);
21578 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21581 wxListItem
*arg2
= 0 ;
21583 PyObject
* obj0
= 0 ;
21584 PyObject
* obj1
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self",(char *) "info", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21595 if (arg2
== NULL
) {
21596 PyErr_SetString(PyExc_TypeError
,"null reference");
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 result
= (bool)(arg1
)->SetItem(*arg2
);
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21615 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21620 wxString
*arg4
= 0 ;
21621 int arg5
= (int) -1 ;
21623 bool temp4
= False
;
21624 PyObject
* obj0
= 0 ;
21625 PyObject
* obj1
= 0 ;
21626 PyObject
* obj2
= 0 ;
21627 PyObject
* obj3
= 0 ;
21628 PyObject
* obj4
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21636 arg2
= (long) SWIG_AsLong(obj1
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21638 arg3
= (int) SWIG_AsInt(obj2
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21641 arg4
= wxString_in_helper(obj3
);
21642 if (arg4
== NULL
) SWIG_fail
;
21646 arg5
= (int) SWIG_AsInt(obj4
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21653 wxPyEndAllowThreads(__tstate
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21656 resultobj
= SWIG_FromLong((long)result
);
21671 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21677 PyObject
* obj0
= 0 ;
21678 PyObject
* obj1
= 0 ;
21679 PyObject
* obj2
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21687 arg2
= (long) SWIG_AsLong(obj1
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21689 arg3
= (long) SWIG_AsLong(obj2
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 resultobj
= SWIG_FromInt((int)result
);
21705 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
;
21707 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21712 PyObject
* obj0
= 0 ;
21713 PyObject
* obj1
= 0 ;
21714 PyObject
* obj2
= 0 ;
21715 PyObject
* obj3
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21723 arg2
= (long) SWIG_AsLong(obj1
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21725 arg3
= (long) SWIG_AsLong(obj2
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21727 arg4
= (long) SWIG_AsLong(obj3
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21745 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21746 PyObject
*resultobj
;
21747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 PyObject
* obj2
= 0 ;
21755 PyObject
* obj3
= 0 ;
21756 char *kwnames
[] = {
21757 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21763 arg2
= (long) SWIG_AsLong(obj1
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21765 arg3
= (int) SWIG_AsInt(obj2
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21767 arg4
= (int) SWIG_AsInt(obj3
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21785 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
;
21787 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21790 PyObject
* obj0
= 0 ;
21791 PyObject
* obj1
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "self",(char *) "item", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21799 arg2
= (long) SWIG_AsLong(obj1
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21821 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21823 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21825 wxString
*arg3
= 0 ;
21826 bool temp3
= False
;
21827 PyObject
* obj0
= 0 ;
21828 PyObject
* obj1
= 0 ;
21829 PyObject
* obj2
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "self",(char *) "item",(char *) "str", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21837 arg2
= (long) SWIG_AsLong(obj1
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 arg3
= wxString_in_helper(obj2
);
21841 if (arg3
== NULL
) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 Py_INCREF(Py_None
); resultobj
= Py_None
;
21866 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "item", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 arg2
= (long) SWIG_AsLong(obj1
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= SWIG_FromLong((long)result
);
21896 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
;
21898 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 PyObject
* obj1
= 0 ;
21904 PyObject
* obj2
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self",(char *) "item",(char *) "data", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",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
;
21914 arg3
= (long) SWIG_AsLong(obj2
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21932 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self",(char *) "item", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 arg2
= (long) SWIG_AsLong(obj1
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21956 wxPoint
* resultptr
;
21957 resultptr
= new wxPoint((wxPoint
&) result
);
21958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21966 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21970 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 PyObject
* obj2
= 0 ;
21975 char *kwnames
[] = {
21976 (char *) "self",(char *) "item",(char *) "code", NULL
21979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21982 arg2
= (long) SWIG_AsLong(obj1
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 arg3
= (int) SWIG_AsInt(obj2
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21996 wxRect
* resultptr
;
21997 resultptr
= new wxRect((wxRect
&) result
);
21998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22006 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22007 PyObject
*resultobj
;
22008 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22010 wxPoint
*arg3
= 0 ;
22013 PyObject
* obj0
= 0 ;
22014 PyObject
* obj1
= 0 ;
22015 PyObject
* obj2
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self",(char *) "item",(char *) "pos", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22023 arg2
= (long) SWIG_AsLong(obj1
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22027 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22045 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
;
22047 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22049 PyObject
* obj0
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= SWIG_FromInt((int)result
);
22071 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22072 PyObject
*resultobj
;
22073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22075 PyObject
* obj0
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_FromInt((int)result
);
22097 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22101 PyObject
* obj0
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22117 wxSize
* resultptr
;
22118 resultptr
= new wxSize((wxSize
&) result
);
22119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22127 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
;
22129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22131 bool arg3
= (bool) False
;
22132 PyObject
* obj0
= 0 ;
22133 PyObject
* obj1
= 0 ;
22134 PyObject
* obj2
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22142 arg2
= (int) SWIG_AsInt(obj1
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 arg3
= (bool) SWIG_AsBool(obj2
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 (arg1
)->SetItemSpacing(arg2
,arg3
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 Py_INCREF(Py_None
); resultobj
= Py_None
;
22162 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22166 PyObject
* obj0
= 0 ;
22167 char *kwnames
[] = {
22168 (char *) "self", NULL
22171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22181 resultobj
= SWIG_FromInt((int)result
);
22188 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22192 PyObject
* obj0
= 0 ;
22193 char *kwnames
[] = {
22194 (char *) "self", NULL
22197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22208 wxColour
* resultptr
;
22209 resultptr
= new wxColour((wxColour
&) result
);
22210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22218 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22220 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22221 wxColour
*arg2
= 0 ;
22223 PyObject
* obj0
= 0 ;
22224 PyObject
* obj1
= 0 ;
22225 char *kwnames
[] = {
22226 (char *) "self",(char *) "col", NULL
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22234 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 Py_INCREF(Py_None
); resultobj
= Py_None
;
22250 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22251 PyObject
*resultobj
;
22252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22254 PyObject
* obj0
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22269 resultobj
= SWIG_FromLong((long)result
);
22276 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
;
22278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22280 bool arg3
= (bool) True
;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 PyObject
* obj2
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self",(char *) "style",(char *) "add", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22291 arg2
= (long) SWIG_AsLong(obj1
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22294 arg3
= (bool) SWIG_AsBool(obj2
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 (arg1
)->SetSingleStyle(arg2
,arg3
);
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22304 Py_INCREF(Py_None
); resultobj
= Py_None
;
22311 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22315 PyObject
* obj0
= 0 ;
22316 PyObject
* obj1
= 0 ;
22317 char *kwnames
[] = {
22318 (char *) "self",(char *) "style", NULL
22321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22324 arg2
= (long) SWIG_AsLong(obj1
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 (arg1
)->SetWindowStyleFlag(arg2
);
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22333 Py_INCREF(Py_None
); resultobj
= Py_None
;
22340 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22344 int arg3
= (int) wxLIST_NEXT_ALL
;
22345 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22347 PyObject
* obj0
= 0 ;
22348 PyObject
* obj1
= 0 ;
22349 PyObject
* obj2
= 0 ;
22350 PyObject
* obj3
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22358 arg2
= (long) SWIG_AsLong(obj1
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 arg3
= (int) SWIG_AsInt(obj2
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22365 arg4
= (int) SWIG_AsInt(obj3
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 resultobj
= SWIG_FromLong((long)result
);
22382 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
;
22384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22386 wxImageList
*result
;
22387 PyObject
* obj0
= 0 ;
22388 PyObject
* obj1
= 0 ;
22389 char *kwnames
[] = {
22390 (char *) "self",(char *) "which", NULL
22393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22396 arg2
= (int) SWIG_AsInt(obj1
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22406 resultobj
= wxPyMake_wxObject(result
, 0);
22414 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22415 PyObject
*resultobj
;
22416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22417 wxImageList
*arg2
= (wxImageList
*) 0 ;
22419 PyObject
* obj0
= 0 ;
22420 PyObject
* obj1
= 0 ;
22421 PyObject
* obj2
= 0 ;
22422 char *kwnames
[] = {
22423 (char *) "self",(char *) "imageList",(char *) "which", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22431 arg3
= (int) SWIG_AsInt(obj2
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 (arg1
)->SetImageList(arg2
,arg3
);
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 Py_INCREF(Py_None
); resultobj
= Py_None
;
22447 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22450 wxImageList
*arg2
= (wxImageList
*) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 PyObject
* obj1
= 0 ;
22454 PyObject
* obj2
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self",(char *) "imageList",(char *) "which", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22463 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22464 arg3
= (int) SWIG_AsInt(obj2
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 (arg1
)->AssignImageList(arg2
,arg3
);
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 Py_INCREF(Py_None
); resultobj
= Py_None
;
22480 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
;
22482 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22484 PyObject
* obj0
= 0 ;
22485 char *kwnames
[] = {
22486 (char *) "self", NULL
22489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22508 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 char *kwnames
[] = {
22514 (char *) "self", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22536 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22537 PyObject
*resultobj
;
22538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22540 PyObject
* obj0
= 0 ;
22541 PyObject
* obj1
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "self",(char *) "item", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22549 arg2
= (long) SWIG_AsLong(obj1
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 (arg1
)->RefreshItem(arg2
);
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 Py_INCREF(Py_None
); resultobj
= Py_None
;
22565 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22570 PyObject
* obj0
= 0 ;
22571 PyObject
* obj1
= 0 ;
22572 PyObject
* obj2
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22580 arg2
= (long) SWIG_AsLong(obj1
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22582 arg3
= (long) SWIG_AsLong(obj2
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 (arg1
)->RefreshItems(arg2
,arg3
);
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 Py_INCREF(Py_None
); resultobj
= Py_None
;
22598 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22601 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22603 PyObject
* obj0
= 0 ;
22604 PyObject
* obj1
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self",(char *) "flag", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22613 arg2
= (int) SWIG_AsInt(obj1
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 result
= (bool)(arg1
)->Arrange(arg2
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22632 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 PyObject
* obj1
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self",(char *) "item", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22646 arg2
= (long) SWIG_AsLong(obj1
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 result
= (bool)(arg1
)->DeleteItem(arg2
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22664 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 result
= (bool)(arg1
)->DeleteAllItems();
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22692 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 PyObject
* obj1
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self",(char *) "col", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22706 arg2
= (int) SWIG_AsInt(obj1
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22724 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 char *kwnames
[] = {
22730 (char *) "self", NULL
22733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 result
= (bool)(arg1
)->DeleteAllColumns();
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22752 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22755 PyObject
* obj0
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 (arg1
)->ClearAll();
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 Py_INCREF(Py_None
); resultobj
= Py_None
;
22777 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
;
22779 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22781 PyObject
* obj0
= 0 ;
22782 PyObject
* obj1
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self",(char *) "item", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22790 arg2
= (long) SWIG_AsLong(obj1
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 (arg1
)->EditLabel(arg2
);
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 Py_INCREF(Py_None
); resultobj
= Py_None
;
22806 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22811 PyObject
* obj0
= 0 ;
22812 PyObject
* obj1
= 0 ;
22813 char *kwnames
[] = {
22814 (char *) "self",(char *) "item", NULL
22817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22820 arg2
= (long) SWIG_AsLong(obj1
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22838 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
;
22840 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22842 wxString
*arg3
= 0 ;
22843 bool arg4
= (bool) False
;
22845 bool temp3
= False
;
22846 PyObject
* obj0
= 0 ;
22847 PyObject
* obj1
= 0 ;
22848 PyObject
* obj2
= 0 ;
22849 PyObject
* obj3
= 0 ;
22850 char *kwnames
[] = {
22851 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22857 arg2
= (long) SWIG_AsLong(obj1
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22860 arg3
= wxString_in_helper(obj2
);
22861 if (arg3
== NULL
) SWIG_fail
;
22865 arg4
= (bool) SWIG_AsBool(obj3
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= SWIG_FromLong((long)result
);
22890 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22896 PyObject
* obj0
= 0 ;
22897 PyObject
* obj1
= 0 ;
22898 PyObject
* obj2
= 0 ;
22899 char *kwnames
[] = {
22900 (char *) "self",(char *) "start",(char *) "data", NULL
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22906 arg2
= (long) SWIG_AsLong(obj1
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22908 arg3
= (long) SWIG_AsLong(obj2
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= SWIG_FromLong((long)result
);
22924 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
;
22926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22928 wxPoint
*arg3
= 0 ;
22932 PyObject
* obj0
= 0 ;
22933 PyObject
* obj1
= 0 ;
22934 PyObject
* obj2
= 0 ;
22935 PyObject
* obj3
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22943 arg2
= (long) SWIG_AsLong(obj1
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22947 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22949 arg4
= (int) SWIG_AsInt(obj3
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22958 resultobj
= SWIG_FromLong((long)result
);
22965 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22966 PyObject
*resultobj
;
22967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22968 wxPoint
*arg2
= 0 ;
22973 PyObject
* obj0
= 0 ;
22974 PyObject
* obj1
= 0 ;
22975 char *kwnames
[] = {
22976 (char *) "self",(char *) "point", NULL
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22985 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= SWIG_FromLong((long)result
);
22996 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22997 resultobj
= t_output_helper(resultobj
,o
);
23005 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23006 PyObject
*resultobj
;
23007 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23008 wxListItem
*arg2
= 0 ;
23010 PyObject
* obj0
= 0 ;
23011 PyObject
* obj1
= 0 ;
23012 char *kwnames
[] = {
23013 (char *) "self",(char *) "info", NULL
23016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23022 if (arg2
== NULL
) {
23023 PyErr_SetString(PyExc_TypeError
,"null reference");
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 result
= (long)(arg1
)->InsertItem(*arg2
);
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 resultobj
= SWIG_FromLong((long)result
);
23040 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23041 PyObject
*resultobj
;
23042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23044 wxString
*arg3
= 0 ;
23046 bool temp3
= False
;
23047 PyObject
* obj0
= 0 ;
23048 PyObject
* obj1
= 0 ;
23049 PyObject
* obj2
= 0 ;
23050 char *kwnames
[] = {
23051 (char *) "self",(char *) "index",(char *) "label", NULL
23054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23057 arg2
= (long) SWIG_AsLong(obj1
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 arg3
= wxString_in_helper(obj2
);
23061 if (arg3
== NULL
) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= SWIG_FromLong((long)result
);
23086 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23092 PyObject
* obj0
= 0 ;
23093 PyObject
* obj1
= 0 ;
23094 PyObject
* obj2
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23102 arg2
= (long) SWIG_AsLong(obj1
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23104 arg3
= (int) SWIG_AsInt(obj2
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= SWIG_FromLong((long)result
);
23120 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23124 wxString
*arg3
= 0 ;
23127 bool temp3
= False
;
23128 PyObject
* obj0
= 0 ;
23129 PyObject
* obj1
= 0 ;
23130 PyObject
* obj2
= 0 ;
23131 PyObject
* obj3
= 0 ;
23132 char *kwnames
[] = {
23133 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23139 arg2
= (long) SWIG_AsLong(obj1
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 arg3
= wxString_in_helper(obj2
);
23143 if (arg3
== NULL
) SWIG_fail
;
23146 arg4
= (int) SWIG_AsInt(obj3
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 resultobj
= SWIG_FromLong((long)result
);
23170 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
;
23172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23174 wxListItem
*arg3
= 0 ;
23176 PyObject
* obj0
= 0 ;
23177 PyObject
* obj1
= 0 ;
23178 PyObject
* obj2
= 0 ;
23179 char *kwnames
[] = {
23180 (char *) "self",(char *) "col",(char *) "info", NULL
23183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23186 arg2
= (long) SWIG_AsLong(obj1
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23188 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23189 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23191 if (arg3
== NULL
) {
23192 PyErr_SetString(PyExc_TypeError
,"null reference");
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23202 resultobj
= SWIG_FromLong((long)result
);
23209 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23210 PyObject
*resultobj
;
23211 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23213 wxString
*arg3
= 0 ;
23214 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23215 int arg5
= (int) -1 ;
23217 bool temp3
= False
;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 PyObject
* obj2
= 0 ;
23221 PyObject
* obj3
= 0 ;
23222 PyObject
* obj4
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23230 arg2
= (long) SWIG_AsLong(obj1
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 arg3
= wxString_in_helper(obj2
);
23234 if (arg3
== NULL
) SWIG_fail
;
23238 arg4
= (int) SWIG_AsInt(obj3
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23242 arg5
= (int) SWIG_AsInt(obj4
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23252 resultobj
= SWIG_FromLong((long)result
);
23267 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23271 PyObject
* obj0
= 0 ;
23272 PyObject
* obj1
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self",(char *) "count", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23280 arg2
= (long) SWIG_AsLong(obj1
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 (arg1
)->SetItemCount(arg2
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 Py_INCREF(Py_None
); resultobj
= Py_None
;
23296 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23302 PyObject
* obj0
= 0 ;
23303 PyObject
* obj1
= 0 ;
23304 PyObject
* obj2
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "dx",(char *) "dy", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23312 arg2
= (int) SWIG_AsInt(obj1
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23314 arg3
= (int) SWIG_AsInt(obj2
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23332 static PyObject
*_wrap_ListCtrl_SetItemTextColour(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_SetItemTextColour",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
)->SetItemTextColour(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_GetItemTextColour(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_GetItemTextColour",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
)->GetItemTextColour(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_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23406 wxColour
*arg3
= 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 PyObject
* obj2
= 0 ;
23411 char *kwnames
[] = {
23412 (char *) "self",(char *) "item",(char *) "col", NULL
23415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23418 arg2
= (long) SWIG_AsLong(obj1
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23422 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 Py_INCREF(Py_None
); resultobj
= Py_None
;
23438 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23443 PyObject
* obj0
= 0 ;
23444 PyObject
* obj1
= 0 ;
23445 char *kwnames
[] = {
23446 (char *) "self",(char *) "item", NULL
23449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23452 arg2
= (long) SWIG_AsLong(obj1
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23462 wxColour
* resultptr
;
23463 resultptr
= new wxColour((wxColour
&) result
);
23464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23472 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23475 PyObject
*arg2
= (PyObject
*) 0 ;
23477 PyObject
* obj0
= 0 ;
23478 PyObject
* obj1
= 0 ;
23479 char *kwnames
[] = {
23480 (char *) "self",(char *) "func", NULL
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23503 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= wxPyMake_wxObject(result
, 0);
23531 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
;
23533 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23534 wxVisualAttributes result
;
23535 PyObject
* obj0
= 0 ;
23536 char *kwnames
[] = {
23537 (char *) "variant", NULL
23540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23542 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23546 if (!wxPyCheckForApp()) SWIG_fail
;
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23554 wxVisualAttributes
* resultptr
;
23555 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23564 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23567 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23569 return Py_BuildValue((char *)"");
23571 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 wxWindow
*arg1
= (wxWindow
*) 0 ;
23574 int arg2
= (int) -1 ;
23575 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23576 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23577 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23578 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23579 long arg5
= (long) wxLC_REPORT
;
23580 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23581 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23582 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23583 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23584 wxListView
*result
;
23587 bool temp7
= False
;
23588 PyObject
* obj0
= 0 ;
23589 PyObject
* obj1
= 0 ;
23590 PyObject
* obj2
= 0 ;
23591 PyObject
* obj3
= 0 ;
23592 PyObject
* obj4
= 0 ;
23593 PyObject
* obj5
= 0 ;
23594 PyObject
* obj6
= 0 ;
23595 char *kwnames
[] = {
23596 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23603 arg2
= (int) SWIG_AsInt(obj1
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23609 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23615 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23619 arg5
= (long) SWIG_AsLong(obj4
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23623 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23626 if (arg6
== NULL
) {
23627 PyErr_SetString(PyExc_TypeError
,"null reference");
23633 arg7
= wxString_in_helper(obj6
);
23634 if (arg7
== NULL
) SWIG_fail
;
23639 if (!wxPyCheckForApp()) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23661 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
;
23663 wxListView
*result
;
23664 char *kwnames
[] = {
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23670 if (!wxPyCheckForApp()) SWIG_fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= (wxListView
*)new wxListView();
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23684 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
;
23686 wxListView
*arg1
= (wxListView
*) 0 ;
23687 wxWindow
*arg2
= (wxWindow
*) 0 ;
23688 int arg3
= (int) -1 ;
23689 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23690 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23691 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23692 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23693 long arg6
= (long) wxLC_REPORT
;
23694 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23695 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23696 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23697 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23701 bool temp8
= False
;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 PyObject
* obj2
= 0 ;
23705 PyObject
* obj3
= 0 ;
23706 PyObject
* obj4
= 0 ;
23707 PyObject
* obj5
= 0 ;
23708 PyObject
* obj6
= 0 ;
23709 PyObject
* obj7
= 0 ;
23710 char *kwnames
[] = {
23711 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23720 arg3
= (int) SWIG_AsInt(obj2
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23726 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23732 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23736 arg6
= (long) SWIG_AsLong(obj5
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23740 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23743 if (arg7
== NULL
) {
23744 PyErr_SetString(PyExc_TypeError
,"null reference");
23750 arg8
= wxString_in_helper(obj7
);
23751 if (arg8
== NULL
) SWIG_fail
;
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23779 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23781 wxListView
*arg1
= (wxListView
*) 0 ;
23783 bool arg3
= (bool) True
;
23784 PyObject
* obj0
= 0 ;
23785 PyObject
* obj1
= 0 ;
23786 PyObject
* obj2
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "self",(char *) "n",(char *) "on", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23794 arg2
= (long) SWIG_AsLong(obj1
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23797 arg3
= (bool) SWIG_AsBool(obj2
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 (arg1
)->Select(arg2
,arg3
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 Py_INCREF(Py_None
); resultobj
= Py_None
;
23814 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23816 wxListView
*arg1
= (wxListView
*) 0 ;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self",(char *) "index", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23827 arg2
= (long) SWIG_AsLong(obj1
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 (arg1
)->Focus(arg2
);
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 Py_INCREF(Py_None
); resultobj
= Py_None
;
23843 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
;
23845 wxListView
*arg1
= (wxListView
*) 0 ;
23847 PyObject
* obj0
= 0 ;
23848 char *kwnames
[] = {
23849 (char *) "self", NULL
23852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23862 resultobj
= SWIG_FromLong((long)result
);
23869 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23870 PyObject
*resultobj
;
23871 wxListView
*arg1
= (wxListView
*) 0 ;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self",(char *) "item", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23883 arg2
= (long) SWIG_AsLong(obj1
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= SWIG_FromLong((long)result
);
23899 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
;
23901 wxListView
*arg1
= (wxListView
*) 0 ;
23903 PyObject
* obj0
= 0 ;
23904 char *kwnames
[] = {
23905 (char *) "self", NULL
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= SWIG_FromLong((long)result
);
23925 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23926 PyObject
*resultobj
;
23927 wxListView
*arg1
= (wxListView
*) 0 ;
23930 PyObject
* obj0
= 0 ;
23931 PyObject
* obj1
= 0 ;
23932 char *kwnames
[] = {
23933 (char *) "self",(char *) "index", NULL
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23939 arg2
= (long) SWIG_AsLong(obj1
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 result
= (bool)(arg1
)->IsSelected(arg2
);
23945 wxPyEndAllowThreads(__tstate
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23957 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23958 PyObject
*resultobj
;
23959 wxListView
*arg1
= (wxListView
*) 0 ;
23962 PyObject
* obj0
= 0 ;
23963 PyObject
* obj1
= 0 ;
23964 PyObject
* obj2
= 0 ;
23965 char *kwnames
[] = {
23966 (char *) "self",(char *) "col",(char *) "image", NULL
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23972 arg2
= (int) SWIG_AsInt(obj1
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23974 arg3
= (int) SWIG_AsInt(obj2
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 (arg1
)->SetColumnImage(arg2
,arg3
);
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 Py_INCREF(Py_None
); resultobj
= Py_None
;
23990 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23992 wxListView
*arg1
= (wxListView
*) 0 ;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "self",(char *) "col", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24003 arg2
= (int) SWIG_AsInt(obj1
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->ClearColumnImage(arg2
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
24021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24022 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24024 return Py_BuildValue((char *)"");
24026 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24027 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24032 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24037 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24039 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24046 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
;
24048 wxTreeItemId
*result
;
24049 char *kwnames
[] = {
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (wxTreeItemId
*)new wxTreeItemId();
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24068 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
;
24070 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 Py_INCREF(Py_None
); resultobj
= Py_None
;
24093 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24097 PyObject
* obj0
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24121 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
;
24123 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24124 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 PyObject
* obj1
= 0 ;
24128 char *kwnames
[] = {
24129 (char *) "self",(char *) "other", NULL
24132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24153 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
;
24155 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24156 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24158 PyObject
* obj0
= 0 ;
24159 PyObject
* obj1
= 0 ;
24160 char *kwnames
[] = {
24161 (char *) "self",(char *) "other", NULL
24164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24185 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24188 void *arg2
= (void *) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 PyObject
* obj1
= 0 ;
24191 char *kwnames
[] = {
24192 (char *) "self",(char *) "m_pItem", NULL
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24198 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24199 if (arg1
) (arg1
)->m_pItem
= arg2
;
24201 Py_INCREF(Py_None
); resultobj
= Py_None
;
24208 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24212 PyObject
* obj0
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24220 result
= (void *) ((arg1
)->m_pItem
);
24222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24229 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24232 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24234 return Py_BuildValue((char *)"");
24236 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 PyObject
*arg1
= (PyObject
*) NULL
;
24239 wxPyTreeItemData
*result
;
24240 PyObject
* obj0
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "obj", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24263 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= (PyObject
*)(arg1
)->GetData();
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= result
;
24289 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24292 PyObject
*arg2
= (PyObject
*) 0 ;
24293 PyObject
* obj0
= 0 ;
24294 PyObject
* obj1
= 0 ;
24295 char *kwnames
[] = {
24296 (char *) "self",(char *) "obj", NULL
24299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 (arg1
)->SetData(arg2
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24310 Py_INCREF(Py_None
); resultobj
= Py_None
;
24317 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24318 PyObject
*resultobj
;
24319 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24320 wxTreeItemId
*result
;
24321 PyObject
* obj0
= 0 ;
24322 char *kwnames
[] = {
24323 (char *) "self", NULL
24326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24333 result
= (wxTreeItemId
*) &_result_ref
;
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24346 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24348 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24349 wxTreeItemId
*arg2
= 0 ;
24350 PyObject
* obj0
= 0 ;
24351 PyObject
* obj1
= 0 ;
24352 char *kwnames
[] = {
24353 (char *) "self",(char *) "id", NULL
24356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24362 if (arg2
== NULL
) {
24363 PyErr_SetString(PyExc_TypeError
,"null reference");
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 Py_INCREF(Py_None
); resultobj
= Py_None
;
24380 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24383 PyObject
* obj0
= 0 ;
24384 char *kwnames
[] = {
24385 (char *) "self", NULL
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 wxPyTreeItemData_Destroy(arg1
);
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24398 Py_INCREF(Py_None
); resultobj
= Py_None
;
24405 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24408 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24410 return Py_BuildValue((char *)"");
24412 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24415 int arg2
= (int) 0 ;
24416 wxTreeEvent
*result
;
24417 PyObject
* obj0
= 0 ;
24418 PyObject
* obj1
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "commandType",(char *) "id", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24425 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24429 arg2
= (int) SWIG_AsInt(obj1
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24434 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24446 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
;
24448 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24449 wxTreeItemId result
;
24450 PyObject
* obj0
= 0 ;
24451 char *kwnames
[] = {
24452 (char *) "self", NULL
24455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24466 wxTreeItemId
* resultptr
;
24467 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24476 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24479 wxTreeItemId
*arg2
= 0 ;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 char *kwnames
[] = {
24483 (char *) "self",(char *) "item", NULL
24486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24492 if (arg2
== NULL
) {
24493 PyErr_SetString(PyExc_TypeError
,"null reference");
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 Py_INCREF(Py_None
); resultobj
= Py_None
;
24510 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
;
24512 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24513 wxTreeItemId result
;
24514 PyObject
* obj0
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24530 wxTreeItemId
* resultptr
;
24531 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24540 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24543 wxTreeItemId
*arg2
= 0 ;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24546 char *kwnames
[] = {
24547 (char *) "self",(char *) "item", NULL
24550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24556 if (arg2
== NULL
) {
24557 PyErr_SetString(PyExc_TypeError
,"null reference");
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 Py_INCREF(Py_None
); resultobj
= Py_None
;
24574 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
;
24576 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24588 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24590 wxPyEndAllowThreads(__tstate
);
24591 if (PyErr_Occurred()) SWIG_fail
;
24594 wxPoint
* resultptr
;
24595 resultptr
= new wxPoint((wxPoint
&) result
);
24596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24604 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
;
24606 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24607 wxPoint
*arg2
= 0 ;
24609 PyObject
* obj0
= 0 ;
24610 PyObject
* obj1
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self",(char *) "pt", NULL
24615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 Py_INCREF(Py_None
); resultobj
= Py_None
;
24636 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
;
24638 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24639 wxKeyEvent
*result
;
24640 PyObject
* obj0
= 0 ;
24641 char *kwnames
[] = {
24642 (char *) "self", NULL
24645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24652 result
= (wxKeyEvent
*) &_result_ref
;
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24665 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24669 PyObject
* obj0
= 0 ;
24670 char *kwnames
[] = {
24671 (char *) "self", NULL
24674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24679 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24684 resultobj
= SWIG_FromInt((int)result
);
24691 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24692 PyObject
*resultobj
;
24693 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24694 wxKeyEvent
*arg2
= 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 char *kwnames
[] = {
24698 (char *) "self",(char *) "evt", NULL
24701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24707 if (arg2
== NULL
) {
24708 PyErr_SetString(PyExc_TypeError
,"null reference");
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24718 Py_INCREF(Py_None
); resultobj
= Py_None
;
24725 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
;
24727 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24729 PyObject
* obj0
= 0 ;
24730 char *kwnames
[] = {
24731 (char *) "self", NULL
24734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24741 result
= (wxString
*) &_result_ref
;
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24751 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24760 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24761 PyObject
*resultobj
;
24762 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24763 wxString
*arg2
= 0 ;
24764 bool temp2
= False
;
24765 PyObject
* obj0
= 0 ;
24766 PyObject
* obj1
= 0 ;
24767 char *kwnames
[] = {
24768 (char *) "self",(char *) "label", NULL
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24775 arg2
= wxString_in_helper(obj1
);
24776 if (arg2
== NULL
) SWIG_fail
;
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 (arg1
)->SetLabel((wxString
const &)*arg2
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 Py_INCREF(Py_None
); resultobj
= Py_None
;
24801 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24805 PyObject
* obj0
= 0 ;
24806 char *kwnames
[] = {
24807 (char *) "self", NULL
24810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24829 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
;
24831 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self",(char *) "editCancelled", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24842 arg2
= (bool) SWIG_AsBool(obj1
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 (arg1
)->SetEditCanceled(arg2
);
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 Py_INCREF(Py_None
); resultobj
= Py_None
;
24858 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24861 wxString
*arg2
= 0 ;
24862 bool temp2
= False
;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self",(char *) "toolTip", NULL
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24873 arg2
= wxString_in_helper(obj1
);
24874 if (arg2
== NULL
) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 Py_INCREF(Py_None
); resultobj
= Py_None
;
24899 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24902 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24904 return Py_BuildValue((char *)"");
24906 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
;
24908 wxWindow
*arg1
= (wxWindow
*) 0 ;
24909 int arg2
= (int) -1 ;
24910 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24911 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24912 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24913 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24914 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24915 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24916 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24917 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24918 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24919 wxPyTreeCtrl
*result
;
24922 bool temp7
= False
;
24923 PyObject
* obj0
= 0 ;
24924 PyObject
* obj1
= 0 ;
24925 PyObject
* obj2
= 0 ;
24926 PyObject
* obj3
= 0 ;
24927 PyObject
* obj4
= 0 ;
24928 PyObject
* obj5
= 0 ;
24929 PyObject
* obj6
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24938 arg2
= (int) SWIG_AsInt(obj1
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24944 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24950 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24954 arg5
= (long) SWIG_AsLong(obj4
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24958 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24961 if (arg6
== NULL
) {
24962 PyErr_SetString(PyExc_TypeError
,"null reference");
24968 arg7
= wxString_in_helper(obj6
);
24969 if (arg7
== NULL
) SWIG_fail
;
24974 if (!wxPyCheckForApp()) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= wxPyMake_wxObject(result
, 1);
24998 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
;
25000 wxPyTreeCtrl
*result
;
25001 char *kwnames
[] = {
25005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25007 if (!wxPyCheckForApp()) SWIG_fail
;
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25015 resultobj
= wxPyMake_wxObject(result
, 1);
25023 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
;
25025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25026 wxWindow
*arg2
= (wxWindow
*) 0 ;
25027 int arg3
= (int) -1 ;
25028 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25029 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25030 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25031 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25032 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25033 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25034 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25035 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25036 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25040 bool temp8
= False
;
25041 PyObject
* obj0
= 0 ;
25042 PyObject
* obj1
= 0 ;
25043 PyObject
* obj2
= 0 ;
25044 PyObject
* obj3
= 0 ;
25045 PyObject
* obj4
= 0 ;
25046 PyObject
* obj5
= 0 ;
25047 PyObject
* obj6
= 0 ;
25048 PyObject
* obj7
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25059 arg3
= (int) SWIG_AsInt(obj2
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25065 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25071 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25075 arg6
= (long) SWIG_AsLong(obj5
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25079 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25082 if (arg7
== NULL
) {
25083 PyErr_SetString(PyExc_TypeError
,"null reference");
25089 arg8
= wxString_in_helper(obj7
);
25090 if (arg8
== NULL
) SWIG_fail
;
25095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25096 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25118 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
;
25120 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25121 PyObject
*arg2
= (PyObject
*) 0 ;
25122 PyObject
*arg3
= (PyObject
*) 0 ;
25123 PyObject
* obj0
= 0 ;
25124 PyObject
* obj1
= 0 ;
25125 PyObject
* obj2
= 0 ;
25126 char *kwnames
[] = {
25127 (char *) "self",(char *) "self",(char *) "_class", NULL
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25142 Py_INCREF(Py_None
); resultobj
= Py_None
;
25149 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
;
25151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25153 PyObject
* obj0
= 0 ;
25154 char *kwnames
[] = {
25155 (char *) "self", NULL
25158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25165 wxPyEndAllowThreads(__tstate
);
25166 if (PyErr_Occurred()) SWIG_fail
;
25168 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25175 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
;
25177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25178 unsigned int result
;
25179 PyObject
* obj0
= 0 ;
25180 char *kwnames
[] = {
25181 (char *) "self", NULL
25184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25201 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25204 unsigned int arg2
;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "self",(char *) "indent", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25214 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 (arg1
)->SetIndent(arg2
);
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 Py_INCREF(Py_None
); resultobj
= Py_None
;
25230 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
;
25232 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25233 unsigned int result
;
25234 PyObject
* obj0
= 0 ;
25235 char *kwnames
[] = {
25236 (char *) "self", NULL
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25256 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25257 PyObject
*resultobj
;
25258 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25259 unsigned int arg2
;
25260 PyObject
* obj0
= 0 ;
25261 PyObject
* obj1
= 0 ;
25262 char *kwnames
[] = {
25263 (char *) "self",(char *) "spacing", NULL
25266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25269 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 (arg1
)->SetSpacing(arg2
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 Py_INCREF(Py_None
); resultobj
= Py_None
;
25285 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25288 wxImageList
*result
;
25289 PyObject
* obj0
= 0 ;
25290 char *kwnames
[] = {
25291 (char *) "self", NULL
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25305 resultobj
= wxPyMake_wxObject(result
, 0);
25313 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
;
25315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25316 wxImageList
*result
;
25317 PyObject
* obj0
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= wxPyMake_wxObject(result
, 0);
25341 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
;
25343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25344 wxImageList
*arg2
= (wxImageList
*) 0 ;
25345 PyObject
* obj0
= 0 ;
25346 PyObject
* obj1
= 0 ;
25347 char *kwnames
[] = {
25348 (char *) "self",(char *) "imageList", NULL
25351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 (arg1
)->SetImageList(arg2
);
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25363 Py_INCREF(Py_None
); resultobj
= Py_None
;
25370 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25371 PyObject
*resultobj
;
25372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25373 wxImageList
*arg2
= (wxImageList
*) 0 ;
25374 PyObject
* obj0
= 0 ;
25375 PyObject
* obj1
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "self",(char *) "imageList", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 (arg1
)->SetStateImageList(arg2
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 Py_INCREF(Py_None
); resultobj
= Py_None
;
25399 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25402 wxImageList
*arg2
= (wxImageList
*) 0 ;
25403 PyObject
* obj0
= 0 ;
25404 PyObject
* obj1
= 0 ;
25405 char *kwnames
[] = {
25406 (char *) "self",(char *) "imageList", NULL
25409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25413 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 (arg1
)->AssignImageList(arg2
);
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 Py_INCREF(Py_None
); resultobj
= Py_None
;
25428 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
;
25430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25431 wxImageList
*arg2
= (wxImageList
*) 0 ;
25432 PyObject
* obj0
= 0 ;
25433 PyObject
* obj1
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "self",(char *) "imageList", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25442 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25445 (arg1
)->AssignStateImageList(arg2
);
25447 wxPyEndAllowThreads(__tstate
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25450 Py_INCREF(Py_None
); resultobj
= Py_None
;
25457 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25458 PyObject
*resultobj
;
25459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25460 wxTreeItemId
*arg2
= 0 ;
25462 PyObject
* obj0
= 0 ;
25463 PyObject
* obj1
= 0 ;
25464 char *kwnames
[] = {
25465 (char *) "self",(char *) "item", NULL
25468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25474 if (arg2
== NULL
) {
25475 PyErr_SetString(PyExc_TypeError
,"null reference");
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25498 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25499 PyObject
*resultobj
;
25500 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25501 wxTreeItemId
*arg2
= 0 ;
25502 int arg3
= (int) wxTreeItemIcon_Normal
;
25504 PyObject
* obj0
= 0 ;
25505 PyObject
* obj1
= 0 ;
25506 PyObject
* obj2
= 0 ;
25507 char *kwnames
[] = {
25508 (char *) "self",(char *) "item",(char *) "which", NULL
25511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25517 if (arg2
== NULL
) {
25518 PyErr_SetString(PyExc_TypeError
,"null reference");
25522 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 resultobj
= SWIG_FromInt((int)result
);
25539 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
;
25541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25542 wxTreeItemId
*arg2
= 0 ;
25543 wxPyTreeItemData
*result
;
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_GetItemData",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
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25564 wxPyEndAllowThreads(__tstate
);
25565 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25574 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25575 PyObject
*resultobj
;
25576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25577 wxTreeItemId
*arg2
= 0 ;
25579 PyObject
* obj0
= 0 ;
25580 PyObject
* obj1
= 0 ;
25581 char *kwnames
[] = {
25582 (char *) "self",(char *) "item", NULL
25585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25591 if (arg2
== NULL
) {
25592 PyErr_SetString(PyExc_TypeError
,"null reference");
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= result
;
25609 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25610 PyObject
*resultobj
;
25611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25612 wxTreeItemId
*arg2
= 0 ;
25614 PyObject
* obj0
= 0 ;
25615 PyObject
* obj1
= 0 ;
25616 char *kwnames
[] = {
25617 (char *) "self",(char *) "item", NULL
25620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25626 if (arg2
== NULL
) {
25627 PyErr_SetString(PyExc_TypeError
,"null reference");
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25638 wxColour
* resultptr
;
25639 resultptr
= new wxColour((wxColour
&) result
);
25640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25648 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
;
25650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25651 wxTreeItemId
*arg2
= 0 ;
25653 PyObject
* obj0
= 0 ;
25654 PyObject
* obj1
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "self",(char *) "item", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25665 if (arg2
== NULL
) {
25666 PyErr_SetString(PyExc_TypeError
,"null reference");
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25677 wxColour
* resultptr
;
25678 resultptr
= new wxColour((wxColour
&) result
);
25679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25687 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25690 wxTreeItemId
*arg2
= 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self",(char *) "item", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25704 if (arg2
== NULL
) {
25705 PyErr_SetString(PyExc_TypeError
,"null reference");
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25716 wxFont
* resultptr
;
25717 resultptr
= new wxFont((wxFont
&) result
);
25718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25726 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25727 PyObject
*resultobj
;
25728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25729 wxTreeItemId
*arg2
= 0 ;
25730 wxString
*arg3
= 0 ;
25731 bool temp3
= False
;
25732 PyObject
* obj0
= 0 ;
25733 PyObject
* obj1
= 0 ;
25734 PyObject
* obj2
= 0 ;
25735 char *kwnames
[] = {
25736 (char *) "self",(char *) "item",(char *) "text", NULL
25739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25745 if (arg2
== NULL
) {
25746 PyErr_SetString(PyExc_TypeError
,"null reference");
25750 arg3
= wxString_in_helper(obj2
);
25751 if (arg3
== NULL
) SWIG_fail
;
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25761 Py_INCREF(Py_None
); resultobj
= Py_None
;
25776 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
;
25778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25779 wxTreeItemId
*arg2
= 0 ;
25781 int arg4
= (int) wxTreeItemIcon_Normal
;
25782 PyObject
* obj0
= 0 ;
25783 PyObject
* obj1
= 0 ;
25784 PyObject
* obj2
= 0 ;
25785 PyObject
* obj3
= 0 ;
25786 char *kwnames
[] = {
25787 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25796 if (arg2
== NULL
) {
25797 PyErr_SetString(PyExc_TypeError
,"null reference");
25800 arg3
= (int) SWIG_AsInt(obj2
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25813 Py_INCREF(Py_None
); resultobj
= Py_None
;
25820 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25821 PyObject
*resultobj
;
25822 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25823 wxTreeItemId
*arg2
= 0 ;
25824 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25825 PyObject
* obj0
= 0 ;
25826 PyObject
* obj1
= 0 ;
25827 PyObject
* obj2
= 0 ;
25828 char *kwnames
[] = {
25829 (char *) "self",(char *) "item",(char *) "data", NULL
25832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25838 if (arg2
== NULL
) {
25839 PyErr_SetString(PyExc_TypeError
,"null reference");
25842 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 Py_INCREF(Py_None
); resultobj
= Py_None
;
25858 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
;
25860 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25861 wxTreeItemId
*arg2
= 0 ;
25862 PyObject
*arg3
= (PyObject
*) 0 ;
25863 PyObject
* obj0
= 0 ;
25864 PyObject
* obj1
= 0 ;
25865 PyObject
* obj2
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "self",(char *) "item",(char *) "obj", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25876 if (arg2
== NULL
) {
25877 PyErr_SetString(PyExc_TypeError
,"null reference");
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25888 Py_INCREF(Py_None
); resultobj
= Py_None
;
25895 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
;
25897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25898 wxTreeItemId
*arg2
= 0 ;
25899 bool arg3
= (bool) True
;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 PyObject
* obj2
= 0 ;
25903 char *kwnames
[] = {
25904 (char *) "self",(char *) "item",(char *) "has", NULL
25907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25913 if (arg2
== NULL
) {
25914 PyErr_SetString(PyExc_TypeError
,"null reference");
25918 arg3
= (bool) SWIG_AsBool(obj2
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 Py_INCREF(Py_None
); resultobj
= Py_None
;
25935 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
;
25937 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25938 wxTreeItemId
*arg2
= 0 ;
25939 bool arg3
= (bool) True
;
25940 PyObject
* obj0
= 0 ;
25941 PyObject
* obj1
= 0 ;
25942 PyObject
* obj2
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self",(char *) "item",(char *) "bold", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25953 if (arg2
== NULL
) {
25954 PyErr_SetString(PyExc_TypeError
,"null reference");
25958 arg3
= (bool) SWIG_AsBool(obj2
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25965 wxPyEndAllowThreads(__tstate
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25968 Py_INCREF(Py_None
); resultobj
= Py_None
;
25975 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25976 PyObject
*resultobj
;
25977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25978 wxTreeItemId
*arg2
= 0 ;
25979 wxColour
*arg3
= 0 ;
25981 PyObject
* obj0
= 0 ;
25982 PyObject
* obj1
= 0 ;
25983 PyObject
* obj2
= 0 ;
25984 char *kwnames
[] = {
25985 (char *) "self",(char *) "item",(char *) "col", NULL
25988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25994 if (arg2
== NULL
) {
25995 PyErr_SetString(PyExc_TypeError
,"null reference");
26000 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 Py_INCREF(Py_None
); resultobj
= Py_None
;
26016 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26019 wxTreeItemId
*arg2
= 0 ;
26020 wxColour
*arg3
= 0 ;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 PyObject
* obj2
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self",(char *) "item",(char *) "col", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26035 if (arg2
== NULL
) {
26036 PyErr_SetString(PyExc_TypeError
,"null reference");
26041 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 Py_INCREF(Py_None
); resultobj
= Py_None
;
26057 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26060 wxTreeItemId
*arg2
= 0 ;
26062 PyObject
* obj0
= 0 ;
26063 PyObject
* obj1
= 0 ;
26064 PyObject
* obj2
= 0 ;
26065 char *kwnames
[] = {
26066 (char *) "self",(char *) "item",(char *) "font", NULL
26069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26075 if (arg2
== NULL
) {
26076 PyErr_SetString(PyExc_TypeError
,"null reference");
26079 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26082 if (arg3
== NULL
) {
26083 PyErr_SetString(PyExc_TypeError
,"null reference");
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 Py_INCREF(Py_None
); resultobj
= Py_None
;
26100 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26103 wxTreeItemId
*arg2
= 0 ;
26105 PyObject
* obj0
= 0 ;
26106 PyObject
* obj1
= 0 ;
26107 char *kwnames
[] = {
26108 (char *) "self",(char *) "item", NULL
26111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26117 if (arg2
== NULL
) {
26118 PyErr_SetString(PyExc_TypeError
,"null reference");
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26137 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26140 wxTreeItemId
*arg2
= 0 ;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self",(char *) "item", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26154 if (arg2
== NULL
) {
26155 PyErr_SetString(PyExc_TypeError
,"null reference");
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26174 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26177 wxTreeItemId
*arg2
= 0 ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 char *kwnames
[] = {
26182 (char *) "self",(char *) "item", NULL
26185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26189 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26191 if (arg2
== NULL
) {
26192 PyErr_SetString(PyExc_TypeError
,"null reference");
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26211 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26212 PyObject
*resultobj
;
26213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26214 wxTreeItemId
*arg2
= 0 ;
26216 PyObject
* obj0
= 0 ;
26217 PyObject
* obj1
= 0 ;
26218 char *kwnames
[] = {
26219 (char *) "self",(char *) "item", NULL
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26228 if (arg2
== NULL
) {
26229 PyErr_SetString(PyExc_TypeError
,"null reference");
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26248 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
;
26250 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26251 wxTreeItemId
*arg2
= 0 ;
26253 PyObject
* obj0
= 0 ;
26254 PyObject
* obj1
= 0 ;
26255 char *kwnames
[] = {
26256 (char *) "self",(char *) "item", NULL
26259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26265 if (arg2
== NULL
) {
26266 PyErr_SetString(PyExc_TypeError
,"null reference");
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26271 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26273 wxPyEndAllowThreads(__tstate
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26285 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26286 PyObject
*resultobj
;
26287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26288 wxTreeItemId
*arg2
= 0 ;
26289 bool arg3
= (bool) True
;
26291 PyObject
* obj0
= 0 ;
26292 PyObject
* obj1
= 0 ;
26293 PyObject
* obj2
= 0 ;
26294 char *kwnames
[] = {
26295 (char *) "self",(char *) "item",(char *) "recursively", NULL
26298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26302 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26304 if (arg2
== NULL
) {
26305 PyErr_SetString(PyExc_TypeError
,"null reference");
26309 arg3
= (bool) SWIG_AsBool(obj2
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26326 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26329 wxTreeItemId result
;
26330 PyObject
* obj0
= 0 ;
26331 char *kwnames
[] = {
26332 (char *) "self", NULL
26335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26346 wxTreeItemId
* resultptr
;
26347 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26356 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
;
26358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26359 wxTreeItemId result
;
26360 PyObject
* obj0
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26370 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26376 wxTreeItemId
* resultptr
;
26377 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26386 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
;
26388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26390 PyObject
* obj0
= 0 ;
26391 char *kwnames
[] = {
26392 (char *) "self", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= result
;
26412 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
;
26414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26415 wxTreeItemId
*arg2
= 0 ;
26416 wxTreeItemId result
;
26417 PyObject
* obj0
= 0 ;
26418 PyObject
* obj1
= 0 ;
26419 char *kwnames
[] = {
26420 (char *) "self",(char *) "item", NULL
26423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26429 if (arg2
== NULL
) {
26430 PyErr_SetString(PyExc_TypeError
,"null reference");
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26441 wxTreeItemId
* resultptr
;
26442 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26451 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26454 wxTreeItemId
*arg2
= 0 ;
26456 PyObject
* obj0
= 0 ;
26457 PyObject
* obj1
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "self",(char *) "item", NULL
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26468 if (arg2
== NULL
) {
26469 PyErr_SetString(PyExc_TypeError
,"null reference");
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26476 wxPyEndAllowThreads(__tstate
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26479 resultobj
= result
;
26486 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
;
26488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26489 wxTreeItemId
*arg2
= 0 ;
26490 void *arg3
= (void *) 0 ;
26492 PyObject
* obj0
= 0 ;
26493 PyObject
* obj1
= 0 ;
26494 PyObject
* obj2
= 0 ;
26495 char *kwnames
[] = {
26496 (char *) "self",(char *) "item",(char *) "cookie", NULL
26499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26505 if (arg2
== NULL
) {
26506 PyErr_SetString(PyExc_TypeError
,"null reference");
26509 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 resultobj
= result
;
26524 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
;
26526 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26527 wxTreeItemId
*arg2
= 0 ;
26528 wxTreeItemId result
;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self",(char *) "item", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26541 if (arg2
== NULL
) {
26542 PyErr_SetString(PyExc_TypeError
,"null reference");
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26553 wxTreeItemId
* resultptr
;
26554 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26563 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
;
26565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26566 wxTreeItemId
*arg2
= 0 ;
26567 wxTreeItemId result
;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 char *kwnames
[] = {
26571 (char *) "self",(char *) "item", NULL
26574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26580 if (arg2
== NULL
) {
26581 PyErr_SetString(PyExc_TypeError
,"null reference");
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26592 wxTreeItemId
* resultptr
;
26593 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26602 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
;
26604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26605 wxTreeItemId
*arg2
= 0 ;
26606 wxTreeItemId result
;
26607 PyObject
* obj0
= 0 ;
26608 PyObject
* obj1
= 0 ;
26609 char *kwnames
[] = {
26610 (char *) "self",(char *) "item", NULL
26613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26619 if (arg2
== NULL
) {
26620 PyErr_SetString(PyExc_TypeError
,"null reference");
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26627 wxPyEndAllowThreads(__tstate
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26631 wxTreeItemId
* resultptr
;
26632 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26641 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26644 wxTreeItemId result
;
26645 PyObject
* obj0
= 0 ;
26646 char *kwnames
[] = {
26647 (char *) "self", NULL
26650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26661 wxTreeItemId
* resultptr
;
26662 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26671 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26672 PyObject
*resultobj
;
26673 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26674 wxTreeItemId
*arg2
= 0 ;
26675 wxTreeItemId result
;
26676 PyObject
* obj0
= 0 ;
26677 PyObject
* obj1
= 0 ;
26678 char *kwnames
[] = {
26679 (char *) "self",(char *) "item", NULL
26682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26688 if (arg2
== NULL
) {
26689 PyErr_SetString(PyExc_TypeError
,"null reference");
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26700 wxTreeItemId
* resultptr
;
26701 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26710 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
;
26712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26713 wxTreeItemId
*arg2
= 0 ;
26714 wxTreeItemId result
;
26715 PyObject
* obj0
= 0 ;
26716 PyObject
* obj1
= 0 ;
26717 char *kwnames
[] = {
26718 (char *) "self",(char *) "item", NULL
26721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26727 if (arg2
== NULL
) {
26728 PyErr_SetString(PyExc_TypeError
,"null reference");
26732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26739 wxTreeItemId
* resultptr
;
26740 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26749 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26750 PyObject
*resultobj
;
26751 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26752 wxString
*arg2
= 0 ;
26753 int arg3
= (int) -1 ;
26754 int arg4
= (int) -1 ;
26755 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26756 wxTreeItemId result
;
26757 bool temp2
= False
;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 PyObject
* obj2
= 0 ;
26761 PyObject
* obj3
= 0 ;
26762 PyObject
* obj4
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26771 arg2
= wxString_in_helper(obj1
);
26772 if (arg2
== NULL
) SWIG_fail
;
26776 arg3
= (int) SWIG_AsInt(obj2
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26780 arg4
= (int) SWIG_AsInt(obj3
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26784 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26795 wxTreeItemId
* resultptr
;
26796 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26813 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
;
26815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26816 wxTreeItemId
*arg2
= 0 ;
26817 wxString
*arg3
= 0 ;
26818 int arg4
= (int) -1 ;
26819 int arg5
= (int) -1 ;
26820 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26821 wxTreeItemId result
;
26822 bool temp3
= False
;
26823 PyObject
* obj0
= 0 ;
26824 PyObject
* obj1
= 0 ;
26825 PyObject
* obj2
= 0 ;
26826 PyObject
* obj3
= 0 ;
26827 PyObject
* obj4
= 0 ;
26828 PyObject
* obj5
= 0 ;
26829 char *kwnames
[] = {
26830 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26839 if (arg2
== NULL
) {
26840 PyErr_SetString(PyExc_TypeError
,"null reference");
26844 arg3
= wxString_in_helper(obj2
);
26845 if (arg3
== NULL
) SWIG_fail
;
26849 arg4
= (int) SWIG_AsInt(obj3
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26853 arg5
= (int) SWIG_AsInt(obj4
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26857 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26868 wxTreeItemId
* resultptr
;
26869 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26886 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26887 PyObject
*resultobj
;
26888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26889 wxTreeItemId
*arg2
= 0 ;
26890 wxTreeItemId
*arg3
= 0 ;
26891 wxString
*arg4
= 0 ;
26892 int arg5
= (int) -1 ;
26893 int arg6
= (int) -1 ;
26894 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26895 wxTreeItemId result
;
26896 bool temp4
= False
;
26897 PyObject
* obj0
= 0 ;
26898 PyObject
* obj1
= 0 ;
26899 PyObject
* obj2
= 0 ;
26900 PyObject
* obj3
= 0 ;
26901 PyObject
* obj4
= 0 ;
26902 PyObject
* obj5
= 0 ;
26903 PyObject
* obj6
= 0 ;
26904 char *kwnames
[] = {
26905 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26914 if (arg2
== NULL
) {
26915 PyErr_SetString(PyExc_TypeError
,"null reference");
26918 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26921 if (arg3
== NULL
) {
26922 PyErr_SetString(PyExc_TypeError
,"null reference");
26926 arg4
= wxString_in_helper(obj3
);
26927 if (arg4
== NULL
) SWIG_fail
;
26931 arg5
= (int) SWIG_AsInt(obj4
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26935 arg6
= (int) SWIG_AsInt(obj5
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26939 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26950 wxTreeItemId
* resultptr
;
26951 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26968 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26971 wxTreeItemId
*arg2
= 0 ;
26973 wxString
*arg4
= 0 ;
26974 int arg5
= (int) -1 ;
26975 int arg6
= (int) -1 ;
26976 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26977 wxTreeItemId result
;
26978 bool temp4
= False
;
26979 PyObject
* obj0
= 0 ;
26980 PyObject
* obj1
= 0 ;
26981 PyObject
* obj2
= 0 ;
26982 PyObject
* obj3
= 0 ;
26983 PyObject
* obj4
= 0 ;
26984 PyObject
* obj5
= 0 ;
26985 PyObject
* obj6
= 0 ;
26986 char *kwnames
[] = {
26987 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26996 if (arg2
== NULL
) {
26997 PyErr_SetString(PyExc_TypeError
,"null reference");
27000 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27003 arg4
= wxString_in_helper(obj3
);
27004 if (arg4
== NULL
) SWIG_fail
;
27008 arg5
= (int) SWIG_AsInt(obj4
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27012 arg6
= (int) SWIG_AsInt(obj5
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27016 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27021 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27023 wxPyEndAllowThreads(__tstate
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27027 wxTreeItemId
* resultptr
;
27028 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27045 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27048 wxTreeItemId
*arg2
= 0 ;
27049 wxString
*arg3
= 0 ;
27050 int arg4
= (int) -1 ;
27051 int arg5
= (int) -1 ;
27052 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27053 wxTreeItemId result
;
27054 bool temp3
= False
;
27055 PyObject
* obj0
= 0 ;
27056 PyObject
* obj1
= 0 ;
27057 PyObject
* obj2
= 0 ;
27058 PyObject
* obj3
= 0 ;
27059 PyObject
* obj4
= 0 ;
27060 PyObject
* obj5
= 0 ;
27061 char *kwnames
[] = {
27062 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27071 if (arg2
== NULL
) {
27072 PyErr_SetString(PyExc_TypeError
,"null reference");
27076 arg3
= wxString_in_helper(obj2
);
27077 if (arg3
== NULL
) SWIG_fail
;
27081 arg4
= (int) SWIG_AsInt(obj3
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27085 arg5
= (int) SWIG_AsInt(obj4
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27089 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27100 wxTreeItemId
* resultptr
;
27101 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27118 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
;
27120 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27121 wxTreeItemId
*arg2
= 0 ;
27122 PyObject
* obj0
= 0 ;
27123 PyObject
* obj1
= 0 ;
27124 char *kwnames
[] = {
27125 (char *) "self",(char *) "item", NULL
27128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27134 if (arg2
== NULL
) {
27135 PyErr_SetString(PyExc_TypeError
,"null reference");
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 Py_INCREF(Py_None
); resultobj
= Py_None
;
27152 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27155 wxTreeItemId
*arg2
= 0 ;
27156 PyObject
* obj0
= 0 ;
27157 PyObject
* obj1
= 0 ;
27158 char *kwnames
[] = {
27159 (char *) "self",(char *) "item", NULL
27162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27168 if (arg2
== NULL
) {
27169 PyErr_SetString(PyExc_TypeError
,"null reference");
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 Py_INCREF(Py_None
); resultobj
= Py_None
;
27186 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
;
27188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27189 PyObject
* obj0
= 0 ;
27190 char *kwnames
[] = {
27191 (char *) "self", NULL
27194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 (arg1
)->DeleteAllItems();
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27204 Py_INCREF(Py_None
); resultobj
= Py_None
;
27211 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27212 PyObject
*resultobj
;
27213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27214 wxTreeItemId
*arg2
= 0 ;
27215 PyObject
* obj0
= 0 ;
27216 PyObject
* obj1
= 0 ;
27217 char *kwnames
[] = {
27218 (char *) "self",(char *) "item", NULL
27221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27227 if (arg2
== NULL
) {
27228 PyErr_SetString(PyExc_TypeError
,"null reference");
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 Py_INCREF(Py_None
); resultobj
= Py_None
;
27245 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27248 wxTreeItemId
*arg2
= 0 ;
27249 PyObject
* obj0
= 0 ;
27250 PyObject
* obj1
= 0 ;
27251 char *kwnames
[] = {
27252 (char *) "self",(char *) "item", NULL
27255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27261 if (arg2
== NULL
) {
27262 PyErr_SetString(PyExc_TypeError
,"null reference");
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 Py_INCREF(Py_None
); resultobj
= Py_None
;
27279 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
;
27281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27282 wxTreeItemId
*arg2
= 0 ;
27283 PyObject
* obj0
= 0 ;
27284 PyObject
* obj1
= 0 ;
27285 char *kwnames
[] = {
27286 (char *) "self",(char *) "item", NULL
27289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27295 if (arg2
== NULL
) {
27296 PyErr_SetString(PyExc_TypeError
,"null reference");
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 Py_INCREF(Py_None
); resultobj
= Py_None
;
27313 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27316 wxTreeItemId
*arg2
= 0 ;
27317 PyObject
* obj0
= 0 ;
27318 PyObject
* obj1
= 0 ;
27319 char *kwnames
[] = {
27320 (char *) "self",(char *) "item", NULL
27323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27329 if (arg2
== NULL
) {
27330 PyErr_SetString(PyExc_TypeError
,"null reference");
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27340 Py_INCREF(Py_None
); resultobj
= Py_None
;
27347 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27348 PyObject
*resultobj
;
27349 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27350 PyObject
* obj0
= 0 ;
27351 char *kwnames
[] = {
27352 (char *) "self", NULL
27355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 (arg1
)->Unselect();
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 Py_INCREF(Py_None
); resultobj
= Py_None
;
27372 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27373 PyObject
*resultobj
;
27374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27375 wxTreeItemId
*arg2
= 0 ;
27376 PyObject
* obj0
= 0 ;
27377 PyObject
* obj1
= 0 ;
27378 char *kwnames
[] = {
27379 (char *) "self",(char *) "item", NULL
27382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27388 if (arg2
== NULL
) {
27389 PyErr_SetString(PyExc_TypeError
,"null reference");
27393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27394 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27396 wxPyEndAllowThreads(__tstate
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27399 Py_INCREF(Py_None
); resultobj
= Py_None
;
27406 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27407 PyObject
*resultobj
;
27408 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27409 PyObject
* obj0
= 0 ;
27410 char *kwnames
[] = {
27411 (char *) "self", NULL
27414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 (arg1
)->UnselectAll();
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27424 Py_INCREF(Py_None
); resultobj
= Py_None
;
27431 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27432 PyObject
*resultobj
;
27433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27434 wxTreeItemId
*arg2
= 0 ;
27435 bool arg3
= (bool) True
;
27436 PyObject
* obj0
= 0 ;
27437 PyObject
* obj1
= 0 ;
27438 PyObject
* obj2
= 0 ;
27439 char *kwnames
[] = {
27440 (char *) "self",(char *) "item",(char *) "select", NULL
27443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27449 if (arg2
== NULL
) {
27450 PyErr_SetString(PyExc_TypeError
,"null reference");
27454 arg3
= (bool) SWIG_AsBool(obj2
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27461 wxPyEndAllowThreads(__tstate
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27464 Py_INCREF(Py_None
); resultobj
= Py_None
;
27471 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27472 PyObject
*resultobj
;
27473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27474 wxTreeItemId
*arg2
= 0 ;
27475 PyObject
* obj0
= 0 ;
27476 PyObject
* obj1
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "self",(char *) "item", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27487 if (arg2
== NULL
) {
27488 PyErr_SetString(PyExc_TypeError
,"null reference");
27492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27493 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 Py_INCREF(Py_None
); resultobj
= Py_None
;
27505 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27506 PyObject
*resultobj
;
27507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27508 wxTreeItemId
*arg2
= 0 ;
27509 PyObject
* obj0
= 0 ;
27510 PyObject
* obj1
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self",(char *) "item", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27521 if (arg2
== NULL
) {
27522 PyErr_SetString(PyExc_TypeError
,"null reference");
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 Py_INCREF(Py_None
); resultobj
= Py_None
;
27539 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
;
27541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27542 wxTreeItemId
*arg2
= 0 ;
27543 PyObject
* obj0
= 0 ;
27544 PyObject
* obj1
= 0 ;
27545 char *kwnames
[] = {
27546 (char *) "self",(char *) "item", NULL
27549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27555 if (arg2
== NULL
) {
27556 PyErr_SetString(PyExc_TypeError
,"null reference");
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 Py_INCREF(Py_None
); resultobj
= Py_None
;
27573 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27576 wxTreeItemId
*arg2
= 0 ;
27577 PyObject
* obj0
= 0 ;
27578 PyObject
* obj1
= 0 ;
27579 char *kwnames
[] = {
27580 (char *) "self",(char *) "item", NULL
27583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27589 if (arg2
== NULL
) {
27590 PyErr_SetString(PyExc_TypeError
,"null reference");
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27595 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27600 Py_INCREF(Py_None
); resultobj
= Py_None
;
27607 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27608 PyObject
*resultobj
;
27609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27610 wxTextCtrl
*result
;
27611 PyObject
* obj0
= 0 ;
27612 char *kwnames
[] = {
27613 (char *) "self", NULL
27616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27621 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27623 wxPyEndAllowThreads(__tstate
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27627 resultobj
= wxPyMake_wxObject(result
, 0);
27635 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
;
27637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27638 wxTreeItemId
*arg2
= 0 ;
27639 PyObject
* obj0
= 0 ;
27640 PyObject
* obj1
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self",(char *) "item", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27651 if (arg2
== NULL
) {
27652 PyErr_SetString(PyExc_TypeError
,"null reference");
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27659 wxPyEndAllowThreads(__tstate
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27662 Py_INCREF(Py_None
); resultobj
= Py_None
;
27669 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
;
27671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27672 wxPoint
*arg2
= 0 ;
27674 wxTreeItemId result
;
27677 PyObject
* obj0
= 0 ;
27678 PyObject
* obj1
= 0 ;
27679 char *kwnames
[] = {
27680 (char *) "self",(char *) "point", NULL
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27689 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27695 wxPyEndAllowThreads(__tstate
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27699 wxTreeItemId
* resultptr
;
27700 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27704 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27705 resultobj
= t_output_helper(resultobj
,o
);
27713 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
;
27715 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27716 wxTreeItemId
*arg2
= 0 ;
27717 bool arg3
= (bool) False
;
27719 PyObject
* obj0
= 0 ;
27720 PyObject
* obj1
= 0 ;
27721 PyObject
* obj2
= 0 ;
27722 char *kwnames
[] = {
27723 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27732 if (arg2
== NULL
) {
27733 PyErr_SetString(PyExc_TypeError
,"null reference");
27737 arg3
= (bool) SWIG_AsBool(obj2
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27744 wxPyEndAllowThreads(__tstate
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27747 resultobj
= result
;
27754 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27755 PyObject
*resultobj
;
27756 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27757 wxVisualAttributes result
;
27758 PyObject
* obj0
= 0 ;
27759 char *kwnames
[] = {
27760 (char *) "variant", NULL
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27765 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27769 if (!wxPyCheckForApp()) SWIG_fail
;
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27777 wxVisualAttributes
* resultptr
;
27778 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27787 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27790 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27792 return Py_BuildValue((char *)"");
27794 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27795 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27800 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27805 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27807 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27814 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
;
27816 wxWindow
*arg1
= (wxWindow
*) 0 ;
27817 int arg2
= (int) (int)-1 ;
27818 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27819 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27820 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27821 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27822 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27823 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27824 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27825 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27826 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27827 int arg8
= (int) 0 ;
27828 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27829 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27830 wxGenericDirCtrl
*result
;
27831 bool temp3
= False
;
27834 bool temp7
= False
;
27835 bool temp9
= False
;
27836 PyObject
* obj0
= 0 ;
27837 PyObject
* obj1
= 0 ;
27838 PyObject
* obj2
= 0 ;
27839 PyObject
* obj3
= 0 ;
27840 PyObject
* obj4
= 0 ;
27841 PyObject
* obj5
= 0 ;
27842 PyObject
* obj6
= 0 ;
27843 PyObject
* obj7
= 0 ;
27844 PyObject
* obj8
= 0 ;
27845 char *kwnames
[] = {
27846 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27853 arg2
= (int const) SWIG_AsInt(obj1
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27858 arg3
= wxString_in_helper(obj2
);
27859 if (arg3
== NULL
) SWIG_fail
;
27866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27876 arg6
= (long) SWIG_AsLong(obj5
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27881 arg7
= wxString_in_helper(obj6
);
27882 if (arg7
== NULL
) SWIG_fail
;
27887 arg8
= (int) SWIG_AsInt(obj7
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27892 arg9
= wxString_in_helper(obj8
);
27893 if (arg9
== NULL
) SWIG_fail
;
27898 if (!wxPyCheckForApp()) SWIG_fail
;
27899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27936 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27937 PyObject
*resultobj
;
27938 wxGenericDirCtrl
*result
;
27939 char *kwnames
[] = {
27943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27945 if (!wxPyCheckForApp()) SWIG_fail
;
27946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27959 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27960 PyObject
*resultobj
;
27961 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27962 wxWindow
*arg2
= (wxWindow
*) 0 ;
27963 int arg3
= (int) (int)-1 ;
27964 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27965 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27966 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27967 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27968 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27969 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27970 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27971 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27972 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27973 int arg9
= (int) 0 ;
27974 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27975 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27977 bool temp4
= False
;
27980 bool temp8
= False
;
27981 bool temp10
= False
;
27982 PyObject
* obj0
= 0 ;
27983 PyObject
* obj1
= 0 ;
27984 PyObject
* obj2
= 0 ;
27985 PyObject
* obj3
= 0 ;
27986 PyObject
* obj4
= 0 ;
27987 PyObject
* obj5
= 0 ;
27988 PyObject
* obj6
= 0 ;
27989 PyObject
* obj7
= 0 ;
27990 PyObject
* obj8
= 0 ;
27991 PyObject
* obj9
= 0 ;
27992 char *kwnames
[] = {
27993 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28002 arg3
= (int const) SWIG_AsInt(obj2
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28007 arg4
= wxString_in_helper(obj3
);
28008 if (arg4
== NULL
) SWIG_fail
;
28015 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28021 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28025 arg7
= (long) SWIG_AsLong(obj6
);
28026 if (PyErr_Occurred()) SWIG_fail
;
28030 arg8
= wxString_in_helper(obj7
);
28031 if (arg8
== NULL
) SWIG_fail
;
28036 arg9
= (int) SWIG_AsInt(obj8
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28041 arg10
= wxString_in_helper(obj9
);
28042 if (arg10
== NULL
) SWIG_fail
;
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28086 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
;
28088 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28089 wxString
*arg2
= 0 ;
28091 bool temp2
= False
;
28092 PyObject
* obj0
= 0 ;
28093 PyObject
* obj1
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self",(char *) "path", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28102 arg2
= wxString_in_helper(obj1
);
28103 if (arg2
== NULL
) SWIG_fail
;
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28130 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28131 PyObject
*resultobj
;
28132 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28134 PyObject
* obj0
= 0 ;
28135 char *kwnames
[] = {
28136 (char *) "self", NULL
28139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28162 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
;
28164 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28165 wxString
*arg2
= 0 ;
28166 bool temp2
= False
;
28167 PyObject
* obj0
= 0 ;
28168 PyObject
* obj1
= 0 ;
28169 char *kwnames
[] = {
28170 (char *) "self",(char *) "path", NULL
28173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28177 arg2
= wxString_in_helper(obj1
);
28178 if (arg2
== NULL
) SWIG_fail
;
28182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28185 wxPyEndAllowThreads(__tstate
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28188 Py_INCREF(Py_None
); resultobj
= Py_None
;
28203 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
;
28205 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28207 PyObject
* obj0
= 0 ;
28208 char *kwnames
[] = {
28209 (char *) "self", NULL
28212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28235 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28236 PyObject
*resultobj
;
28237 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28239 PyObject
* obj0
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28267 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28268 PyObject
*resultobj
;
28269 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28270 wxString
*arg2
= 0 ;
28271 bool temp2
= False
;
28272 PyObject
* obj0
= 0 ;
28273 PyObject
* obj1
= 0 ;
28274 char *kwnames
[] = {
28275 (char *) "self",(char *) "path", NULL
28278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28282 arg2
= wxString_in_helper(obj1
);
28283 if (arg2
== NULL
) SWIG_fail
;
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 (arg1
)->SetPath((wxString
const &)*arg2
);
28290 wxPyEndAllowThreads(__tstate
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28293 Py_INCREF(Py_None
); resultobj
= Py_None
;
28308 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28309 PyObject
*resultobj
;
28310 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28312 PyObject
* obj0
= 0 ;
28313 PyObject
* obj1
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "self",(char *) "show", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28321 arg2
= (bool) SWIG_AsBool(obj1
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 (arg1
)->ShowHidden(arg2
);
28327 wxPyEndAllowThreads(__tstate
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28330 Py_INCREF(Py_None
); resultobj
= Py_None
;
28337 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28338 PyObject
*resultobj
;
28339 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28341 PyObject
* obj0
= 0 ;
28342 char *kwnames
[] = {
28343 (char *) "self", NULL
28346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28351 result
= (bool)(arg1
)->GetShowHidden();
28353 wxPyEndAllowThreads(__tstate
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28365 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28366 PyObject
*resultobj
;
28367 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28369 PyObject
* obj0
= 0 ;
28370 char *kwnames
[] = {
28371 (char *) "self", NULL
28374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28379 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28381 wxPyEndAllowThreads(__tstate
);
28382 if (PyErr_Occurred()) SWIG_fail
;
28386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28397 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28398 PyObject
*resultobj
;
28399 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28400 wxString
*arg2
= 0 ;
28401 bool temp2
= False
;
28402 PyObject
* obj0
= 0 ;
28403 PyObject
* obj1
= 0 ;
28404 char *kwnames
[] = {
28405 (char *) "self",(char *) "filter", NULL
28408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28412 arg2
= wxString_in_helper(obj1
);
28413 if (arg2
== NULL
) SWIG_fail
;
28417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28418 (arg1
)->SetFilter((wxString
const &)*arg2
);
28420 wxPyEndAllowThreads(__tstate
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28423 Py_INCREF(Py_None
); resultobj
= Py_None
;
28438 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
;
28440 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28442 PyObject
* obj0
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "self", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= SWIG_FromInt((int)result
);
28464 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28465 PyObject
*resultobj
;
28466 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28468 PyObject
* obj0
= 0 ;
28469 PyObject
* obj1
= 0 ;
28470 char *kwnames
[] = {
28471 (char *) "self",(char *) "n", NULL
28474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28477 arg2
= (int) SWIG_AsInt(obj1
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 (arg1
)->SetFilterIndex(arg2
);
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 Py_INCREF(Py_None
); resultobj
= Py_None
;
28493 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28494 PyObject
*resultobj
;
28495 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28496 wxTreeItemId result
;
28497 PyObject
* obj0
= 0 ;
28498 char *kwnames
[] = {
28499 (char *) "self", NULL
28502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28507 result
= (arg1
)->GetRootId();
28509 wxPyEndAllowThreads(__tstate
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28513 wxTreeItemId
* resultptr
;
28514 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28523 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28524 PyObject
*resultobj
;
28525 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28526 wxPyTreeCtrl
*result
;
28527 PyObject
* obj0
= 0 ;
28528 char *kwnames
[] = {
28529 (char *) "self", NULL
28532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28537 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28539 wxPyEndAllowThreads(__tstate
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28543 resultobj
= wxPyMake_wxObject(result
, 0);
28551 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
;
28553 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28554 wxDirFilterListCtrl
*result
;
28555 PyObject
* obj0
= 0 ;
28556 char *kwnames
[] = {
28557 (char *) "self", NULL
28560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28565 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28567 wxPyEndAllowThreads(__tstate
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28577 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28578 PyObject
*resultobj
;
28579 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28580 wxTreeItemId arg2
;
28581 wxString
*arg3
= 0 ;
28583 wxTreeItemId result
;
28584 wxTreeItemId
*argp2
;
28585 bool temp3
= False
;
28587 PyObject
* obj0
= 0 ;
28588 PyObject
* obj1
= 0 ;
28589 PyObject
* obj2
= 0 ;
28590 char *kwnames
[] = {
28591 (char *) "self",(char *) "parentId",(char *) "path", NULL
28595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28598 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28599 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28602 arg3
= wxString_in_helper(obj2
);
28603 if (arg3
== NULL
) SWIG_fail
;
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28614 wxTreeItemId
* resultptr
;
28615 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28619 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28620 resultobj
= t_output_helper(resultobj
,o
);
28636 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28637 PyObject
*resultobj
;
28638 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28639 PyObject
* obj0
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "self", NULL
28644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28649 (arg1
)->DoResize();
28651 wxPyEndAllowThreads(__tstate
);
28652 if (PyErr_Occurred()) SWIG_fail
;
28654 Py_INCREF(Py_None
); resultobj
= Py_None
;
28661 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28662 PyObject
*resultobj
;
28663 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28664 PyObject
* obj0
= 0 ;
28665 char *kwnames
[] = {
28666 (char *) "self", NULL
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28674 (arg1
)->ReCreateTree();
28676 wxPyEndAllowThreads(__tstate
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28679 Py_INCREF(Py_None
); resultobj
= Py_None
;
28686 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28689 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28691 return Py_BuildValue((char *)"");
28693 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28694 PyObject
*resultobj
;
28695 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28696 int arg2
= (int) (int)-1 ;
28697 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28698 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28699 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28700 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28701 long arg5
= (long) 0 ;
28702 wxDirFilterListCtrl
*result
;
28705 PyObject
* obj0
= 0 ;
28706 PyObject
* obj1
= 0 ;
28707 PyObject
* obj2
= 0 ;
28708 PyObject
* obj3
= 0 ;
28709 PyObject
* obj4
= 0 ;
28710 char *kwnames
[] = {
28711 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28718 arg2
= (int const) SWIG_AsInt(obj1
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28724 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28730 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28734 arg5
= (long) SWIG_AsLong(obj4
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28738 if (!wxPyCheckForApp()) SWIG_fail
;
28739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28740 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28742 wxPyEndAllowThreads(__tstate
);
28743 if (PyErr_Occurred()) SWIG_fail
;
28745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28752 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28753 PyObject
*resultobj
;
28754 wxDirFilterListCtrl
*result
;
28755 char *kwnames
[] = {
28759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28761 if (!wxPyCheckForApp()) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28775 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28776 PyObject
*resultobj
;
28777 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28778 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28779 int arg3
= (int) (int)-1 ;
28780 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28781 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28782 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28783 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28784 long arg6
= (long) 0 ;
28788 PyObject
* obj0
= 0 ;
28789 PyObject
* obj1
= 0 ;
28790 PyObject
* obj2
= 0 ;
28791 PyObject
* obj3
= 0 ;
28792 PyObject
* obj4
= 0 ;
28793 PyObject
* obj5
= 0 ;
28794 char *kwnames
[] = {
28795 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28804 arg3
= (int const) SWIG_AsInt(obj2
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28810 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28816 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28820 arg6
= (long) SWIG_AsLong(obj5
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28827 wxPyEndAllowThreads(__tstate
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28839 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28840 PyObject
*resultobj
;
28841 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28842 wxString
*arg2
= 0 ;
28844 bool temp2
= False
;
28845 PyObject
* obj0
= 0 ;
28846 PyObject
* obj1
= 0 ;
28847 PyObject
* obj2
= 0 ;
28848 char *kwnames
[] = {
28849 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28856 arg2
= wxString_in_helper(obj1
);
28857 if (arg2
== NULL
) SWIG_fail
;
28860 arg3
= (int) SWIG_AsInt(obj2
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 Py_INCREF(Py_None
); resultobj
= Py_None
;
28884 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28887 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28889 return Py_BuildValue((char *)"");
28891 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28892 PyObject
*resultobj
;
28893 wxWindow
*arg1
= (wxWindow
*) 0 ;
28894 int arg2
= (int) (int)-1 ;
28895 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28896 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28897 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28898 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28899 long arg5
= (long) 0 ;
28900 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28901 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28902 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28903 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28904 wxPyControl
*result
;
28907 bool temp7
= False
;
28908 PyObject
* obj0
= 0 ;
28909 PyObject
* obj1
= 0 ;
28910 PyObject
* obj2
= 0 ;
28911 PyObject
* obj3
= 0 ;
28912 PyObject
* obj4
= 0 ;
28913 PyObject
* obj5
= 0 ;
28914 PyObject
* obj6
= 0 ;
28915 char *kwnames
[] = {
28916 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28923 arg2
= (int const) SWIG_AsInt(obj1
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28929 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28935 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28939 arg5
= (long) SWIG_AsLong(obj4
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28943 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28946 if (arg6
== NULL
) {
28947 PyErr_SetString(PyExc_TypeError
,"null reference");
28953 arg7
= wxString_in_helper(obj6
);
28954 if (arg7
== NULL
) SWIG_fail
;
28959 if (!wxPyCheckForApp()) SWIG_fail
;
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28963 wxPyEndAllowThreads(__tstate
);
28964 if (PyErr_Occurred()) SWIG_fail
;
28966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28981 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28982 PyObject
*resultobj
;
28983 wxPyControl
*result
;
28984 char *kwnames
[] = {
28988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28990 if (!wxPyCheckForApp()) SWIG_fail
;
28991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 result
= (wxPyControl
*)new wxPyControl();
28994 wxPyEndAllowThreads(__tstate
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29004 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
;
29006 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29007 PyObject
*arg2
= (PyObject
*) 0 ;
29008 PyObject
*arg3
= (PyObject
*) 0 ;
29009 PyObject
* obj0
= 0 ;
29010 PyObject
* obj1
= 0 ;
29011 PyObject
* obj2
= 0 ;
29012 char *kwnames
[] = {
29013 (char *) "self",(char *) "self",(char *) "_class", NULL
29016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29028 Py_INCREF(Py_None
); resultobj
= Py_None
;
29035 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29036 PyObject
*resultobj
;
29037 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29040 PyObject
* obj0
= 0 ;
29041 PyObject
* obj1
= 0 ;
29042 char *kwnames
[] = {
29043 (char *) "self",(char *) "size", NULL
29046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29051 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29060 Py_INCREF(Py_None
); resultobj
= Py_None
;
29067 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29068 PyObject
*resultobj
;
29069 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29074 PyObject
* obj0
= 0 ;
29075 PyObject
* obj1
= 0 ;
29076 PyObject
* obj2
= 0 ;
29077 PyObject
* obj3
= 0 ;
29078 PyObject
* obj4
= 0 ;
29079 char *kwnames
[] = {
29080 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29086 arg2
= (int) SWIG_AsInt(obj1
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29088 arg3
= (int) SWIG_AsInt(obj2
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29090 arg4
= (int) SWIG_AsInt(obj3
);
29091 if (PyErr_Occurred()) SWIG_fail
;
29092 arg5
= (int) SWIG_AsInt(obj4
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 Py_INCREF(Py_None
); resultobj
= Py_None
;
29108 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
;
29110 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29115 int arg6
= (int) wxSIZE_AUTO
;
29116 PyObject
* obj0
= 0 ;
29117 PyObject
* obj1
= 0 ;
29118 PyObject
* obj2
= 0 ;
29119 PyObject
* obj3
= 0 ;
29120 PyObject
* obj4
= 0 ;
29121 PyObject
* obj5
= 0 ;
29122 char *kwnames
[] = {
29123 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29129 arg2
= (int) SWIG_AsInt(obj1
);
29130 if (PyErr_Occurred()) SWIG_fail
;
29131 arg3
= (int) SWIG_AsInt(obj2
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29133 arg4
= (int) SWIG_AsInt(obj3
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29135 arg5
= (int) SWIG_AsInt(obj4
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29138 arg6
= (int) SWIG_AsInt(obj5
);
29139 if (PyErr_Occurred()) SWIG_fail
;
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 Py_INCREF(Py_None
); resultobj
= Py_None
;
29155 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
;
29157 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29160 PyObject
* obj0
= 0 ;
29161 PyObject
* obj1
= 0 ;
29162 PyObject
* obj2
= 0 ;
29163 char *kwnames
[] = {
29164 (char *) "self",(char *) "width",(char *) "height", NULL
29167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29170 arg2
= (int) SWIG_AsInt(obj1
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29172 arg3
= (int) SWIG_AsInt(obj2
);
29173 if (PyErr_Occurred()) SWIG_fail
;
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29181 Py_INCREF(Py_None
); resultobj
= Py_None
;
29188 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29189 PyObject
*resultobj
;
29190 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29193 PyObject
* obj0
= 0 ;
29194 PyObject
* obj1
= 0 ;
29195 PyObject
* obj2
= 0 ;
29196 char *kwnames
[] = {
29197 (char *) "self",(char *) "x",(char *) "y", NULL
29200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29203 arg2
= (int) SWIG_AsInt(obj1
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29205 arg3
= (int) SWIG_AsInt(obj2
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29214 Py_INCREF(Py_None
); resultobj
= Py_None
;
29221 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29222 PyObject
*resultobj
;
29223 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29224 int *arg2
= (int *) 0 ;
29225 int *arg3
= (int *) 0 ;
29228 PyObject
* obj0
= 0 ;
29229 char *kwnames
[] = {
29230 (char *) "self", NULL
29235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29242 wxPyEndAllowThreads(__tstate
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29245 Py_INCREF(Py_None
); resultobj
= Py_None
;
29247 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29248 resultobj
= t_output_helper(resultobj
,o
);
29251 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29252 resultobj
= t_output_helper(resultobj
,o
);
29260 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
;
29262 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29263 int *arg2
= (int *) 0 ;
29264 int *arg3
= (int *) 0 ;
29267 PyObject
* obj0
= 0 ;
29268 char *kwnames
[] = {
29269 (char *) "self", NULL
29274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29279 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29281 wxPyEndAllowThreads(__tstate
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29284 Py_INCREF(Py_None
); resultobj
= Py_None
;
29286 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29287 resultobj
= t_output_helper(resultobj
,o
);
29290 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29291 resultobj
= t_output_helper(resultobj
,o
);
29299 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29300 PyObject
*resultobj
;
29301 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29302 int *arg2
= (int *) 0 ;
29303 int *arg3
= (int *) 0 ;
29306 PyObject
* obj0
= 0 ;
29307 char *kwnames
[] = {
29308 (char *) "self", NULL
29313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29323 Py_INCREF(Py_None
); resultobj
= Py_None
;
29325 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29326 resultobj
= t_output_helper(resultobj
,o
);
29329 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29330 resultobj
= t_output_helper(resultobj
,o
);
29338 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29339 PyObject
*resultobj
;
29340 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29342 PyObject
* obj0
= 0 ;
29343 char *kwnames
[] = {
29344 (char *) "self", NULL
29347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29354 wxPyEndAllowThreads(__tstate
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29358 wxSize
* resultptr
;
29359 resultptr
= new wxSize((wxSize
&) result
);
29360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29368 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29369 PyObject
*resultobj
;
29370 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29372 PyObject
* obj0
= 0 ;
29373 char *kwnames
[] = {
29374 (char *) "self", NULL
29377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29388 wxSize
* resultptr
;
29389 resultptr
= new wxSize((wxSize
&) result
);
29390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29398 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
;
29400 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29401 PyObject
* obj0
= 0 ;
29402 char *kwnames
[] = {
29403 (char *) "self", NULL
29406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 (arg1
)->base_InitDialog();
29413 wxPyEndAllowThreads(__tstate
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29416 Py_INCREF(Py_None
); resultobj
= Py_None
;
29423 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29424 PyObject
*resultobj
;
29425 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29427 PyObject
* obj0
= 0 ;
29428 char *kwnames
[] = {
29429 (char *) "self", NULL
29432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 result
= (bool)(arg1
)->base_TransferDataToWindow();
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29451 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
;
29453 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29455 PyObject
* obj0
= 0 ;
29456 char *kwnames
[] = {
29457 (char *) "self", NULL
29460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29479 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29480 PyObject
*resultobj
;
29481 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29483 PyObject
* obj0
= 0 ;
29484 char *kwnames
[] = {
29485 (char *) "self", NULL
29488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29493 result
= (bool)(arg1
)->base_Validate();
29495 wxPyEndAllowThreads(__tstate
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29507 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29508 PyObject
*resultobj
;
29509 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29511 PyObject
* obj0
= 0 ;
29512 char *kwnames
[] = {
29513 (char *) "self", NULL
29516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29523 wxPyEndAllowThreads(__tstate
);
29524 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29535 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29536 PyObject
*resultobj
;
29537 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29539 PyObject
* obj0
= 0 ;
29540 char *kwnames
[] = {
29541 (char *) "self", NULL
29544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29563 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29564 PyObject
*resultobj
;
29565 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29567 PyObject
* obj0
= 0 ;
29568 char *kwnames
[] = {
29569 (char *) "self", NULL
29572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29577 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29579 wxPyEndAllowThreads(__tstate
);
29580 if (PyErr_Occurred()) SWIG_fail
;
29583 wxSize
* resultptr
;
29584 resultptr
= new wxSize((wxSize
&) result
);
29585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29593 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29594 PyObject
*resultobj
;
29595 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29596 wxWindow
*arg2
= (wxWindow
*) 0 ;
29597 PyObject
* obj0
= 0 ;
29598 PyObject
* obj1
= 0 ;
29599 char *kwnames
[] = {
29600 (char *) "self",(char *) "child", NULL
29603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29610 (arg1
)->base_AddChild(arg2
);
29612 wxPyEndAllowThreads(__tstate
);
29613 if (PyErr_Occurred()) SWIG_fail
;
29615 Py_INCREF(Py_None
); resultobj
= Py_None
;
29622 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
;
29624 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29625 wxWindow
*arg2
= (wxWindow
*) 0 ;
29626 PyObject
* obj0
= 0 ;
29627 PyObject
* obj1
= 0 ;
29628 char *kwnames
[] = {
29629 (char *) "self",(char *) "child", NULL
29632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29639 (arg1
)->base_RemoveChild(arg2
);
29641 wxPyEndAllowThreads(__tstate
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29644 Py_INCREF(Py_None
); resultobj
= Py_None
;
29651 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29652 PyObject
*resultobj
;
29653 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29655 PyObject
* obj0
= 0 ;
29656 char *kwnames
[] = {
29657 (char *) "self", NULL
29660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29665 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29667 wxPyEndAllowThreads(__tstate
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29679 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
;
29681 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29682 wxColour
*arg2
= 0 ;
29684 PyObject
* obj0
= 0 ;
29685 PyObject
* obj1
= 0 ;
29686 char *kwnames
[] = {
29687 (char *) "self",(char *) "c", NULL
29690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29695 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29704 Py_INCREF(Py_None
); resultobj
= Py_None
;
29711 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
;
29713 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29714 wxVisualAttributes result
;
29715 PyObject
* obj0
= 0 ;
29716 char *kwnames
[] = {
29717 (char *) "self", NULL
29720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 result
= (arg1
)->base_GetDefaultAttributes();
29727 wxPyEndAllowThreads(__tstate
);
29728 if (PyErr_Occurred()) SWIG_fail
;
29731 wxVisualAttributes
* resultptr
;
29732 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29741 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29744 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29746 return Py_BuildValue((char *)"");
29748 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29749 PyObject
*resultobj
;
29750 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29751 int arg2
= (int) 0 ;
29752 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29753 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29754 wxHelpEvent
*result
;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 PyObject
* obj2
= 0 ;
29759 char *kwnames
[] = {
29760 (char *) "type",(char *) "winid",(char *) "pt", NULL
29763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29765 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29769 arg2
= (int) SWIG_AsInt(obj1
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29775 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29782 wxPyEndAllowThreads(__tstate
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29792 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29793 PyObject
*resultobj
;
29794 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29796 PyObject
* obj0
= 0 ;
29797 char *kwnames
[] = {
29798 (char *) "self", NULL
29801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29806 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29808 wxPyEndAllowThreads(__tstate
);
29809 if (PyErr_Occurred()) SWIG_fail
;
29812 wxPoint
* resultptr
;
29813 resultptr
= new wxPoint((wxPoint
&) result
);
29814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29822 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
;
29824 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29825 wxPoint
*arg2
= 0 ;
29827 PyObject
* obj0
= 0 ;
29828 PyObject
* obj1
= 0 ;
29829 char *kwnames
[] = {
29830 (char *) "self",(char *) "pos", NULL
29833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29838 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29847 Py_INCREF(Py_None
); resultobj
= Py_None
;
29854 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
;
29856 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29858 PyObject
* obj0
= 0 ;
29859 char *kwnames
[] = {
29860 (char *) "self", NULL
29863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29870 result
= (wxString
*) &_result_ref
;
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29878 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29880 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29889 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29890 PyObject
*resultobj
;
29891 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29892 wxString
*arg2
= 0 ;
29893 bool temp2
= False
;
29894 PyObject
* obj0
= 0 ;
29895 PyObject
* obj1
= 0 ;
29896 char *kwnames
[] = {
29897 (char *) "self",(char *) "link", NULL
29900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29904 arg2
= wxString_in_helper(obj1
);
29905 if (arg2
== NULL
) SWIG_fail
;
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 (arg1
)->SetLink((wxString
const &)*arg2
);
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29915 Py_INCREF(Py_None
); resultobj
= Py_None
;
29930 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29931 PyObject
*resultobj
;
29932 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29934 PyObject
* obj0
= 0 ;
29935 char *kwnames
[] = {
29936 (char *) "self", NULL
29939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29945 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29946 result
= (wxString
*) &_result_ref
;
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29954 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29956 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29965 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29966 PyObject
*resultobj
;
29967 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29968 wxString
*arg2
= 0 ;
29969 bool temp2
= False
;
29970 PyObject
* obj0
= 0 ;
29971 PyObject
* obj1
= 0 ;
29972 char *kwnames
[] = {
29973 (char *) "self",(char *) "target", NULL
29976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29980 arg2
= wxString_in_helper(obj1
);
29981 if (arg2
== NULL
) SWIG_fail
;
29985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29986 (arg1
)->SetTarget((wxString
const &)*arg2
);
29988 wxPyEndAllowThreads(__tstate
);
29989 if (PyErr_Occurred()) SWIG_fail
;
29991 Py_INCREF(Py_None
); resultobj
= Py_None
;
30006 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30009 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30011 return Py_BuildValue((char *)"");
30013 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30014 PyObject
*resultobj
;
30015 wxWindow
*arg1
= (wxWindow
*) NULL
;
30016 bool arg2
= (bool) True
;
30017 wxContextHelp
*result
;
30018 PyObject
* obj0
= 0 ;
30019 PyObject
* obj1
= 0 ;
30020 char *kwnames
[] = {
30021 (char *) "window",(char *) "doNow", NULL
30024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30030 arg2
= (bool) SWIG_AsBool(obj1
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30034 if (!wxPyCheckForApp()) SWIG_fail
;
30035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30036 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30038 wxPyEndAllowThreads(__tstate
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30048 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30049 PyObject
*resultobj
;
30050 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30051 PyObject
* obj0
= 0 ;
30052 char *kwnames
[] = {
30053 (char *) "self", NULL
30056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 Py_INCREF(Py_None
); resultobj
= Py_None
;
30073 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
;
30075 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30076 wxWindow
*arg2
= (wxWindow
*) NULL
;
30078 PyObject
* obj0
= 0 ;
30079 PyObject
* obj1
= 0 ;
30080 char *kwnames
[] = {
30081 (char *) "self",(char *) "window", NULL
30084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30095 wxPyEndAllowThreads(__tstate
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30107 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30108 PyObject
*resultobj
;
30109 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30111 PyObject
* obj0
= 0 ;
30112 char *kwnames
[] = {
30113 (char *) "self", NULL
30116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30121 result
= (bool)(arg1
)->EndContextHelp();
30123 wxPyEndAllowThreads(__tstate
);
30124 if (PyErr_Occurred()) SWIG_fail
;
30127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30135 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30138 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30140 return Py_BuildValue((char *)"");
30142 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30143 PyObject
*resultobj
;
30144 wxWindow
*arg1
= (wxWindow
*) 0 ;
30145 int arg2
= (int) wxID_CONTEXT_HELP
;
30146 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30147 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30148 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30149 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30150 long arg5
= (long) wxBU_AUTODRAW
;
30151 wxContextHelpButton
*result
;
30154 PyObject
* obj0
= 0 ;
30155 PyObject
* obj1
= 0 ;
30156 PyObject
* obj2
= 0 ;
30157 PyObject
* obj3
= 0 ;
30158 PyObject
* obj4
= 0 ;
30159 char *kwnames
[] = {
30160 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30167 arg2
= (int) SWIG_AsInt(obj1
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30173 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30179 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30183 arg5
= (long) SWIG_AsLong(obj4
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30187 if (!wxPyCheckForApp()) SWIG_fail
;
30188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30189 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30191 wxPyEndAllowThreads(__tstate
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30201 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30204 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30206 return Py_BuildValue((char *)"");
30208 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
;
30210 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30211 wxHelpProvider
*result
;
30212 PyObject
* obj0
= 0 ;
30213 char *kwnames
[] = {
30214 (char *) "helpProvider", NULL
30217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30234 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
;
30236 wxHelpProvider
*result
;
30237 char *kwnames
[] = {
30241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30244 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30246 wxPyEndAllowThreads(__tstate
);
30247 if (PyErr_Occurred()) SWIG_fail
;
30249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30256 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30257 PyObject
*resultobj
;
30258 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30259 wxWindow
*arg2
= (wxWindow
*) 0 ;
30261 PyObject
* obj0
= 0 ;
30262 PyObject
* obj1
= 0 ;
30263 char *kwnames
[] = {
30264 (char *) "self",(char *) "window", NULL
30267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30274 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30276 wxPyEndAllowThreads(__tstate
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30292 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30293 PyObject
*resultobj
;
30294 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30295 wxWindow
*arg2
= (wxWindow
*) 0 ;
30297 PyObject
* obj0
= 0 ;
30298 PyObject
* obj1
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self",(char *) "window", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30310 result
= (bool)(arg1
)->ShowHelp(arg2
);
30312 wxPyEndAllowThreads(__tstate
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30324 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
;
30326 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30327 wxWindow
*arg2
= (wxWindow
*) 0 ;
30328 wxString
*arg3
= 0 ;
30329 bool temp3
= False
;
30330 PyObject
* obj0
= 0 ;
30331 PyObject
* obj1
= 0 ;
30332 PyObject
* obj2
= 0 ;
30333 char *kwnames
[] = {
30334 (char *) "self",(char *) "window",(char *) "text", NULL
30337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30343 arg3
= wxString_in_helper(obj2
);
30344 if (arg3
== NULL
) SWIG_fail
;
30348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30349 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30351 wxPyEndAllowThreads(__tstate
);
30352 if (PyErr_Occurred()) SWIG_fail
;
30354 Py_INCREF(Py_None
); resultobj
= Py_None
;
30369 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30370 PyObject
*resultobj
;
30371 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30373 wxString
*arg3
= 0 ;
30374 bool temp3
= False
;
30375 PyObject
* obj0
= 0 ;
30376 PyObject
* obj1
= 0 ;
30377 PyObject
* obj2
= 0 ;
30378 char *kwnames
[] = {
30379 (char *) "self",(char *) "id",(char *) "text", NULL
30382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30385 arg2
= (int) SWIG_AsInt(obj1
);
30386 if (PyErr_Occurred()) SWIG_fail
;
30388 arg3
= wxString_in_helper(obj2
);
30389 if (arg3
== NULL
) SWIG_fail
;
30393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30394 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30396 wxPyEndAllowThreads(__tstate
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30399 Py_INCREF(Py_None
); resultobj
= Py_None
;
30414 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30415 PyObject
*resultobj
;
30416 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30417 wxWindow
*arg2
= (wxWindow
*) 0 ;
30418 PyObject
* obj0
= 0 ;
30419 PyObject
* obj1
= 0 ;
30420 char *kwnames
[] = {
30421 (char *) "self",(char *) "window", NULL
30424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 (arg1
)->RemoveHelp(arg2
);
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30436 Py_INCREF(Py_None
); resultobj
= Py_None
;
30443 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30444 PyObject
*resultobj
;
30445 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 char *kwnames
[] = {
30448 (char *) "self", NULL
30451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 wxHelpProvider_Destroy(arg1
);
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 Py_INCREF(Py_None
); resultobj
= Py_None
;
30468 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30471 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30473 return Py_BuildValue((char *)"");
30475 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30476 PyObject
*resultobj
;
30477 wxSimpleHelpProvider
*result
;
30478 char *kwnames
[] = {
30482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30485 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30487 wxPyEndAllowThreads(__tstate
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30497 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30500 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30502 return Py_BuildValue((char *)"");
30504 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
;
30506 wxBitmap
*arg1
= 0 ;
30507 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30508 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30509 wxGenericDragImage
*result
;
30510 PyObject
* obj0
= 0 ;
30511 PyObject
* obj1
= 0 ;
30512 char *kwnames
[] = {
30513 (char *) "image",(char *) "cursor", NULL
30516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30520 if (arg1
== NULL
) {
30521 PyErr_SetString(PyExc_TypeError
,"null reference");
30525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30528 if (arg2
== NULL
) {
30529 PyErr_SetString(PyExc_TypeError
,"null reference");
30534 if (!wxPyCheckForApp()) SWIG_fail
;
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30538 wxPyEndAllowThreads(__tstate
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30548 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
;
30551 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30552 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30553 wxGenericDragImage
*result
;
30554 PyObject
* obj0
= 0 ;
30555 PyObject
* obj1
= 0 ;
30556 char *kwnames
[] = {
30557 (char *) "image",(char *) "cursor", NULL
30560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30564 if (arg1
== NULL
) {
30565 PyErr_SetString(PyExc_TypeError
,"null reference");
30569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30572 if (arg2
== NULL
) {
30573 PyErr_SetString(PyExc_TypeError
,"null reference");
30578 if (!wxPyCheckForApp()) SWIG_fail
;
30579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30580 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30582 wxPyEndAllowThreads(__tstate
);
30583 if (PyErr_Occurred()) SWIG_fail
;
30585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30592 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30593 PyObject
*resultobj
;
30594 wxString
*arg1
= 0 ;
30595 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30596 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30597 wxGenericDragImage
*result
;
30598 bool temp1
= False
;
30599 PyObject
* obj0
= 0 ;
30600 PyObject
* obj1
= 0 ;
30601 char *kwnames
[] = {
30602 (char *) "str",(char *) "cursor", NULL
30605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30607 arg1
= wxString_in_helper(obj0
);
30608 if (arg1
== NULL
) SWIG_fail
;
30612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30615 if (arg2
== NULL
) {
30616 PyErr_SetString(PyExc_TypeError
,"null reference");
30621 if (!wxPyCheckForApp()) SWIG_fail
;
30622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30623 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30625 wxPyEndAllowThreads(__tstate
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30643 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
;
30645 wxPyTreeCtrl
*arg1
= 0 ;
30646 wxTreeItemId
*arg2
= 0 ;
30647 wxGenericDragImage
*result
;
30648 PyObject
* obj0
= 0 ;
30649 PyObject
* obj1
= 0 ;
30650 char *kwnames
[] = {
30651 (char *) "treeCtrl",(char *) "id", NULL
30654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30658 if (arg1
== NULL
) {
30659 PyErr_SetString(PyExc_TypeError
,"null reference");
30662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30665 if (arg2
== NULL
) {
30666 PyErr_SetString(PyExc_TypeError
,"null reference");
30670 if (!wxPyCheckForApp()) SWIG_fail
;
30671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30672 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30684 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30685 PyObject
*resultobj
;
30686 wxPyListCtrl
*arg1
= 0 ;
30688 wxGenericDragImage
*result
;
30689 PyObject
* obj0
= 0 ;
30690 PyObject
* obj1
= 0 ;
30691 char *kwnames
[] = {
30692 (char *) "listCtrl",(char *) "id", NULL
30695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30699 if (arg1
== NULL
) {
30700 PyErr_SetString(PyExc_TypeError
,"null reference");
30703 arg2
= (long) SWIG_AsLong(obj1
);
30704 if (PyErr_Occurred()) SWIG_fail
;
30706 if (!wxPyCheckForApp()) SWIG_fail
;
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30710 wxPyEndAllowThreads(__tstate
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30720 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
;
30722 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30723 PyObject
* obj0
= 0 ;
30724 char *kwnames
[] = {
30725 (char *) "self", NULL
30728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30738 Py_INCREF(Py_None
); resultobj
= Py_None
;
30745 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30746 PyObject
*resultobj
;
30747 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30748 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30749 PyObject
* obj0
= 0 ;
30750 PyObject
* obj1
= 0 ;
30751 char *kwnames
[] = {
30752 (char *) "self",(char *) "bitmap", NULL
30755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30762 (arg1
)->SetBackingBitmap(arg2
);
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 Py_INCREF(Py_None
); resultobj
= Py_None
;
30774 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30775 PyObject
*resultobj
;
30776 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30777 wxPoint
*arg2
= 0 ;
30778 wxWindow
*arg3
= (wxWindow
*) 0 ;
30779 bool arg4
= (bool) False
;
30780 wxRect
*arg5
= (wxRect
*) NULL
;
30783 PyObject
* obj0
= 0 ;
30784 PyObject
* obj1
= 0 ;
30785 PyObject
* obj2
= 0 ;
30786 PyObject
* obj3
= 0 ;
30787 PyObject
* obj4
= 0 ;
30788 char *kwnames
[] = {
30789 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30799 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30802 arg4
= (bool) SWIG_AsBool(obj3
);
30803 if (PyErr_Occurred()) SWIG_fail
;
30806 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30811 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30813 wxPyEndAllowThreads(__tstate
);
30814 if (PyErr_Occurred()) SWIG_fail
;
30817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30825 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30826 PyObject
*resultobj
;
30827 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30828 wxPoint
*arg2
= 0 ;
30829 wxWindow
*arg3
= (wxWindow
*) 0 ;
30830 wxWindow
*arg4
= (wxWindow
*) 0 ;
30833 PyObject
* obj0
= 0 ;
30834 PyObject
* obj1
= 0 ;
30835 PyObject
* obj2
= 0 ;
30836 PyObject
* obj3
= 0 ;
30837 char *kwnames
[] = {
30838 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30848 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30850 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30854 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30856 wxPyEndAllowThreads(__tstate
);
30857 if (PyErr_Occurred()) SWIG_fail
;
30860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30868 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30869 PyObject
*resultobj
;
30870 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30872 PyObject
* obj0
= 0 ;
30873 char *kwnames
[] = {
30874 (char *) "self", NULL
30877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30882 result
= (bool)(arg1
)->EndDrag();
30884 wxPyEndAllowThreads(__tstate
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30896 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30897 PyObject
*resultobj
;
30898 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30899 wxPoint
*arg2
= 0 ;
30902 PyObject
* obj0
= 0 ;
30903 PyObject
* obj1
= 0 ;
30904 char *kwnames
[] = {
30905 (char *) "self",(char *) "pt", NULL
30908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30931 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30932 PyObject
*resultobj
;
30933 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30935 PyObject
* obj0
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 result
= (bool)(arg1
)->Show();
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30959 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30960 PyObject
*resultobj
;
30961 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30963 PyObject
* obj0
= 0 ;
30964 char *kwnames
[] = {
30965 (char *) "self", NULL
30968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30973 result
= (bool)(arg1
)->Hide();
30975 wxPyEndAllowThreads(__tstate
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30987 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30988 PyObject
*resultobj
;
30989 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30990 wxPoint
*arg2
= 0 ;
30993 PyObject
* obj0
= 0 ;
30994 PyObject
* obj1
= 0 ;
30995 char *kwnames
[] = {
30996 (char *) "self",(char *) "pos", NULL
30999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31004 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31010 wxPyEndAllowThreads(__tstate
);
31011 if (PyErr_Occurred()) SWIG_fail
;
31014 wxRect
* resultptr
;
31015 resultptr
= new wxRect((wxRect
&) result
);
31016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31024 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31025 PyObject
*resultobj
;
31026 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31028 wxPoint
*arg3
= 0 ;
31031 PyObject
* obj0
= 0 ;
31032 PyObject
* obj1
= 0 ;
31033 PyObject
* obj2
= 0 ;
31034 char *kwnames
[] = {
31035 (char *) "self",(char *) "dc",(char *) "pos", NULL
31038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31044 if (arg2
== NULL
) {
31045 PyErr_SetString(PyExc_TypeError
,"null reference");
31050 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31054 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31056 wxPyEndAllowThreads(__tstate
);
31057 if (PyErr_Occurred()) SWIG_fail
;
31060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31068 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31069 PyObject
*resultobj
;
31070 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31072 wxMemoryDC
*arg3
= 0 ;
31078 PyObject
* obj0
= 0 ;
31079 PyObject
* obj1
= 0 ;
31080 PyObject
* obj2
= 0 ;
31081 PyObject
* obj3
= 0 ;
31082 PyObject
* obj4
= 0 ;
31083 char *kwnames
[] = {
31084 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31093 if (arg2
== NULL
) {
31094 PyErr_SetString(PyExc_TypeError
,"null reference");
31097 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31100 if (arg3
== NULL
) {
31101 PyErr_SetString(PyExc_TypeError
,"null reference");
31106 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31110 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31114 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31116 wxPyEndAllowThreads(__tstate
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31128 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31129 PyObject
*resultobj
;
31130 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31131 wxPoint
*arg2
= 0 ;
31132 wxPoint
*arg3
= 0 ;
31138 PyObject
* obj0
= 0 ;
31139 PyObject
* obj1
= 0 ;
31140 PyObject
* obj2
= 0 ;
31141 PyObject
* obj3
= 0 ;
31142 PyObject
* obj4
= 0 ;
31143 char *kwnames
[] = {
31144 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31156 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31158 arg4
= (bool) SWIG_AsBool(obj3
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31160 arg5
= (bool) SWIG_AsBool(obj4
);
31161 if (PyErr_Occurred()) SWIG_fail
;
31163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31164 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31166 wxPyEndAllowThreads(__tstate
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31178 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31181 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31183 return Py_BuildValue((char *)"");
31185 static PyMethodDef SwigMethods
[] = {
31186 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31189 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31190 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31191 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31193 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31208 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31220 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31228 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31249 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31263 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31268 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31275 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31280 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31288 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31311 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31319 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31350 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31405 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31410 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31422 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31435 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31447 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31451 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31469 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31476 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31502 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31510 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31531 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31537 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31547 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31549 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31554 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31556 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31561 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31566 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31596 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31641 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31647 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31659 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31711 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31738 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31809 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31821 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31829 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31836 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31852 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31927 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31949 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31954 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31967 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31980 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31988 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31993 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31995 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32000 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32004 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32006 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32007 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32008 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32010 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32011 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32013 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32017 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32018 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32019 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32022 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32023 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32028 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32030 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32031 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32033 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32034 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32036 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32037 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32039 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32040 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32042 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32043 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32045 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32046 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32048 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32049 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32051 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32052 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32054 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32055 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32057 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32058 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32060 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32061 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32063 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32064 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32066 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32067 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32069 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32070 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32072 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32073 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32075 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32076 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32078 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32079 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32081 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32082 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32084 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32085 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32087 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32088 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32090 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32091 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32093 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32094 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32096 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32099 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32100 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32102 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32103 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32105 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32106 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32108 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32111 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32112 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32114 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32115 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32117 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32118 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32120 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32121 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32123 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32124 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32126 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32127 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32129 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32130 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32132 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32133 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32135 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32136 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32138 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32139 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32141 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32144 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32145 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32147 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32148 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32150 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32151 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32153 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32154 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32156 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32157 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32159 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32160 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32162 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32163 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32165 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32166 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32168 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32169 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32171 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32172 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32174 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32175 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32177 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32178 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32180 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32181 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32183 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32184 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32186 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32187 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32189 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32190 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32192 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32193 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32195 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32196 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32198 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32199 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32201 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32202 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32204 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32205 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32207 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32208 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32210 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32211 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32213 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32214 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32216 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32217 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32219 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32220 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32222 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32223 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32225 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32226 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32228 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32229 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32231 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32232 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32234 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32235 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32237 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32238 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32240 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32241 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32243 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32244 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32246 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32247 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32249 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32250 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32252 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32253 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32255 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32256 return (void *)((wxControl
*) ((wxGauge
*) x
));
32258 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32259 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32261 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32262 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32264 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32265 return (void *)((wxControl
*) ((wxButton
*) x
));
32267 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32268 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32270 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32271 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32273 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32274 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32276 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32277 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32279 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32280 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32282 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32283 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32285 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32286 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32288 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32289 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32291 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32292 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32294 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32295 return (void *)((wxControl
*) ((wxSlider
*) x
));
32297 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32298 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32300 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32301 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32303 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32304 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32306 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32307 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32309 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32310 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32312 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32313 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32315 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32316 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32318 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32319 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32321 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32322 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32324 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32325 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32327 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32328 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32330 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32331 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32333 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32336 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32337 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32339 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32340 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32342 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32343 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32345 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32348 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32349 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32351 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32354 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32357 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32358 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32360 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32361 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32363 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32366 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32367 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32369 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32372 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32375 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32378 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32379 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32381 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32384 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32387 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32390 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32393 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32396 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32399 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32402 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32405 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32408 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32411 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32414 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32417 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32420 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32423 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32426 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32429 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32432 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32435 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32438 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32441 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32444 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32447 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32450 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32453 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32454 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32456 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32457 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32459 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32460 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32462 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32463 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32465 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32466 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32468 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32469 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32471 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32472 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32474 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32475 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32477 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32478 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32480 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32481 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32483 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32484 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32486 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32487 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32489 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32490 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32492 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32493 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32495 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32496 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32498 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32499 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32501 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32502 return (void *)((wxObject
*) ((wxSizer
*) x
));
32504 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32505 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32507 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32510 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32513 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32516 static void *_p_wxEventTo_p_wxObject(void *x
) {
32517 return (void *)((wxObject
*) ((wxEvent
*) x
));
32519 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32520 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32522 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32523 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32525 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32526 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32528 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32531 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32534 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32537 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32538 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32540 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32541 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32543 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32544 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32546 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32547 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32549 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32550 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32552 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32553 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32555 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32558 static void *_p_wxControlTo_p_wxObject(void *x
) {
32559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32561 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32564 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32567 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32570 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32573 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32576 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32577 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32579 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32582 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32583 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32585 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32586 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32588 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32591 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32594 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32597 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32600 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32603 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32606 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32609 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32612 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32615 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32618 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32621 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32624 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32627 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32630 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32633 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32636 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32639 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32642 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32645 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32648 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32651 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32654 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32657 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32660 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32663 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32666 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32669 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32672 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32675 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32678 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32681 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32684 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32687 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32690 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32693 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32696 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32699 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32702 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32705 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32708 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32711 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32714 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32717 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32720 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32723 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32726 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) ((wxListItem
*) x
));
32729 static void *_p_wxImageTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) ((wxImage
*) x
));
32732 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32735 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32738 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32741 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32744 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32747 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32750 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32753 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32756 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32759 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32762 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32763 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32765 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32766 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32768 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32771 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32772 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32774 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32775 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32777 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32778 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32780 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32781 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32783 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32784 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32786 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32787 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32789 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32790 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32792 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32795 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32796 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32798 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32799 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32801 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32804 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32805 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32807 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32808 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32810 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32811 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32813 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32816 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32817 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32819 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32822 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32825 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32826 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32828 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32829 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32831 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32832 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32834 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32835 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32837 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32838 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32840 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32841 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32843 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32844 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32846 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32847 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32849 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32850 return (void *)((wxWindow
*) ((wxControl
*) x
));
32852 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32853 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32855 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32856 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32858 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32859 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32861 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32862 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32864 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32865 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32867 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32868 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32870 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32871 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32873 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32874 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32876 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32877 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32879 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32880 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32882 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32883 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32885 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32886 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32888 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32889 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32891 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32892 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32894 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32895 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32897 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32898 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32900 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32901 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32903 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32904 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32906 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32907 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32909 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32910 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32912 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32913 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32915 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32916 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32918 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32919 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32921 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32922 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32924 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32925 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32927 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32928 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32930 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32931 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32933 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32934 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32936 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32937 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32939 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32940 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32942 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32943 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32945 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32946 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32948 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32949 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32951 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32952 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32954 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32955 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32957 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32958 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32960 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32961 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32963 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32964 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32966 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32967 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32969 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32970 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32972 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32973 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32975 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32976 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32978 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32979 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32981 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32982 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32984 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32985 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32987 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32988 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32990 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32991 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32993 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32994 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32996 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32997 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32999 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}};
33000 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}};
33001 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}};
33002 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}};
33003 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}};
33004 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}};
33005 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}};
33006 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}};
33007 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}};
33008 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}};
33009 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}};
33010 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}};
33011 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}};
33012 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}};
33013 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}};
33014 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}};
33015 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}};
33016 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}};
33017 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}};
33018 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}};
33019 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}};
33020 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}};
33021 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}};
33022 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}};
33023 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}};
33024 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}};
33025 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}};
33026 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}};
33027 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}};
33028 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}};
33029 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}};
33030 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}};
33031 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}};
33032 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}};
33033 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}};
33034 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}};
33035 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}};
33036 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}};
33037 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}};
33038 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}};
33039 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}};
33040 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}};
33041 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}};
33042 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}};
33043 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}};
33044 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}};
33045 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}};
33046 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}};
33047 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}};
33048 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}};
33049 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}};
33050 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}};
33051 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}};
33052 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}};
33053 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}};
33054 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}};
33055 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}};
33056 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}};
33057 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}};
33058 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}};
33059 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}};
33060 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}};
33061 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}};
33062 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}};
33063 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}};
33064 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}};
33065 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}};
33066 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}};
33067 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}};
33068 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}};
33069 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}};
33070 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}};
33071 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}};
33072 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}};
33073 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}};
33074 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}};
33075 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}};
33076 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}};
33077 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}};
33078 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}};
33079 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}};
33080 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}};
33081 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}};
33082 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}};
33083 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}};
33085 static swig_type_info
*swig_types_initial
[] = {
33086 _swigt__p_wxTextUrlEvent
,
33087 _swigt__p_wxBookCtrlEvent
,
33089 _swigt__p_wxCheckBox
,
33090 _swigt__p_wxPyTreeCtrl
,
33092 _swigt__p_wxGenericDirCtrl
,
33094 _swigt__p_wxPyTreeItemData
,
33095 _swigt__p_wxItemContainer
,
33096 _swigt__p_wxPyListCtrl
,
33097 _swigt__p_wxDirFilterListCtrl
,
33098 _swigt__p_wxStaticLine
,
33099 _swigt__p_wxControl
,
33100 _swigt__p_wxPyControl
,
33102 _swigt__p_wxToolBarBase
,
33104 _swigt__p_wxToggleButton
,
33105 _swigt__p_wxRadioButton
,
33106 _swigt__p_wxChoice
,
33107 _swigt__p_wxMemoryDC
,
33108 _swigt__p_wxListItemAttr
,
33113 _swigt__p_wxListView
,
33115 _swigt__p_wxVisualAttributes
,
33116 _swigt__p_wxTextCtrl
,
33117 _swigt__p_wxNotebook
,
33118 _swigt__p_wxNotifyEvent
,
33119 _swigt__p_wxArrayString
,
33120 _swigt__p_wxListbook
,
33121 _swigt__p_wxStaticBitmap
,
33122 _swigt__p_wxSlider
,
33123 _swigt__p_wxStaticBox
,
33124 _swigt__p_wxArrayInt
,
33125 _swigt__p_wxContextHelp
,
33127 _swigt__p_wxEvtHandler
,
33128 _swigt__p_wxListEvent
,
33129 _swigt__p_wxCheckListBox
,
33130 _swigt__p_wxListBox
,
33131 _swigt__p_wxBookCtrl
,
33132 _swigt__p_wxSpinButton
,
33133 _swigt__p_wxButton
,
33134 _swigt__p_wxBitmapButton
,
33136 _swigt__p_wxContextHelpButton
,
33137 _swigt__p_wxRadioBox
,
33138 _swigt__p_wxScrollBar
,
33140 _swigt__p_wxTreeItemId
,
33141 _swigt__p_wxComboBox
,
33142 _swigt__p_wxHelpEvent
,
33143 _swigt__p_wxListItem
,
33144 _swigt__p_wxNotebookSizer
,
33145 _swigt__p_wxSpinEvent
,
33146 _swigt__p_wxGenericDragImage
,
33147 _swigt__p_wxSpinCtrl
,
33148 _swigt__p_wxImageList
,
33149 _swigt__p_wxHelpProvider
,
33150 _swigt__p_wxTextAttr
,
33151 _swigt__p_wxSimpleHelpProvider
,
33153 _swigt__p_wxListbookEvent
,
33154 _swigt__p_wxNotebookEvent
,
33155 _swigt__p_wxObject
,
33156 _swigt__p_wxCursor
,
33157 _swigt__p_wxKeyEvent
,
33158 _swigt__p_wxWindow
,
33159 _swigt__p_wxString
,
33160 _swigt__p_wxBitmap
,
33161 _swigt__p_wxTreeEvent
,
33162 _swigt__p_wxMouseEvent
,
33163 _swigt__p_wxCommandEvent
,
33164 _swigt__p_wxStaticText
,
33165 _swigt__p_wxControlWithItems
,
33166 _swigt__p_wxToolBarToolBase
,
33167 _swigt__p_wxColour
,
33168 _swigt__p_wxToolBar
,
33169 _swigt__p_wxBookCtrlSizer
,
33170 _swigt__p_wxValidator
,
33175 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33177 static swig_const_info swig_const_table
[] = {
33187 SWIGEXPORT(void) SWIG_init(void) {
33188 static PyObject
*SWIG_globals
= 0;
33189 static int typeinit
= 0;
33192 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33193 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33194 d
= PyModule_GetDict(m
);
33197 for (i
= 0; swig_types_initial
[i
]; i
++) {
33198 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33202 SWIG_InstallConstants(d
,swig_const_table
);
33204 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33205 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33206 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33207 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33208 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33209 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33210 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33211 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33212 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33213 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33214 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33215 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33216 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33217 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33218 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33219 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33220 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33221 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33222 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33223 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33224 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33225 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33226 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33227 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33228 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33229 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33230 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33231 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33232 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33233 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33234 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33235 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33236 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33237 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33238 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33239 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33240 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33241 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33242 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33243 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33244 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33245 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33246 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33247 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33248 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33249 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33250 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33251 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33252 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33253 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33254 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33255 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33256 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33257 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33258 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33259 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33260 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33261 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33262 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33263 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33264 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33265 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33266 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33267 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33268 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33269 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33270 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33271 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33272 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33273 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33274 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33275 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33276 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33277 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33278 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33279 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33280 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33281 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33282 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33283 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33284 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33285 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33286 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33287 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33288 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33289 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33290 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33291 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33292 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33293 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33294 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33295 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33296 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33297 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33298 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33299 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33300 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33301 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33302 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33303 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33304 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33305 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33306 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33307 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33308 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33309 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33310 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33311 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33312 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33313 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33314 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33315 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33316 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33317 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33318 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33319 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33320 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33321 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33322 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33323 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33324 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33325 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33326 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33327 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33328 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33329 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33330 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33331 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33332 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33333 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33334 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33335 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33336 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33337 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33338 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33339 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33340 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33341 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33342 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33343 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33344 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33345 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33346 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33347 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33348 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33349 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33350 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33351 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33352 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33353 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33354 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33355 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33356 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33357 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33358 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33359 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33360 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33361 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33362 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33363 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33364 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33365 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33366 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33367 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33368 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33369 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33370 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33371 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33372 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33373 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33374 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33375 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33376 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33377 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33378 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33379 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33380 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33381 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33382 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33383 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33384 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33385 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33386 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33387 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33388 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33389 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33390 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33391 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33392 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33393 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33394 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33395 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33396 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33397 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33398 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33399 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33400 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33401 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33402 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33403 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33404 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33405 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33406 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33407 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33408 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33409 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33410 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33411 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33412 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33413 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33414 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33416 // Map renamed classes back to their common name for OOR
33417 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33419 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33420 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33421 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33422 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33423 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33424 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33425 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33426 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33427 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33428 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33429 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33430 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33431 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33432 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33433 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33434 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33435 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33436 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33437 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33438 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33439 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33440 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33441 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33442 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33443 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33444 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33445 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33446 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33447 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33448 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33449 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33450 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33451 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33452 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33453 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33454 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33455 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33456 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33457 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33458 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33459 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33460 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33461 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33462 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33463 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33464 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33465 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33466 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33467 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33468 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33469 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33470 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33471 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33472 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33473 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33474 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33476 // Map renamed classes back to their common name for OOR
33477 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33478 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33480 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33481 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33482 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33483 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33484 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33485 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33486 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33487 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33488 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33489 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33491 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");