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
);
573 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
574 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
575 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
577 #include <wx/slider.h>
580 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
581 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
584 // implement dummy items for platforms that don't have this class
586 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
588 class wxToggleButton
: public wxControl
591 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
592 const wxPoint
&, const wxSize
&, long,
593 const wxValidator
&, const wxString
&)
594 { wxPyRaiseNotImplemented(); }
597 { wxPyRaiseNotImplemented(); }
601 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
603 SWIGSTATICINLINE(PyObject
* )
604 SWIG_FromUnsignedLong(unsigned long value
)
606 return (value
> LONG_MAX
) ?
607 PyLong_FromUnsignedLong(value
)
608 : PyInt_FromLong(swig_numeric_cast(long,value
));
611 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
612 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
613 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
615 Py_INCREF(udata
->m_obj
);
622 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
623 self
->SetClientData(new wxPyUserData(clientData
));
625 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
){
626 wxPyUserData
* udata
= NULL
;
627 if (clientData
&& clientData
!= Py_None
)
628 udata
= new wxPyUserData(clientData
);
629 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
630 shortHelp
, longHelp
, udata
);
632 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
){
633 wxPyUserData
* udata
= NULL
;
634 if (clientData
&& clientData
!= Py_None
)
635 udata
= new wxPyUserData(clientData
);
636 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
637 shortHelp
, longHelp
, udata
);
639 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
640 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
642 Py_INCREF(udata
->m_obj
);
649 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
650 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
653 #include <wx/listctrl.h>
656 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
657 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
658 // Python aware sorting function for wxPyListCtrl
659 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
661 PyObject
* func
= (PyObject
*)funcPtr
;
662 bool blocked
= wxPyBeginBlockThreads();
664 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
665 PyObject
* result
= PyEval_CallObject(func
, args
);
668 retval
= PyInt_AsLong(result
);
672 wxPyEndBlockThreads(blocked
);
676 // C++ Version of a Python aware class
677 class wxPyListCtrl
: public wxListCtrl
{
678 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
680 wxPyListCtrl() : wxListCtrl() {}
681 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
685 const wxValidator
& validator
,
686 const wxString
& name
) :
687 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
689 bool Create(wxWindow
* parent
, wxWindowID id
,
693 const wxValidator
& validator
,
694 const wxString
& name
) {
695 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
698 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
699 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
700 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
705 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
707 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
708 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
709 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
711 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
713 item
.SetMask( wxLIST_MASK_STATE
|
721 if (self
->GetColumn(col
, item
))
722 return new wxListItem(item
);
726 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
727 wxListItem
* info
= new wxListItem
;
728 info
->m_itemId
= itemId
;
730 info
->m_mask
= 0xFFFF;
731 self
->GetItem(*info
);
734 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
736 self
->GetItemPosition(item
, pos
);
739 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
741 self
->GetItemRect(item
, rect
, code
);
744 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
745 if (!PyCallable_Check(func
))
747 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
749 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
753 return (wxWindow
*)self
->m_mainWin
;
757 #include <wx/treectrl.h>
758 #include "wx/wxPython/pytree.h"
760 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
761 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
762 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
763 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
764 // C++ version of Python aware wxTreeCtrl
765 class wxPyTreeCtrl
: public wxTreeCtrl
{
766 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
768 wxPyTreeCtrl() : wxTreeCtrl() {}
769 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
773 const wxValidator
& validator
,
774 const wxString
& name
) :
775 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
777 bool Create(wxWindow
*parent
, wxWindowID id
,
781 const wxValidator
& validator
,
782 const wxString
& name
) {
783 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
787 int OnCompareItems(const wxTreeItemId
& item1
,
788 const wxTreeItemId
& item2
) {
791 bool blocked
= wxPyBeginBlockThreads();
792 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
793 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
794 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
795 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
799 wxPyEndBlockThreads(blocked
);
801 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
807 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
811 #if UINT_MAX < LONG_MAX
812 #define SWIG_FromUnsignedInt SWIG_FromLong
814 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
818 SWIGSTATICINLINE(unsigned long)
819 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
820 unsigned long max_value
)
822 if (!PyErr_Occurred()) {
823 if (value
> max_value
) {
825 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
826 value
, type
, max_value
);
827 PyErr_SetObject(PyExc_OverflowError
, err
);
835 #if UINT_MAX != ULONG_MAX
836 SWIGSTATICINLINE(unsigned int)
837 SWIG_AsUnsignedInt(PyObject
*obj
)
839 return swig_numeric_cast(unsigned int,
840 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
841 "unsigned int", UINT_MAX
));
844 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
848 SWIGSTATICINLINE(int)
849 SWIG_CheckUnsignedInt(PyObject
* obj
)
851 SWIG_AsUnsignedInt(obj
);
852 if (PyErr_Occurred()) {
860 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
861 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
863 data
= new wxPyTreeItemData();
864 data
->SetId(item
); // set the id
865 self
->SetItemData(item
, data
);
869 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
870 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
872 data
= new wxPyTreeItemData();
873 data
->SetId(item
); // set the id
874 self
->SetItemData(item
, data
);
876 return data
->GetData();
878 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
879 data
->SetId(item
); // set the id
880 self
->SetItemData(item
, data
);
882 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
883 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
885 data
= new wxPyTreeItemData(obj
);
886 data
->SetId(item
); // set the id
887 self
->SetItemData(item
, data
);
891 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
892 bool blocked
= wxPyBeginBlockThreads();
893 PyObject
* rval
= PyList_New(0);
894 wxArrayTreeItemIds array
;
896 num
= self
->GetSelections(array
);
897 for (x
=0; x
< num
; x
++) {
898 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
899 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
900 PyList_Append(rval
, item
);
902 wxPyEndBlockThreads(blocked
);
905 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
907 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
908 bool blocked
= wxPyBeginBlockThreads();
909 PyObject
* tup
= PyTuple_New(2);
910 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
911 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
912 wxPyEndBlockThreads(blocked
);
915 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
916 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
917 bool blocked
= wxPyBeginBlockThreads();
918 PyObject
* tup
= PyTuple_New(2);
919 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
920 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
921 wxPyEndBlockThreads(blocked
);
924 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
926 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
927 bool blocked
= wxPyBeginBlockThreads();
928 wxRect
* r
= new wxRect(rect
);
929 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
930 wxPyEndBlockThreads(blocked
);
936 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
937 // C++ version of Python aware wxControl
938 class wxPyControl
: public wxControl
940 DECLARE_DYNAMIC_CLASS(wxPyControl
)
942 wxPyControl() : wxControl() {}
943 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
944 const wxPoint
& pos
= wxDefaultPosition
,
945 const wxSize
& size
= wxDefaultSize
,
947 const wxValidator
& validator
=wxDefaultValidator
,
948 const wxString
& name
= wxPyControlNameStr
)
949 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
952 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
953 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
954 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
955 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
959 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
961 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
962 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
964 DEC_PYCALLBACK__(InitDialog
);
965 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
966 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
967 DEC_PYCALLBACK_BOOL_(Validate
);
969 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
970 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
971 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
973 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
974 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
976 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
977 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
982 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
984 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
985 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
987 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
991 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
994 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
996 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
997 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
999 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1002 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1003 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1006 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1008 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
1009 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1013 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1015 #include <wx/generic/dragimgg.h>
1020 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1021 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1026 static PyObject
*_wrap_ButtonNameStr_get() {
1031 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1033 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1040 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxWindow
*arg1
= (wxWindow
*) 0 ;
1044 wxString
*arg3
= 0 ;
1045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1049 long arg6
= (long) 0 ;
1050 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1051 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1052 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1055 bool temp3
= False
;
1058 bool temp8
= False
;
1059 PyObject
* obj0
= 0 ;
1060 PyObject
* obj1
= 0 ;
1061 PyObject
* obj2
= 0 ;
1062 PyObject
* obj3
= 0 ;
1063 PyObject
* obj4
= 0 ;
1064 PyObject
* obj5
= 0 ;
1065 PyObject
* obj6
= 0 ;
1066 PyObject
* obj7
= 0 ;
1068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1074 arg2
= (int) SWIG_AsInt(obj1
);
1075 if (PyErr_Occurred()) SWIG_fail
;
1077 arg3
= wxString_in_helper(obj2
);
1078 if (arg3
== NULL
) SWIG_fail
;
1084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1094 arg6
= (long) SWIG_AsLong(obj5
);
1095 if (PyErr_Occurred()) SWIG_fail
;
1098 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1102 PyErr_SetString(PyExc_TypeError
,"null reference");
1108 arg8
= wxString_in_helper(obj7
);
1109 if (arg8
== NULL
) SWIG_fail
;
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) SWIG_fail
;
1121 resultobj
= wxPyMake_wxObject(result
);
1145 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
*resultobj
;
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 result
= (wxButton
*)new wxButton();
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) SWIG_fail
;
1161 resultobj
= wxPyMake_wxObject(result
);
1169 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
*resultobj
;
1171 wxButton
*arg1
= (wxButton
*) 0 ;
1172 wxWindow
*arg2
= (wxWindow
*) 0 ;
1174 wxString
*arg4
= 0 ;
1175 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1176 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1177 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1178 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1179 long arg7
= (long) 0 ;
1180 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1181 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1182 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1183 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1185 bool temp4
= False
;
1188 bool temp9
= False
;
1189 PyObject
* obj0
= 0 ;
1190 PyObject
* obj1
= 0 ;
1191 PyObject
* obj2
= 0 ;
1192 PyObject
* obj3
= 0 ;
1193 PyObject
* obj4
= 0 ;
1194 PyObject
* obj5
= 0 ;
1195 PyObject
* obj6
= 0 ;
1196 PyObject
* obj7
= 0 ;
1197 PyObject
* obj8
= 0 ;
1199 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1207 arg3
= (int) SWIG_AsInt(obj2
);
1208 if (PyErr_Occurred()) SWIG_fail
;
1210 arg4
= wxString_in_helper(obj3
);
1211 if (arg4
== NULL
) SWIG_fail
;
1217 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1223 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1227 arg7
= (long) SWIG_AsLong(obj6
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1231 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1235 PyErr_SetString(PyExc_TypeError
,"null reference");
1241 arg9
= wxString_in_helper(obj8
);
1242 if (arg9
== NULL
) SWIG_fail
;
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) SWIG_fail
;
1254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1278 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
*resultobj
;
1280 wxButton
*arg1
= (wxButton
*) 0 ;
1281 PyObject
* obj0
= 0 ;
1283 (char *) "self", NULL
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 (arg1
)->SetDefault();
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1296 Py_INCREF(Py_None
); resultobj
= Py_None
;
1303 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
*resultobj
;
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 result
= wxButton::GetDefaultSize();
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) SWIG_fail
;
1320 resultptr
= new wxSize((wxSize
&) result
);
1321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1329 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1332 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1334 return Py_BuildValue((char *)"");
1336 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
*resultobj
;
1338 wxWindow
*arg1
= (wxWindow
*) 0 ;
1340 wxBitmap
*arg3
= 0 ;
1341 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1342 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1343 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1344 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1345 long arg6
= (long) wxBU_AUTODRAW
;
1346 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1347 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1348 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1349 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1350 wxBitmapButton
*result
;
1353 bool temp8
= False
;
1354 PyObject
* obj0
= 0 ;
1355 PyObject
* obj1
= 0 ;
1356 PyObject
* obj2
= 0 ;
1357 PyObject
* obj3
= 0 ;
1358 PyObject
* obj4
= 0 ;
1359 PyObject
* obj5
= 0 ;
1360 PyObject
* obj6
= 0 ;
1361 PyObject
* obj7
= 0 ;
1363 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1369 arg2
= (int) SWIG_AsInt(obj1
);
1370 if (PyErr_Occurred()) SWIG_fail
;
1371 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1375 PyErr_SetString(PyExc_TypeError
,"null reference");
1381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1391 arg6
= (long) SWIG_AsLong(obj5
);
1392 if (PyErr_Occurred()) SWIG_fail
;
1395 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1399 PyErr_SetString(PyExc_TypeError
,"null reference");
1405 arg8
= wxString_in_helper(obj7
);
1406 if (arg8
== NULL
) SWIG_fail
;
1411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1412 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1414 wxPyEndAllowThreads(__tstate
);
1415 if (PyErr_Occurred()) SWIG_fail
;
1418 resultobj
= wxPyMake_wxObject(result
);
1434 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
*resultobj
;
1436 wxBitmapButton
*result
;
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 result
= (wxBitmapButton
*)new wxBitmapButton();
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1450 resultobj
= wxPyMake_wxObject(result
);
1458 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
*resultobj
;
1460 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1461 wxWindow
*arg2
= (wxWindow
*) 0 ;
1463 wxBitmap
*arg4
= 0 ;
1464 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1465 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1466 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1467 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1468 long arg7
= (long) wxBU_AUTODRAW
;
1469 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1470 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1471 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1472 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1476 bool temp9
= False
;
1477 PyObject
* obj0
= 0 ;
1478 PyObject
* obj1
= 0 ;
1479 PyObject
* obj2
= 0 ;
1480 PyObject
* obj3
= 0 ;
1481 PyObject
* obj4
= 0 ;
1482 PyObject
* obj5
= 0 ;
1483 PyObject
* obj6
= 0 ;
1484 PyObject
* obj7
= 0 ;
1485 PyObject
* obj8
= 0 ;
1487 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1495 arg3
= (int) SWIG_AsInt(obj2
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1497 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1501 PyErr_SetString(PyExc_TypeError
,"null reference");
1507 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1513 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1517 arg7
= (long) SWIG_AsLong(obj6
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1521 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1525 PyErr_SetString(PyExc_TypeError
,"null reference");
1531 arg9
= wxString_in_helper(obj8
);
1532 if (arg9
== NULL
) SWIG_fail
;
1537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1538 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1540 wxPyEndAllowThreads(__tstate
);
1541 if (PyErr_Occurred()) SWIG_fail
;
1544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1560 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
*resultobj
;
1562 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1564 PyObject
* obj0
= 0 ;
1566 (char *) "self", NULL
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 result
= (arg1
)->GetBitmapLabel();
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) SWIG_fail
;
1580 wxBitmap
* resultptr
;
1581 resultptr
= new wxBitmap((wxBitmap
&) result
);
1582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1590 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1594 PyObject
* obj0
= 0 ;
1596 (char *) "self", NULL
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 result
= (arg1
)->GetBitmapDisabled();
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1610 wxBitmap
* resultptr
;
1611 resultptr
= new wxBitmap((wxBitmap
&) result
);
1612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1620 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1624 PyObject
* obj0
= 0 ;
1626 (char *) "self", NULL
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 result
= (arg1
)->GetBitmapFocus();
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1640 wxBitmap
* resultptr
;
1641 resultptr
= new wxBitmap((wxBitmap
&) result
);
1642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1650 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
*resultobj
;
1652 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1654 PyObject
* obj0
= 0 ;
1656 (char *) "self", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 result
= (arg1
)->GetBitmapSelected();
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1670 wxBitmap
* resultptr
;
1671 resultptr
= new wxBitmap((wxBitmap
&) result
);
1672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1680 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
*resultobj
;
1682 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1683 wxBitmap
*arg2
= 0 ;
1684 PyObject
* obj0
= 0 ;
1685 PyObject
* obj1
= 0 ;
1687 (char *) "self",(char *) "bitmap", NULL
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1697 PyErr_SetString(PyExc_TypeError
,"null reference");
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1707 Py_INCREF(Py_None
); resultobj
= Py_None
;
1714 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
*resultobj
;
1716 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1717 wxBitmap
*arg2
= 0 ;
1718 PyObject
* obj0
= 0 ;
1719 PyObject
* obj1
= 0 ;
1721 (char *) "self",(char *) "bitmap", NULL
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1731 PyErr_SetString(PyExc_TypeError
,"null reference");
1735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1736 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1738 wxPyEndAllowThreads(__tstate
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1741 Py_INCREF(Py_None
); resultobj
= Py_None
;
1748 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
*resultobj
;
1750 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1751 wxBitmap
*arg2
= 0 ;
1752 PyObject
* obj0
= 0 ;
1753 PyObject
* obj1
= 0 ;
1755 (char *) "self",(char *) "bitmap", NULL
1758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1765 PyErr_SetString(PyExc_TypeError
,"null reference");
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) SWIG_fail
;
1775 Py_INCREF(Py_None
); resultobj
= Py_None
;
1782 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1784 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1785 wxBitmap
*arg2
= 0 ;
1786 PyObject
* obj0
= 0 ;
1787 PyObject
* obj1
= 0 ;
1789 (char *) "self",(char *) "bitmap", NULL
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1799 PyErr_SetString(PyExc_TypeError
,"null reference");
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 Py_INCREF(Py_None
); resultobj
= Py_None
;
1816 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
*resultobj
;
1818 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1821 PyObject
* obj0
= 0 ;
1822 PyObject
* obj1
= 0 ;
1823 PyObject
* obj2
= 0 ;
1825 (char *) "self",(char *) "x",(char *) "y", NULL
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1831 arg2
= (int) SWIG_AsInt(obj1
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1833 arg3
= (int) SWIG_AsInt(obj2
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 (arg1
)->SetMargins(arg2
,arg3
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1842 Py_INCREF(Py_None
); resultobj
= Py_None
;
1849 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1853 PyObject
* obj0
= 0 ;
1855 (char *) "self", NULL
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1868 resultobj
= SWIG_FromInt((int)result
);
1875 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1879 PyObject
* obj0
= 0 ;
1881 (char *) "self", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1894 resultobj
= SWIG_FromInt((int)result
);
1901 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1904 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1906 return Py_BuildValue((char *)"");
1908 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1909 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1914 static PyObject
*_wrap_CheckBoxNameStr_get() {
1919 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1921 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1928 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxWindow
*arg1
= (wxWindow
*) 0 ;
1932 wxString
*arg3
= 0 ;
1933 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1934 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1935 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1936 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1937 long arg6
= (long) 0 ;
1938 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1939 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1940 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1941 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1943 bool temp3
= False
;
1946 bool temp8
= False
;
1947 PyObject
* obj0
= 0 ;
1948 PyObject
* obj1
= 0 ;
1949 PyObject
* obj2
= 0 ;
1950 PyObject
* obj3
= 0 ;
1951 PyObject
* obj4
= 0 ;
1952 PyObject
* obj5
= 0 ;
1953 PyObject
* obj6
= 0 ;
1954 PyObject
* obj7
= 0 ;
1956 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1962 arg2
= (int) SWIG_AsInt(obj1
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 arg3
= wxString_in_helper(obj2
);
1966 if (arg3
== NULL
) SWIG_fail
;
1972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1982 arg6
= (long) SWIG_AsLong(obj5
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1986 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1990 PyErr_SetString(PyExc_TypeError
,"null reference");
1996 arg8
= wxString_in_helper(obj7
);
1997 if (arg8
== NULL
) SWIG_fail
;
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2031 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
*resultobj
;
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 result
= (wxCheckBox
*)new wxCheckBox();
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) SWIG_fail
;
2046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2053 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
*resultobj
;
2055 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2056 wxWindow
*arg2
= (wxWindow
*) 0 ;
2058 wxString
*arg4
= 0 ;
2059 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2060 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2061 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2062 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2063 long arg7
= (long) 0 ;
2064 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2065 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2066 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2067 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2069 bool temp4
= False
;
2072 bool temp9
= False
;
2073 PyObject
* obj0
= 0 ;
2074 PyObject
* obj1
= 0 ;
2075 PyObject
* obj2
= 0 ;
2076 PyObject
* obj3
= 0 ;
2077 PyObject
* obj4
= 0 ;
2078 PyObject
* obj5
= 0 ;
2079 PyObject
* obj6
= 0 ;
2080 PyObject
* obj7
= 0 ;
2081 PyObject
* obj8
= 0 ;
2083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2091 arg3
= (int) SWIG_AsInt(obj2
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 arg4
= wxString_in_helper(obj3
);
2095 if (arg4
== NULL
) SWIG_fail
;
2101 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2107 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2111 arg7
= (long) SWIG_AsLong(obj6
);
2112 if (PyErr_Occurred()) SWIG_fail
;
2115 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2119 PyErr_SetString(PyExc_TypeError
,"null reference");
2125 arg9
= wxString_in_helper(obj8
);
2126 if (arg9
== NULL
) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2162 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
*resultobj
;
2164 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2168 (char *) "self", NULL
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2176 result
= (bool)(arg1
)->GetValue();
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) SWIG_fail
;
2182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2190 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2194 PyObject
* obj0
= 0 ;
2196 (char *) "self", NULL
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 result
= (bool)(arg1
)->IsChecked();
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2218 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
*resultobj
;
2220 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2222 PyObject
* obj0
= 0 ;
2223 PyObject
* obj1
= 0 ;
2225 (char *) "self",(char *) "state", NULL
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2231 arg2
= (bool const) SWIG_AsBool(obj1
);
2232 if (PyErr_Occurred()) SWIG_fail
;
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 (arg1
)->SetValue(arg2
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 Py_INCREF(Py_None
); resultobj
= Py_None
;
2247 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2249 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2251 PyObject
* obj0
= 0 ;
2253 (char *) "self", NULL
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2261 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2263 wxPyEndAllowThreads(__tstate
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2266 resultobj
= SWIG_FromInt((int)result
);
2273 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2275 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2277 PyObject
* obj0
= 0 ;
2278 PyObject
* obj1
= 0 ;
2280 (char *) "self",(char *) "state", NULL
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2286 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2295 Py_INCREF(Py_None
); resultobj
= Py_None
;
2302 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
*resultobj
;
2304 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2306 PyObject
* obj0
= 0 ;
2308 (char *) "self", NULL
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2330 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
*resultobj
;
2332 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2334 PyObject
* obj0
= 0 ;
2336 (char *) "self", NULL
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2344 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2358 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2361 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2363 return Py_BuildValue((char *)"");
2365 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2366 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2371 static PyObject
*_wrap_ChoiceNameStr_get() {
2376 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2378 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2385 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2387 wxWindow
*arg1
= (wxWindow
*) 0 ;
2389 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2390 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2391 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2392 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2393 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2394 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2395 long arg6
= (long) 0 ;
2396 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2397 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2398 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2399 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2403 bool temp5
= False
;
2404 bool temp8
= False
;
2405 PyObject
* obj0
= 0 ;
2406 PyObject
* obj1
= 0 ;
2407 PyObject
* obj2
= 0 ;
2408 PyObject
* obj3
= 0 ;
2409 PyObject
* obj4
= 0 ;
2410 PyObject
* obj5
= 0 ;
2411 PyObject
* obj6
= 0 ;
2412 PyObject
* obj7
= 0 ;
2414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2420 arg2
= (int) SWIG_AsInt(obj1
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2425 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2431 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2436 if (! PySequence_Check(obj4
)) {
2437 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2440 arg5
= new wxArrayString
;
2442 int i
, len
=PySequence_Length(obj4
);
2443 for (i
=0; i
<len
; i
++) {
2444 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2446 PyObject
* str
= PyObject_Unicode(item
);
2448 PyObject
* str
= PyObject_Str(item
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2451 arg5
->Add(Py2wxString(str
));
2458 arg6
= (long) SWIG_AsLong(obj5
);
2459 if (PyErr_Occurred()) SWIG_fail
;
2462 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2466 PyErr_SetString(PyExc_TypeError
,"null reference");
2472 arg8
= wxString_in_helper(obj7
);
2473 if (arg8
== NULL
) SWIG_fail
;
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2486 if (temp5
) delete arg5
;
2495 if (temp5
) delete arg5
;
2505 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2515 result
= (wxChoice
*)new wxChoice();
2517 wxPyEndAllowThreads(__tstate
);
2518 if (PyErr_Occurred()) SWIG_fail
;
2520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2527 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxChoice
*arg1
= (wxChoice
*) 0 ;
2530 wxWindow
*arg2
= (wxWindow
*) 0 ;
2532 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2533 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2534 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2535 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2536 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2537 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2538 long arg7
= (long) 0 ;
2539 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2540 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2541 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2542 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2546 bool temp6
= False
;
2547 bool temp9
= False
;
2548 PyObject
* obj0
= 0 ;
2549 PyObject
* obj1
= 0 ;
2550 PyObject
* obj2
= 0 ;
2551 PyObject
* obj3
= 0 ;
2552 PyObject
* obj4
= 0 ;
2553 PyObject
* obj5
= 0 ;
2554 PyObject
* obj6
= 0 ;
2555 PyObject
* obj7
= 0 ;
2556 PyObject
* obj8
= 0 ;
2558 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2566 arg3
= (int) SWIG_AsInt(obj2
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2582 if (! PySequence_Check(obj5
)) {
2583 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2586 arg6
= new wxArrayString
;
2588 int i
, len
=PySequence_Length(obj5
);
2589 for (i
=0; i
<len
; i
++) {
2590 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2592 PyObject
* str
= PyObject_Unicode(item
);
2594 PyObject
* str
= PyObject_Str(item
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2597 arg6
->Add(Py2wxString(str
));
2604 arg7
= (long) SWIG_AsLong(obj6
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2608 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2612 PyErr_SetString(PyExc_TypeError
,"null reference");
2618 arg9
= wxString_in_helper(obj8
);
2619 if (arg9
== NULL
) SWIG_fail
;
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2634 if (temp6
) delete arg6
;
2643 if (temp6
) delete arg6
;
2653 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
*resultobj
;
2655 wxChoice
*arg1
= (wxChoice
*) 0 ;
2657 PyObject
* obj0
= 0 ;
2658 PyObject
* obj1
= 0 ;
2660 (char *) "self",(char *) "n", NULL
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2666 arg2
= (int const) SWIG_AsInt(obj1
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2670 (arg1
)->SetSelection(arg2
);
2672 wxPyEndAllowThreads(__tstate
);
2673 if (PyErr_Occurred()) SWIG_fail
;
2675 Py_INCREF(Py_None
); resultobj
= Py_None
;
2682 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
*resultobj
;
2684 wxChoice
*arg1
= (wxChoice
*) 0 ;
2685 wxString
*arg2
= 0 ;
2686 bool temp2
= False
;
2687 PyObject
* obj0
= 0 ;
2688 PyObject
* obj1
= 0 ;
2690 (char *) "self",(char *) "string", NULL
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2697 arg2
= wxString_in_helper(obj1
);
2698 if (arg2
== NULL
) SWIG_fail
;
2702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2703 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2705 wxPyEndAllowThreads(__tstate
);
2706 if (PyErr_Occurred()) SWIG_fail
;
2708 Py_INCREF(Py_None
); resultobj
= Py_None
;
2723 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
*resultobj
;
2725 wxChoice
*arg1
= (wxChoice
*) 0 ;
2727 wxString
*arg3
= 0 ;
2728 bool temp3
= False
;
2729 PyObject
* obj0
= 0 ;
2730 PyObject
* obj1
= 0 ;
2731 PyObject
* obj2
= 0 ;
2733 (char *) "self",(char *) "n",(char *) "string", NULL
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2739 arg2
= (int) SWIG_AsInt(obj1
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2742 arg3
= wxString_in_helper(obj2
);
2743 if (arg3
== NULL
) SWIG_fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2753 Py_INCREF(Py_None
); resultobj
= Py_None
;
2768 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2771 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2773 return Py_BuildValue((char *)"");
2775 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2776 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2781 static PyObject
*_wrap_ComboBoxNameStr_get() {
2786 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2788 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2795 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 wxWindow
*arg1
= (wxWindow
*) 0 ;
2799 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2800 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2801 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2802 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2803 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2804 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2805 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2806 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2807 long arg7
= (long) 0 ;
2808 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2809 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2810 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2811 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2813 bool temp3
= False
;
2816 bool temp6
= False
;
2817 bool temp9
= False
;
2818 PyObject
* obj0
= 0 ;
2819 PyObject
* obj1
= 0 ;
2820 PyObject
* obj2
= 0 ;
2821 PyObject
* obj3
= 0 ;
2822 PyObject
* obj4
= 0 ;
2823 PyObject
* obj5
= 0 ;
2824 PyObject
* obj6
= 0 ;
2825 PyObject
* obj7
= 0 ;
2826 PyObject
* obj8
= 0 ;
2828 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2834 arg2
= (int) SWIG_AsInt(obj1
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2838 arg3
= wxString_in_helper(obj2
);
2839 if (arg3
== NULL
) SWIG_fail
;
2846 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2852 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2857 if (! PySequence_Check(obj5
)) {
2858 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2861 arg6
= new wxArrayString
;
2863 int i
, len
=PySequence_Length(obj5
);
2864 for (i
=0; i
<len
; i
++) {
2865 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2867 PyObject
* str
= PyObject_Unicode(item
);
2869 PyObject
* str
= PyObject_Str(item
);
2871 if (PyErr_Occurred()) SWIG_fail
;
2872 arg6
->Add(Py2wxString(str
));
2879 arg7
= (long) SWIG_AsLong(obj6
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2883 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2887 PyErr_SetString(PyExc_TypeError
,"null reference");
2893 arg9
= wxString_in_helper(obj8
);
2894 if (arg9
== NULL
) SWIG_fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 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
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2911 if (temp6
) delete arg6
;
2924 if (temp6
) delete arg6
;
2934 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2944 result
= (wxComboBox
*)new wxComboBox();
2946 wxPyEndAllowThreads(__tstate
);
2947 if (PyErr_Occurred()) SWIG_fail
;
2949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2956 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
*resultobj
;
2958 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2959 wxWindow
*arg2
= (wxWindow
*) 0 ;
2961 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2962 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2963 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2964 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2965 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2966 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2967 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2968 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2969 long arg8
= (long) 0 ;
2970 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2971 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2972 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2973 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2975 bool temp4
= False
;
2978 bool temp7
= False
;
2979 bool temp10
= False
;
2980 PyObject
* obj0
= 0 ;
2981 PyObject
* obj1
= 0 ;
2982 PyObject
* obj2
= 0 ;
2983 PyObject
* obj3
= 0 ;
2984 PyObject
* obj4
= 0 ;
2985 PyObject
* obj5
= 0 ;
2986 PyObject
* obj6
= 0 ;
2987 PyObject
* obj7
= 0 ;
2988 PyObject
* obj8
= 0 ;
2989 PyObject
* obj9
= 0 ;
2991 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2999 arg3
= (int) SWIG_AsInt(obj2
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3003 arg4
= wxString_in_helper(obj3
);
3004 if (arg4
== NULL
) SWIG_fail
;
3011 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3017 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3022 if (! PySequence_Check(obj6
)) {
3023 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3026 arg7
= new wxArrayString
;
3028 int i
, len
=PySequence_Length(obj6
);
3029 for (i
=0; i
<len
; i
++) {
3030 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3032 PyObject
* str
= PyObject_Unicode(item
);
3034 PyObject
* str
= PyObject_Str(item
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3037 arg7
->Add(Py2wxString(str
));
3044 arg8
= (long) SWIG_AsLong(obj7
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3048 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3052 PyErr_SetString(PyExc_TypeError
,"null reference");
3058 arg10
= wxString_in_helper(obj9
);
3059 if (arg10
== NULL
) SWIG_fail
;
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 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
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3078 if (temp7
) delete arg7
;
3091 if (temp7
) delete arg7
;
3101 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
*resultobj
;
3103 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3105 PyObject
* obj0
= 0 ;
3107 (char *) "self", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 result
= ((wxComboBox
const *)arg1
)->GetValue();
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3133 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
;
3135 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3136 wxString
*arg2
= 0 ;
3137 bool temp2
= False
;
3138 PyObject
* obj0
= 0 ;
3139 PyObject
* obj1
= 0 ;
3141 (char *) "self",(char *) "value", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 arg2
= wxString_in_helper(obj1
);
3149 if (arg2
== NULL
) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 (arg1
)->SetValue((wxString
const &)*arg2
);
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 Py_INCREF(Py_None
); resultobj
= Py_None
;
3174 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3177 PyObject
* obj0
= 0 ;
3179 (char *) "self", NULL
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3192 Py_INCREF(Py_None
); resultobj
= Py_None
;
3199 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3202 PyObject
* obj0
= 0 ;
3204 (char *) "self", NULL
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3217 Py_INCREF(Py_None
); resultobj
= Py_None
;
3224 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3226 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3227 PyObject
* obj0
= 0 ;
3229 (char *) "self", NULL
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) SWIG_fail
;
3242 Py_INCREF(Py_None
); resultobj
= Py_None
;
3249 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
*resultobj
;
3251 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3253 PyObject
* obj0
= 0 ;
3254 PyObject
* obj1
= 0 ;
3256 (char *) "self",(char *) "pos", NULL
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3262 arg2
= (long) SWIG_AsLong(obj1
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 (arg1
)->SetInsertionPoint(arg2
);
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) SWIG_fail
;
3271 Py_INCREF(Py_None
); resultobj
= Py_None
;
3278 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3280 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3282 PyObject
* obj0
= 0 ;
3284 (char *) "self", NULL
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3292 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3297 resultobj
= SWIG_FromLong((long)result
);
3304 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
*resultobj
;
3306 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3308 PyObject
* obj0
= 0 ;
3310 (char *) "self", NULL
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= SWIG_FromLong((long)result
);
3330 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3332 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3335 wxString
*arg4
= 0 ;
3336 bool temp4
= False
;
3337 PyObject
* obj0
= 0 ;
3338 PyObject
* obj1
= 0 ;
3339 PyObject
* obj2
= 0 ;
3340 PyObject
* obj3
= 0 ;
3342 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3348 arg2
= (long) SWIG_AsLong(obj1
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3350 arg3
= (long) SWIG_AsLong(obj2
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3353 arg4
= wxString_in_helper(obj3
);
3354 if (arg4
== NULL
) SWIG_fail
;
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3364 Py_INCREF(Py_None
); resultobj
= Py_None
;
3379 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
;
3381 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3383 PyObject
* obj0
= 0 ;
3384 PyObject
* obj1
= 0 ;
3386 (char *) "self",(char *) "n", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3392 arg2
= (int) SWIG_AsInt(obj1
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 (arg1
)->SetSelection(arg2
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 Py_INCREF(Py_None
); resultobj
= Py_None
;
3408 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
;
3410 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3413 PyObject
* obj0
= 0 ;
3414 PyObject
* obj1
= 0 ;
3415 PyObject
* obj2
= 0 ;
3417 (char *) "self",(char *) "from",(char *) "to", NULL
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3423 arg2
= (long) SWIG_AsLong(obj1
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3425 arg3
= (long) SWIG_AsLong(obj2
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 (arg1
)->SetSelection(arg2
,arg3
);
3431 wxPyEndAllowThreads(__tstate
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3434 Py_INCREF(Py_None
); resultobj
= Py_None
;
3441 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
*resultobj
;
3443 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3445 PyObject
* obj0
= 0 ;
3446 PyObject
* obj1
= 0 ;
3448 (char *) "self",(char *) "editable", NULL
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3454 arg2
= (bool) SWIG_AsBool(obj1
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 (arg1
)->SetEditable(arg2
);
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3463 Py_INCREF(Py_None
); resultobj
= Py_None
;
3470 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
*resultobj
;
3472 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3473 PyObject
* obj0
= 0 ;
3475 (char *) "self", NULL
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 (arg1
)->SetInsertionPointEnd();
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 Py_INCREF(Py_None
); resultobj
= Py_None
;
3495 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
*resultobj
;
3497 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3500 PyObject
* obj0
= 0 ;
3501 PyObject
* obj1
= 0 ;
3502 PyObject
* obj2
= 0 ;
3504 (char *) "self",(char *) "from",(char *) "to", NULL
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3510 arg2
= (long) SWIG_AsLong(obj1
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3512 arg3
= (long) SWIG_AsLong(obj2
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 (arg1
)->Remove(arg2
,arg3
);
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3521 Py_INCREF(Py_None
); resultobj
= Py_None
;
3528 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3531 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3533 return Py_BuildValue((char *)"");
3535 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3536 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3541 static PyObject
*_wrap_GaugeNameStr_get() {
3546 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3548 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3555 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3557 wxWindow
*arg1
= (wxWindow
*) 0 ;
3560 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3561 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3562 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3563 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3564 long arg6
= (long) wxGA_HORIZONTAL
;
3565 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3566 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3567 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3572 bool temp8
= False
;
3573 PyObject
* obj0
= 0 ;
3574 PyObject
* obj1
= 0 ;
3575 PyObject
* obj2
= 0 ;
3576 PyObject
* obj3
= 0 ;
3577 PyObject
* obj4
= 0 ;
3578 PyObject
* obj5
= 0 ;
3579 PyObject
* obj6
= 0 ;
3580 PyObject
* obj7
= 0 ;
3582 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3588 arg2
= (int) SWIG_AsInt(obj1
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3590 arg3
= (int) SWIG_AsInt(obj2
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3605 arg6
= (long) SWIG_AsLong(obj5
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3613 PyErr_SetString(PyExc_TypeError
,"null reference");
3619 arg8
= wxString_in_helper(obj7
);
3620 if (arg8
== NULL
) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3646 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 result
= (wxGauge
*)new wxGauge();
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3668 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
*resultobj
;
3670 wxGauge
*arg1
= (wxGauge
*) 0 ;
3671 wxWindow
*arg2
= (wxWindow
*) 0 ;
3674 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3675 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3676 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3677 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3678 long arg7
= (long) wxGA_HORIZONTAL
;
3679 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3680 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3681 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3682 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3686 bool temp9
= False
;
3687 PyObject
* obj0
= 0 ;
3688 PyObject
* obj1
= 0 ;
3689 PyObject
* obj2
= 0 ;
3690 PyObject
* obj3
= 0 ;
3691 PyObject
* obj4
= 0 ;
3692 PyObject
* obj5
= 0 ;
3693 PyObject
* obj6
= 0 ;
3694 PyObject
* obj7
= 0 ;
3695 PyObject
* obj8
= 0 ;
3697 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3705 arg3
= (int) SWIG_AsInt(obj2
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3707 arg4
= (int) SWIG_AsInt(obj3
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3712 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3718 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3722 arg7
= (long) SWIG_AsLong(obj6
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3726 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3730 PyErr_SetString(PyExc_TypeError
,"null reference");
3736 arg9
= wxString_in_helper(obj8
);
3737 if (arg9
== NULL
) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3765 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxGauge
*arg1
= (wxGauge
*) 0 ;
3769 PyObject
* obj0
= 0 ;
3770 PyObject
* obj1
= 0 ;
3772 (char *) "self",(char *) "range", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3778 arg2
= (int) SWIG_AsInt(obj1
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 (arg1
)->SetRange(arg2
);
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 Py_INCREF(Py_None
); resultobj
= Py_None
;
3794 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
*resultobj
;
3796 wxGauge
*arg1
= (wxGauge
*) 0 ;
3798 PyObject
* obj0
= 0 ;
3800 (char *) "self", NULL
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3813 resultobj
= SWIG_FromInt((int)result
);
3820 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxGauge
*arg1
= (wxGauge
*) 0 ;
3824 PyObject
* obj0
= 0 ;
3825 PyObject
* obj1
= 0 ;
3827 (char *) "self",(char *) "pos", NULL
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3833 arg2
= (int) SWIG_AsInt(obj1
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 (arg1
)->SetValue(arg2
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 Py_INCREF(Py_None
); resultobj
= Py_None
;
3849 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
;
3851 wxGauge
*arg1
= (wxGauge
*) 0 ;
3853 PyObject
* obj0
= 0 ;
3855 (char *) "self", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 resultobj
= SWIG_FromInt((int)result
);
3875 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
*resultobj
;
3877 wxGauge
*arg1
= (wxGauge
*) 0 ;
3879 PyObject
* obj0
= 0 ;
3881 (char *) "self", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3903 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxGauge
*arg1
= (wxGauge
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3908 PyObject
* obj1
= 0 ;
3910 (char *) "self",(char *) "w", NULL
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3916 arg2
= (int) SWIG_AsInt(obj1
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 (arg1
)->SetShadowWidth(arg2
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3925 Py_INCREF(Py_None
); resultobj
= Py_None
;
3932 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
;
3934 wxGauge
*arg1
= (wxGauge
*) 0 ;
3936 PyObject
* obj0
= 0 ;
3938 (char *) "self", NULL
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 resultobj
= SWIG_FromInt((int)result
);
3958 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxGauge
*arg1
= (wxGauge
*) 0 ;
3962 PyObject
* obj0
= 0 ;
3963 PyObject
* obj1
= 0 ;
3965 (char *) "self",(char *) "w", NULL
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3971 arg2
= (int) SWIG_AsInt(obj1
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 (arg1
)->SetBezelFace(arg2
);
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 Py_INCREF(Py_None
); resultobj
= Py_None
;
3987 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3989 wxGauge
*arg1
= (wxGauge
*) 0 ;
3991 PyObject
* obj0
= 0 ;
3993 (char *) "self", NULL
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 resultobj
= SWIG_FromInt((int)result
);
4013 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4016 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4018 return Py_BuildValue((char *)"");
4020 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4021 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4026 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4031 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4033 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4040 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4041 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4046 static PyObject
*_wrap_StaticBoxNameStr_get() {
4051 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4053 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4060 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4061 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4066 static PyObject
*_wrap_StaticTextNameStr_get() {
4071 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4073 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4080 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxWindow
*arg1
= (wxWindow
*) 0 ;
4084 wxString
*arg3
= 0 ;
4085 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4086 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4087 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4088 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4089 long arg6
= (long) 0 ;
4090 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4091 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4092 wxStaticBox
*result
;
4093 bool temp3
= False
;
4096 bool temp7
= False
;
4097 PyObject
* obj0
= 0 ;
4098 PyObject
* obj1
= 0 ;
4099 PyObject
* obj2
= 0 ;
4100 PyObject
* obj3
= 0 ;
4101 PyObject
* obj4
= 0 ;
4102 PyObject
* obj5
= 0 ;
4103 PyObject
* obj6
= 0 ;
4105 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4111 arg2
= (int) SWIG_AsInt(obj1
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 arg3
= wxString_in_helper(obj2
);
4115 if (arg3
== NULL
) SWIG_fail
;
4121 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4127 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4131 arg6
= (long) SWIG_AsLong(obj5
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4136 arg7
= wxString_in_helper(obj6
);
4137 if (arg7
== NULL
) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= wxPyMake_wxObject(result
);
4173 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4175 wxStaticBox
*result
;
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 result
= (wxStaticBox
*)new wxStaticBox();
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= wxPyMake_wxObject(result
);
4197 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4199 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4200 wxWindow
*arg2
= (wxWindow
*) 0 ;
4202 wxString
*arg4
= 0 ;
4203 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4204 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4205 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4206 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4207 long arg7
= (long) 0 ;
4208 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4209 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4211 bool temp4
= False
;
4214 bool temp8
= False
;
4215 PyObject
* obj0
= 0 ;
4216 PyObject
* obj1
= 0 ;
4217 PyObject
* obj2
= 0 ;
4218 PyObject
* obj3
= 0 ;
4219 PyObject
* obj4
= 0 ;
4220 PyObject
* obj5
= 0 ;
4221 PyObject
* obj6
= 0 ;
4222 PyObject
* obj7
= 0 ;
4224 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4232 arg3
= (int) SWIG_AsInt(obj2
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 arg4
= wxString_in_helper(obj3
);
4236 if (arg4
== NULL
) SWIG_fail
;
4242 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4248 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4252 arg7
= (long) SWIG_AsLong(obj6
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4257 arg8
= wxString_in_helper(obj7
);
4258 if (arg8
== NULL
) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4294 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4297 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4299 return Py_BuildValue((char *)"");
4301 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxWindow
*arg1
= (wxWindow
*) 0 ;
4305 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4306 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4307 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4308 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4309 long arg5
= (long) wxLI_HORIZONTAL
;
4310 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4311 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4312 wxStaticLine
*result
;
4315 bool temp6
= False
;
4316 PyObject
* obj0
= 0 ;
4317 PyObject
* obj1
= 0 ;
4318 PyObject
* obj2
= 0 ;
4319 PyObject
* obj3
= 0 ;
4320 PyObject
* obj4
= 0 ;
4321 PyObject
* obj5
= 0 ;
4323 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4329 arg2
= (int) SWIG_AsInt(obj1
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4334 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4340 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4344 arg5
= (long) SWIG_AsLong(obj4
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4349 arg6
= wxString_in_helper(obj5
);
4350 if (arg6
== NULL
) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4376 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxStaticLine
*result
;
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 result
= (wxStaticLine
*)new wxStaticLine();
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4398 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
;
4400 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4401 wxWindow
*arg2
= (wxWindow
*) 0 ;
4403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4407 long arg6
= (long) wxLI_HORIZONTAL
;
4408 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4409 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4413 bool temp7
= False
;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4416 PyObject
* obj2
= 0 ;
4417 PyObject
* obj3
= 0 ;
4418 PyObject
* obj4
= 0 ;
4419 PyObject
* obj5
= 0 ;
4420 PyObject
* obj6
= 0 ;
4422 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4430 arg3
= (int) SWIG_AsInt(obj2
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4435 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4441 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4445 arg6
= (long) SWIG_AsLong(obj5
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4450 arg7
= wxString_in_helper(obj6
);
4451 if (arg7
== NULL
) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4479 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4485 (char *) "self", NULL
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4507 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 result
= (int)wxStaticLine::GetDefaultSize();
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 resultobj
= SWIG_FromInt((int)result
);
4529 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4532 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4534 return Py_BuildValue((char *)"");
4536 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
;
4538 wxWindow
*arg1
= (wxWindow
*) 0 ;
4540 wxString
*arg3
= 0 ;
4541 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4542 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4543 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4544 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4545 long arg6
= (long) 0 ;
4546 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4547 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4548 wxStaticText
*result
;
4549 bool temp3
= False
;
4552 bool temp7
= False
;
4553 PyObject
* obj0
= 0 ;
4554 PyObject
* obj1
= 0 ;
4555 PyObject
* obj2
= 0 ;
4556 PyObject
* obj3
= 0 ;
4557 PyObject
* obj4
= 0 ;
4558 PyObject
* obj5
= 0 ;
4559 PyObject
* obj6
= 0 ;
4561 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4567 arg2
= (int) SWIG_AsInt(obj1
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 arg3
= wxString_in_helper(obj2
);
4571 if (arg3
== NULL
) SWIG_fail
;
4577 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4583 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4587 arg6
= (long) SWIG_AsLong(obj5
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4592 arg7
= wxString_in_helper(obj6
);
4593 if (arg7
== NULL
) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4627 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4629 wxStaticText
*result
;
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= (wxStaticText
*)new wxStaticText();
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4649 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4652 wxWindow
*arg2
= (wxWindow
*) 0 ;
4654 wxString
*arg4
= 0 ;
4655 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4656 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4657 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4658 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4659 long arg7
= (long) 0 ;
4660 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4661 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4663 bool temp4
= False
;
4666 bool temp8
= False
;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 PyObject
* obj2
= 0 ;
4670 PyObject
* obj3
= 0 ;
4671 PyObject
* obj4
= 0 ;
4672 PyObject
* obj5
= 0 ;
4673 PyObject
* obj6
= 0 ;
4674 PyObject
* obj7
= 0 ;
4676 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4684 arg3
= (int) SWIG_AsInt(obj2
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4687 arg4
= wxString_in_helper(obj3
);
4688 if (arg4
== NULL
) SWIG_fail
;
4694 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4700 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4704 arg7
= (long) SWIG_AsLong(obj6
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4709 arg8
= wxString_in_helper(obj7
);
4710 if (arg8
== NULL
) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4746 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4749 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4751 return Py_BuildValue((char *)"");
4753 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxWindow
*arg1
= (wxWindow
*) 0 ;
4757 wxBitmap
*arg3
= 0 ;
4758 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4759 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4760 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4761 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4762 long arg6
= (long) 0 ;
4763 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4764 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4765 wxStaticBitmap
*result
;
4768 bool temp7
= False
;
4769 PyObject
* obj0
= 0 ;
4770 PyObject
* obj1
= 0 ;
4771 PyObject
* obj2
= 0 ;
4772 PyObject
* obj3
= 0 ;
4773 PyObject
* obj4
= 0 ;
4774 PyObject
* obj5
= 0 ;
4775 PyObject
* obj6
= 0 ;
4777 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4783 arg2
= (int) SWIG_AsInt(obj1
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4785 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4789 PyErr_SetString(PyExc_TypeError
,"null reference");
4795 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4801 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4805 arg6
= (long) SWIG_AsLong(obj5
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4810 arg7
= wxString_in_helper(obj6
);
4811 if (arg7
== NULL
) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4837 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
;
4839 wxStaticBitmap
*result
;
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4859 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
;
4861 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4862 wxWindow
*arg2
= (wxWindow
*) 0 ;
4864 wxBitmap
*arg4
= 0 ;
4865 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4866 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4867 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4868 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4869 long arg7
= (long) 0 ;
4870 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4871 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4875 bool temp8
= False
;
4876 PyObject
* obj0
= 0 ;
4877 PyObject
* obj1
= 0 ;
4878 PyObject
* obj2
= 0 ;
4879 PyObject
* obj3
= 0 ;
4880 PyObject
* obj4
= 0 ;
4881 PyObject
* obj5
= 0 ;
4882 PyObject
* obj6
= 0 ;
4883 PyObject
* obj7
= 0 ;
4885 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4893 arg3
= (int) SWIG_AsInt(obj2
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4895 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4899 PyErr_SetString(PyExc_TypeError
,"null reference");
4905 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4911 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4915 arg7
= (long) SWIG_AsLong(obj6
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4920 arg8
= wxString_in_helper(obj7
);
4921 if (arg8
== NULL
) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4949 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4953 PyObject
* obj0
= 0 ;
4955 (char *) "self", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 result
= (arg1
)->GetBitmap();
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4969 wxBitmap
* resultptr
;
4970 resultptr
= new wxBitmap((wxBitmap
&) result
);
4971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4979 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
;
4981 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4982 wxBitmap
*arg2
= 0 ;
4983 PyObject
* obj0
= 0 ;
4984 PyObject
* obj1
= 0 ;
4986 (char *) "self",(char *) "bitmap", NULL
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4996 PyErr_SetString(PyExc_TypeError
,"null reference");
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 Py_INCREF(Py_None
); resultobj
= Py_None
;
5013 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
;
5015 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5017 PyObject
* obj0
= 0 ;
5018 PyObject
* obj1
= 0 ;
5020 (char *) "self",(char *) "icon", NULL
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5030 PyErr_SetString(PyExc_TypeError
,"null reference");
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 Py_INCREF(Py_None
); resultobj
= Py_None
;
5047 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5050 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5052 return Py_BuildValue((char *)"");
5054 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5055 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5060 static PyObject
*_wrap_ListBoxNameStr_get() {
5065 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5067 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5074 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxWindow
*arg1
= (wxWindow
*) 0 ;
5078 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5079 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5080 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5081 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5082 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5083 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5084 long arg6
= (long) 0 ;
5085 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5086 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5087 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5088 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5092 bool temp5
= False
;
5093 bool temp8
= False
;
5094 PyObject
* obj0
= 0 ;
5095 PyObject
* obj1
= 0 ;
5096 PyObject
* obj2
= 0 ;
5097 PyObject
* obj3
= 0 ;
5098 PyObject
* obj4
= 0 ;
5099 PyObject
* obj5
= 0 ;
5100 PyObject
* obj6
= 0 ;
5101 PyObject
* obj7
= 0 ;
5103 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5109 arg2
= (int) SWIG_AsInt(obj1
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5114 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5120 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5125 if (! PySequence_Check(obj4
)) {
5126 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5129 arg5
= new wxArrayString
;
5131 int i
, len
=PySequence_Length(obj4
);
5132 for (i
=0; i
<len
; i
++) {
5133 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5135 PyObject
* str
= PyObject_Unicode(item
);
5137 PyObject
* str
= PyObject_Str(item
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5140 arg5
->Add(Py2wxString(str
));
5147 arg6
= (long) SWIG_AsLong(obj5
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5151 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5155 PyErr_SetString(PyExc_TypeError
,"null reference");
5161 arg8
= wxString_in_helper(obj7
);
5162 if (arg8
== NULL
) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5175 if (temp5
) delete arg5
;
5184 if (temp5
) delete arg5
;
5194 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (wxListBox
*)new wxListBox();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5216 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxListBox
*arg1
= (wxListBox
*) 0 ;
5219 wxWindow
*arg2
= (wxWindow
*) 0 ;
5221 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5222 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5223 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5224 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5225 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5226 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5227 long arg7
= (long) 0 ;
5228 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5229 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5230 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5231 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5235 bool temp6
= False
;
5236 bool temp9
= False
;
5237 PyObject
* obj0
= 0 ;
5238 PyObject
* obj1
= 0 ;
5239 PyObject
* obj2
= 0 ;
5240 PyObject
* obj3
= 0 ;
5241 PyObject
* obj4
= 0 ;
5242 PyObject
* obj5
= 0 ;
5243 PyObject
* obj6
= 0 ;
5244 PyObject
* obj7
= 0 ;
5245 PyObject
* obj8
= 0 ;
5247 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5255 arg3
= (int) SWIG_AsInt(obj2
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5260 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5266 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5271 if (! PySequence_Check(obj5
)) {
5272 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5275 arg6
= new wxArrayString
;
5277 int i
, len
=PySequence_Length(obj5
);
5278 for (i
=0; i
<len
; i
++) {
5279 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5281 PyObject
* str
= PyObject_Unicode(item
);
5283 PyObject
* str
= PyObject_Str(item
);
5285 if (PyErr_Occurred()) SWIG_fail
;
5286 arg6
->Add(Py2wxString(str
));
5293 arg7
= (long) SWIG_AsLong(obj6
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5297 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5301 PyErr_SetString(PyExc_TypeError
,"null reference");
5307 arg9
= wxString_in_helper(obj8
);
5308 if (arg9
== NULL
) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5323 if (temp6
) delete arg6
;
5332 if (temp6
) delete arg6
;
5342 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxListBox
*arg1
= (wxListBox
*) 0 ;
5345 wxString
*arg2
= 0 ;
5347 PyObject
*arg4
= (PyObject
*) NULL
;
5348 bool temp2
= False
;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5351 PyObject
* obj2
= 0 ;
5352 PyObject
* obj3
= 0 ;
5354 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5361 arg2
= wxString_in_helper(obj1
);
5362 if (arg2
== NULL
) SWIG_fail
;
5365 arg3
= (int) SWIG_AsInt(obj2
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 Py_INCREF(Py_None
); resultobj
= Py_None
;
5392 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
;
5394 wxListBox
*arg1
= (wxListBox
*) 0 ;
5395 wxArrayString
*arg2
= 0 ;
5397 bool temp2
= False
;
5398 PyObject
* obj0
= 0 ;
5399 PyObject
* obj1
= 0 ;
5400 PyObject
* obj2
= 0 ;
5402 (char *) "self",(char *) "items",(char *) "pos", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5409 if (! PySequence_Check(obj1
)) {
5410 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5413 arg2
= new wxArrayString
;
5415 int i
, len
=PySequence_Length(obj1
);
5416 for (i
=0; i
<len
; i
++) {
5417 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5419 PyObject
* str
= PyObject_Unicode(item
);
5421 PyObject
* str
= PyObject_Str(item
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5424 arg2
->Add(Py2wxString(str
));
5429 arg3
= (int) SWIG_AsInt(obj2
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 Py_INCREF(Py_None
); resultobj
= Py_None
;
5440 if (temp2
) delete arg2
;
5445 if (temp2
) delete arg2
;
5451 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxListBox
*arg1
= (wxListBox
*) 0 ;
5454 wxArrayString
*arg2
= 0 ;
5455 bool temp2
= False
;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5459 (char *) "self",(char *) "items", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 if (! PySequence_Check(obj1
)) {
5467 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5470 arg2
= new wxArrayString
;
5472 int i
, len
=PySequence_Length(obj1
);
5473 for (i
=0; i
<len
; i
++) {
5474 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5476 PyObject
* str
= PyObject_Unicode(item
);
5478 PyObject
* str
= PyObject_Str(item
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5481 arg2
->Add(Py2wxString(str
));
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 (arg1
)->Set((wxArrayString
const &)*arg2
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 Py_INCREF(Py_None
); resultobj
= Py_None
;
5495 if (temp2
) delete arg2
;
5500 if (temp2
) delete arg2
;
5506 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxListBox
*arg1
= (wxListBox
*) 0 ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5514 (char *) "self",(char *) "n", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5520 arg2
= (int) SWIG_AsInt(obj1
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5538 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxListBox
*arg1
= (wxListBox
*) 0 ;
5542 bool arg3
= (bool) True
;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5545 PyObject
* obj2
= 0 ;
5547 (char *) "self",(char *) "n",(char *) "select", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5553 arg2
= (int) SWIG_AsInt(obj1
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 arg3
= (bool) SWIG_AsBool(obj2
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 (arg1
)->SetSelection(arg2
,arg3
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 Py_INCREF(Py_None
); resultobj
= Py_None
;
5573 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxListBox
*arg1
= (wxListBox
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5580 (char *) "self",(char *) "n", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5586 arg2
= (int) SWIG_AsInt(obj1
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 (arg1
)->Select(arg2
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 Py_INCREF(Py_None
); resultobj
= Py_None
;
5602 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxListBox
*arg1
= (wxListBox
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5609 (char *) "self",(char *) "n", NULL
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5615 arg2
= (int) SWIG_AsInt(obj1
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 (arg1
)->Deselect(arg2
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5624 Py_INCREF(Py_None
); resultobj
= Py_None
;
5631 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxListBox
*arg1
= (wxListBox
*) 0 ;
5634 int arg2
= (int) -1 ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5638 (char *) "self",(char *) "itemToLeaveSelected", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5645 arg2
= (int) SWIG_AsInt(obj1
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 (arg1
)->DeselectAll(arg2
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 Py_INCREF(Py_None
); resultobj
= Py_None
;
5662 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxListBox
*arg1
= (wxListBox
*) 0 ;
5665 wxString
*arg2
= 0 ;
5666 bool arg3
= (bool) True
;
5668 bool temp2
= False
;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5671 PyObject
* obj2
= 0 ;
5673 (char *) "self",(char *) "s",(char *) "select", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5680 arg2
= wxString_in_helper(obj1
);
5681 if (arg2
== NULL
) SWIG_fail
;
5685 arg3
= (bool) SWIG_AsBool(obj2
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5712 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxListBox
*arg1
= (wxListBox
*) 0 ;
5716 PyObject
* obj0
= 0 ;
5718 (char *) "self", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5738 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
;
5740 wxListBox
*arg1
= (wxListBox
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5745 (char *) "self",(char *) "n", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5751 arg2
= (int) SWIG_AsInt(obj1
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 (arg1
)->SetFirstItem(arg2
);
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5760 Py_INCREF(Py_None
); resultobj
= Py_None
;
5767 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
*resultobj
;
5769 wxListBox
*arg1
= (wxListBox
*) 0 ;
5770 wxString
*arg2
= 0 ;
5771 bool temp2
= False
;
5772 PyObject
* obj0
= 0 ;
5773 PyObject
* obj1
= 0 ;
5775 (char *) "self",(char *) "s", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5782 arg2
= wxString_in_helper(obj1
);
5783 if (arg2
== NULL
) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 Py_INCREF(Py_None
); resultobj
= Py_None
;
5808 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxListBox
*arg1
= (wxListBox
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5815 (char *) "self",(char *) "n", NULL
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5821 arg2
= (int) SWIG_AsInt(obj1
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 (arg1
)->EnsureVisible(arg2
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 Py_INCREF(Py_None
); resultobj
= Py_None
;
5837 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxListBox
*arg1
= (wxListBox
*) 0 ;
5840 wxString
*arg2
= 0 ;
5841 bool temp2
= False
;
5842 PyObject
* obj0
= 0 ;
5843 PyObject
* obj1
= 0 ;
5845 (char *) "self",(char *) "s", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5852 arg2
= wxString_in_helper(obj1
);
5853 if (arg2
== NULL
) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 Py_INCREF(Py_None
); resultobj
= Py_None
;
5878 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxListBox
*arg1
= (wxListBox
*) 0 ;
5882 PyObject
* obj0
= 0 ;
5884 (char *) "self", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5906 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 wxListBox
*arg1
= (wxListBox
*) 0 ;
5910 wxColour
*arg3
= 0 ;
5912 PyObject
* obj0
= 0 ;
5913 PyObject
* obj1
= 0 ;
5914 PyObject
* obj2
= 0 ;
5916 (char *) "self",(char *) "item",(char *) "c", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5922 arg2
= (int) SWIG_AsInt(obj1
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5926 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 Py_INCREF(Py_None
); resultobj
= Py_None
;
5942 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
;
5944 wxListBox
*arg1
= (wxListBox
*) 0 ;
5946 wxColour
*arg3
= 0 ;
5948 PyObject
* obj0
= 0 ;
5949 PyObject
* obj1
= 0 ;
5950 PyObject
* obj2
= 0 ;
5952 (char *) "self",(char *) "item",(char *) "c", NULL
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5958 arg2
= (int) SWIG_AsInt(obj1
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5962 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5971 Py_INCREF(Py_None
); resultobj
= Py_None
;
5978 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxListBox
*arg1
= (wxListBox
*) 0 ;
5983 PyObject
* obj0
= 0 ;
5984 PyObject
* obj1
= 0 ;
5985 PyObject
* obj2
= 0 ;
5987 (char *) "self",(char *) "item",(char *) "f", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 arg2
= (int) SWIG_AsInt(obj1
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5995 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5999 PyErr_SetString(PyExc_TypeError
,"null reference");
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 Py_INCREF(Py_None
); resultobj
= Py_None
;
6016 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6019 wxVisualAttributes result
;
6020 PyObject
* obj0
= 0 ;
6022 (char *) "variant", NULL
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6027 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6038 wxVisualAttributes
* resultptr
;
6039 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6048 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6051 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6053 return Py_BuildValue((char *)"");
6055 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
;
6057 wxWindow
*arg1
= (wxWindow
*) 0 ;
6059 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6060 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6061 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6062 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6063 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6064 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6065 long arg6
= (long) 0 ;
6066 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6067 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6068 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6069 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6070 wxCheckListBox
*result
;
6073 bool temp5
= False
;
6074 bool temp8
= False
;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6077 PyObject
* obj2
= 0 ;
6078 PyObject
* obj3
= 0 ;
6079 PyObject
* obj4
= 0 ;
6080 PyObject
* obj5
= 0 ;
6081 PyObject
* obj6
= 0 ;
6082 PyObject
* obj7
= 0 ;
6084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6090 arg2
= (int) SWIG_AsInt(obj1
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6095 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6101 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6106 if (! PySequence_Check(obj4
)) {
6107 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6110 arg5
= new wxArrayString
;
6112 int i
, len
=PySequence_Length(obj4
);
6113 for (i
=0; i
<len
; i
++) {
6114 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6116 PyObject
* str
= PyObject_Unicode(item
);
6118 PyObject
* str
= PyObject_Str(item
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6121 arg5
->Add(Py2wxString(str
));
6128 arg6
= (long) SWIG_AsLong(obj5
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6132 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6136 PyErr_SetString(PyExc_TypeError
,"null reference");
6142 arg8
= wxString_in_helper(obj7
);
6143 if (arg8
== NULL
) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6156 if (temp5
) delete arg5
;
6165 if (temp5
) delete arg5
;
6175 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
*resultobj
;
6177 wxCheckListBox
*result
;
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 result
= (wxCheckListBox
*)new wxCheckListBox();
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6197 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6200 wxWindow
*arg2
= (wxWindow
*) 0 ;
6202 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6203 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6204 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6205 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6206 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6207 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6208 long arg7
= (long) 0 ;
6209 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6210 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6211 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6212 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6216 bool temp6
= False
;
6217 bool temp9
= False
;
6218 PyObject
* obj0
= 0 ;
6219 PyObject
* obj1
= 0 ;
6220 PyObject
* obj2
= 0 ;
6221 PyObject
* obj3
= 0 ;
6222 PyObject
* obj4
= 0 ;
6223 PyObject
* obj5
= 0 ;
6224 PyObject
* obj6
= 0 ;
6225 PyObject
* obj7
= 0 ;
6226 PyObject
* obj8
= 0 ;
6228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 arg3
= (int) SWIG_AsInt(obj2
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6252 if (! PySequence_Check(obj5
)) {
6253 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6256 arg6
= new wxArrayString
;
6258 int i
, len
=PySequence_Length(obj5
);
6259 for (i
=0; i
<len
; i
++) {
6260 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6262 PyObject
* str
= PyObject_Unicode(item
);
6264 PyObject
* str
= PyObject_Str(item
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6267 arg6
->Add(Py2wxString(str
));
6274 arg7
= (long) SWIG_AsLong(obj6
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6278 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6282 PyErr_SetString(PyExc_TypeError
,"null reference");
6288 arg9
= wxString_in_helper(obj8
);
6289 if (arg9
== NULL
) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6304 if (temp6
) delete arg6
;
6313 if (temp6
) delete arg6
;
6323 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6325 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6328 PyObject
* obj0
= 0 ;
6329 PyObject
* obj1
= 0 ;
6331 (char *) "self",(char *) "index", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6337 arg2
= (int) SWIG_AsInt(obj1
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= (bool)(arg1
)->IsChecked(arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6355 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
;
6357 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6359 int arg3
= (int) True
;
6360 PyObject
* obj0
= 0 ;
6361 PyObject
* obj1
= 0 ;
6362 PyObject
* obj2
= 0 ;
6364 (char *) "self",(char *) "index",(char *) "check", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6370 arg2
= (int) SWIG_AsInt(obj1
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 arg3
= (int) SWIG_AsInt(obj2
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 (arg1
)->Check(arg2
,arg3
);
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 Py_INCREF(Py_None
); resultobj
= Py_None
;
6390 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6396 (char *) "self", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 result
= (int)(arg1
)->GetItemHeight();
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= SWIG_FromInt((int)result
);
6416 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
;
6418 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6422 PyObject
* obj0
= 0 ;
6423 PyObject
* obj1
= 0 ;
6425 (char *) "self",(char *) "pt", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 resultobj
= SWIG_FromInt((int)result
);
6449 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6451 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6457 PyObject
* obj2
= 0 ;
6459 (char *) "self",(char *) "x",(char *) "y", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6465 arg2
= (int) SWIG_AsInt(obj1
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6467 arg3
= (int) SWIG_AsInt(obj2
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= SWIG_FromInt((int)result
);
6483 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6486 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6488 return Py_BuildValue((char *)"");
6490 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6491 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6496 static PyObject
*_wrap_TextCtrlNameStr_get() {
6501 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6503 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6510 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6511 PyObject
*resultobj
;
6514 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 result
= (wxTextAttr
*)new wxTextAttr();
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6529 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6530 PyObject
*resultobj
;
6531 wxColour
*arg1
= 0 ;
6532 wxColour
const &arg2_defvalue
= wxNullColour
;
6533 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6534 wxFont
const &arg3_defvalue
= wxNullFont
;
6535 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6536 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6540 PyObject
* obj0
= 0 ;
6541 PyObject
* obj1
= 0 ;
6542 PyObject
* obj2
= 0 ;
6543 PyObject
* obj3
= 0 ;
6545 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6548 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6557 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6561 PyErr_SetString(PyExc_TypeError
,"null reference");
6566 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6583 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6588 argc
= PyObject_Length(args
);
6589 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6590 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6593 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6595 if ((argc
>= 1) && (argc
<= 4)) {
6598 _v
= wxColour_typecheck(argv
[0]);
6602 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6605 _v
= wxColour_typecheck(argv
[1]);
6609 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6613 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6622 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6624 _v
= SWIG_CheckInt(argv
[3]);
6626 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6633 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6638 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6641 PyObject
* obj0
= 0 ;
6643 (char *) "self", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 Py_INCREF(Py_None
); resultobj
= Py_None
;
6663 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6668 (char *) "self", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6681 Py_INCREF(Py_None
); resultobj
= Py_None
;
6688 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6691 wxColour
*arg2
= 0 ;
6693 PyObject
* obj0
= 0 ;
6694 PyObject
* obj1
= 0 ;
6696 (char *) "self",(char *) "colText", NULL
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6704 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 Py_INCREF(Py_None
); resultobj
= Py_None
;
6720 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
;
6722 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6723 wxColour
*arg2
= 0 ;
6725 PyObject
* obj0
= 0 ;
6726 PyObject
* obj1
= 0 ;
6728 (char *) "self",(char *) "colBack", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6736 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 Py_INCREF(Py_None
); resultobj
= Py_None
;
6752 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6756 long arg3
= (long) wxTEXT_ATTR_FONT
;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj1
= 0 ;
6759 PyObject
* obj2
= 0 ;
6761 (char *) "self",(char *) "font",(char *) "flags", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6771 PyErr_SetString(PyExc_TypeError
,"null reference");
6775 arg3
= (long) SWIG_AsLong(obj2
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 Py_INCREF(Py_None
); resultobj
= Py_None
;
6792 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "self",(char *) "alignment", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6805 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 Py_INCREF(Py_None
); resultobj
= Py_None
;
6821 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6824 wxArrayInt
*arg2
= 0 ;
6825 bool temp2
= False
;
6826 PyObject
* obj0
= 0 ;
6827 PyObject
* obj1
= 0 ;
6829 (char *) "self",(char *) "tabs", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6836 if (! PySequence_Check(obj1
)) {
6837 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6840 arg2
= new wxArrayInt
;
6842 int i
, len
=PySequence_Length(obj1
);
6843 for (i
=0; i
<len
; i
++) {
6844 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6845 PyObject
* number
= PyNumber_Int(item
);
6846 arg2
->Add(PyInt_AS_LONG(number
));
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 Py_INCREF(Py_None
); resultobj
= Py_None
;
6860 if (temp2
) delete arg2
;
6865 if (temp2
) delete arg2
;
6871 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
*resultobj
;
6873 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6878 (char *) "self",(char *) "indent", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6884 arg2
= (int) SWIG_AsInt(obj1
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 (arg1
)->SetLeftIndent(arg2
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 Py_INCREF(Py_None
); resultobj
= Py_None
;
6900 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6907 (char *) "self",(char *) "indent", NULL
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6913 arg2
= (int) SWIG_AsInt(obj1
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 (arg1
)->SetRightIndent(arg2
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 Py_INCREF(Py_None
); resultobj
= Py_None
;
6929 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6936 (char *) "self",(char *) "flags", NULL
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6942 arg2
= (long) SWIG_AsLong(obj1
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 (arg1
)->SetFlags(arg2
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 Py_INCREF(Py_None
); resultobj
= Py_None
;
6958 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
;
6960 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6964 (char *) "self", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6986 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7014 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7016 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7018 PyObject
* obj0
= 0 ;
7020 (char *) "self", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7042 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7048 (char *) "self", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7070 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7076 (char *) "self", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",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();
7084 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7098 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7102 PyObject
* obj0
= 0 ;
7104 (char *) "self", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7126 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
;
7128 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7130 PyObject
* obj0
= 0 ;
7132 (char *) "self", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7154 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7159 PyObject
* obj0
= 0 ;
7160 PyObject
* obj1
= 0 ;
7162 (char *) "self",(char *) "flag", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7168 arg2
= (long) SWIG_AsLong(obj1
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7186 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7192 (char *) "self", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7202 result
= (wxColour
*) &_result_ref
;
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7215 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7219 PyObject
* obj0
= 0 ;
7221 (char *) "self", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7231 result
= (wxColour
*) &_result_ref
;
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7244 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7248 PyObject
* obj0
= 0 ;
7250 (char *) "self", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7260 result
= (wxFont
*) &_result_ref
;
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7267 wxFont
* resultptr
= new wxFont(*result
);
7268 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7276 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7282 (char *) "self", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= SWIG_FromInt((int)result
);
7302 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7308 (char *) "self", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7318 result
= (wxArrayInt
*) &_result_ref
;
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= PyList_New(0);
7327 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7328 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7329 PyList_Append(resultobj
, val
);
7339 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
;
7341 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7343 PyObject
* obj0
= 0 ;
7345 (char *) "self", NULL
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= SWIG_FromLong((long)result
);
7365 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7369 PyObject
* obj0
= 0 ;
7371 (char *) "self", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_FromLong((long)result
);
7391 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7393 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7395 PyObject
* obj0
= 0 ;
7397 (char *) "self", NULL
7400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= SWIG_FromLong((long)result
);
7417 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7421 PyObject
* obj0
= 0 ;
7423 (char *) "self", NULL
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7445 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxTextAttr
*arg1
= 0 ;
7448 wxTextAttr
*arg2
= 0 ;
7449 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7452 PyObject
* obj1
= 0 ;
7453 PyObject
* obj2
= 0 ;
7455 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7463 PyErr_SetString(PyExc_TypeError
,"null reference");
7466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7470 PyErr_SetString(PyExc_TypeError
,"null reference");
7473 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7483 wxTextAttr
* resultptr
;
7484 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7493 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7496 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7498 return Py_BuildValue((char *)"");
7500 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxWindow
*arg1
= (wxWindow
*) 0 ;
7504 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7505 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7506 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7507 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7508 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7509 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7510 long arg6
= (long) 0 ;
7511 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7512 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7513 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7514 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7516 bool temp3
= False
;
7519 bool temp8
= False
;
7520 PyObject
* obj0
= 0 ;
7521 PyObject
* obj1
= 0 ;
7522 PyObject
* obj2
= 0 ;
7523 PyObject
* obj3
= 0 ;
7524 PyObject
* obj4
= 0 ;
7525 PyObject
* obj5
= 0 ;
7526 PyObject
* obj6
= 0 ;
7527 PyObject
* obj7
= 0 ;
7529 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7535 arg2
= (int) SWIG_AsInt(obj1
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7539 arg3
= wxString_in_helper(obj2
);
7540 if (arg3
== NULL
) SWIG_fail
;
7547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7557 arg6
= (long) SWIG_AsLong(obj5
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7561 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7565 PyErr_SetString(PyExc_TypeError
,"null reference");
7571 arg8
= wxString_in_helper(obj7
);
7572 if (arg8
== NULL
) SWIG_fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= wxPyMake_wxObject(result
);
7608 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (wxTextCtrl
*)new wxTextCtrl();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= wxPyMake_wxObject(result
);
7632 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7635 wxWindow
*arg2
= (wxWindow
*) 0 ;
7637 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7638 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7639 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7640 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7641 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7642 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7643 long arg7
= (long) 0 ;
7644 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7645 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7646 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7647 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7649 bool temp4
= False
;
7652 bool temp9
= False
;
7653 PyObject
* obj0
= 0 ;
7654 PyObject
* obj1
= 0 ;
7655 PyObject
* obj2
= 0 ;
7656 PyObject
* obj3
= 0 ;
7657 PyObject
* obj4
= 0 ;
7658 PyObject
* obj5
= 0 ;
7659 PyObject
* obj6
= 0 ;
7660 PyObject
* obj7
= 0 ;
7661 PyObject
* obj8
= 0 ;
7663 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7671 arg3
= (int) SWIG_AsInt(obj2
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7675 arg4
= wxString_in_helper(obj3
);
7676 if (arg4
== NULL
) SWIG_fail
;
7683 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7689 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7693 arg7
= (long) SWIG_AsLong(obj6
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7701 PyErr_SetString(PyExc_TypeError
,"null reference");
7707 arg9
= wxString_in_helper(obj8
);
7708 if (arg9
== NULL
) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7744 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7750 (char *) "self", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7776 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7779 wxString
*arg2
= 0 ;
7780 bool temp2
= False
;
7781 PyObject
* obj0
= 0 ;
7782 PyObject
* obj1
= 0 ;
7784 (char *) "self",(char *) "value", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7791 arg2
= wxString_in_helper(obj1
);
7792 if (arg2
== NULL
) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 (arg1
)->SetValue((wxString
const &)*arg2
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 Py_INCREF(Py_None
); resultobj
= Py_None
;
7817 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7825 PyObject
* obj2
= 0 ;
7827 (char *) "self",(char *) "from",(char *) "to", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7833 arg2
= (long) SWIG_AsLong(obj1
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7835 arg3
= (long) SWIG_AsLong(obj2
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7857 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7865 (char *) "self",(char *) "lineNo", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7871 arg2
= (long) SWIG_AsLong(obj1
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_FromInt((int)result
);
7887 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7892 PyObject
* obj0
= 0 ;
7893 PyObject
* obj1
= 0 ;
7895 (char *) "self",(char *) "lineNo", NULL
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7901 arg2
= (long) SWIG_AsLong(obj1
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7923 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7929 (char *) "self", NULL
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_FromInt((int)result
);
7949 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7953 PyObject
* obj0
= 0 ;
7955 (char *) "self", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7977 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7981 PyObject
* obj0
= 0 ;
7983 (char *) "self", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8005 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8011 (char *) "self", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8033 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8037 PyObject
* obj0
= 0 ;
8039 (char *) "self", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8061 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
;
8063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8064 long *arg2
= (long *) 0 ;
8065 long *arg3
= (long *) 0 ;
8068 PyObject
* obj0
= 0 ;
8070 (char *) "self", NULL
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8085 Py_INCREF(Py_None
); resultobj
= Py_None
;
8087 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8088 resultobj
= t_output_helper(resultobj
,o
);
8091 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8092 resultobj
= t_output_helper(resultobj
,o
);
8100 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
;
8102 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8104 PyObject
* obj0
= 0 ;
8106 (char *) "self", NULL
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8132 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8135 PyObject
* obj0
= 0 ;
8137 (char *) "self", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 Py_INCREF(Py_None
); resultobj
= Py_None
;
8157 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8162 wxString
*arg4
= 0 ;
8163 bool temp4
= False
;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8166 PyObject
* obj2
= 0 ;
8167 PyObject
* obj3
= 0 ;
8169 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8175 arg2
= (long) SWIG_AsLong(obj1
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8177 arg3
= (long) SWIG_AsLong(obj2
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 arg4
= wxString_in_helper(obj3
);
8181 if (arg4
== NULL
) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 Py_INCREF(Py_None
); resultobj
= Py_None
;
8206 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8213 PyObject
* obj2
= 0 ;
8215 (char *) "self",(char *) "from",(char *) "to", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8221 arg2
= (long) SWIG_AsLong(obj1
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8223 arg3
= (long) SWIG_AsLong(obj2
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 (arg1
)->Remove(arg2
,arg3
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 Py_INCREF(Py_None
); resultobj
= Py_None
;
8239 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
;
8241 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8242 wxString
*arg2
= 0 ;
8244 bool temp2
= False
;
8245 PyObject
* obj0
= 0 ;
8246 PyObject
* obj1
= 0 ;
8248 (char *) "self",(char *) "file", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8255 arg2
= wxString_in_helper(obj1
);
8256 if (arg2
== NULL
) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8283 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8286 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8287 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8289 bool temp2
= False
;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8293 (char *) "self",(char *) "file", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8301 arg2
= wxString_in_helper(obj1
);
8302 if (arg2
== NULL
) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8330 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
*resultobj
;
8332 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8333 PyObject
* obj0
= 0 ;
8335 (char *) "self", NULL
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 (arg1
)->MarkDirty();
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 Py_INCREF(Py_None
); resultobj
= Py_None
;
8355 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
;
8357 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8358 PyObject
* obj0
= 0 ;
8360 (char *) "self", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 (arg1
)->DiscardEdits();
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 Py_INCREF(Py_None
); resultobj
= Py_None
;
8380 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8383 unsigned long arg2
;
8384 PyObject
* obj0
= 0 ;
8385 PyObject
* obj1
= 0 ;
8387 (char *) "self",(char *) "len", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8393 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 (arg1
)->SetMaxLength(arg2
);
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 Py_INCREF(Py_None
); resultobj
= Py_None
;
8409 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8412 wxString
*arg2
= 0 ;
8413 bool temp2
= False
;
8414 PyObject
* obj0
= 0 ;
8415 PyObject
* obj1
= 0 ;
8417 (char *) "self",(char *) "text", NULL
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8424 arg2
= wxString_in_helper(obj1
);
8425 if (arg2
== NULL
) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 (arg1
)->WriteText((wxString
const &)*arg2
);
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 Py_INCREF(Py_None
); resultobj
= Py_None
;
8450 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
;
8452 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8453 wxString
*arg2
= 0 ;
8454 bool temp2
= False
;
8455 PyObject
* obj0
= 0 ;
8456 PyObject
* obj1
= 0 ;
8458 (char *) "self",(char *) "text", NULL
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8465 arg2
= wxString_in_helper(obj1
);
8466 if (arg2
== NULL
) SWIG_fail
;
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8471 (arg1
)->AppendText((wxString
const &)*arg2
);
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 Py_INCREF(Py_None
); resultobj
= Py_None
;
8491 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8494 wxKeyEvent
*arg2
= 0 ;
8496 PyObject
* obj0
= 0 ;
8497 PyObject
* obj1
= 0 ;
8499 (char *) "self",(char *) "event", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8509 PyErr_SetString(PyExc_TypeError
,"null reference");
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8528 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8533 wxTextAttr
*arg4
= 0 ;
8535 PyObject
* obj0
= 0 ;
8536 PyObject
* obj1
= 0 ;
8537 PyObject
* obj2
= 0 ;
8538 PyObject
* obj3
= 0 ;
8540 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8546 arg2
= (long) SWIG_AsLong(obj1
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8548 arg3
= (long) SWIG_AsLong(obj2
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8550 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8554 PyErr_SetString(PyExc_TypeError
,"null reference");
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8573 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
;
8575 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8577 wxTextAttr
*arg3
= 0 ;
8579 PyObject
* obj0
= 0 ;
8580 PyObject
* obj1
= 0 ;
8581 PyObject
* obj2
= 0 ;
8583 (char *) "self",(char *) "position",(char *) "style", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8589 arg2
= (long) SWIG_AsLong(obj1
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8595 PyErr_SetString(PyExc_TypeError
,"null reference");
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8614 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8616 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8617 wxTextAttr
*arg2
= 0 ;
8619 PyObject
* obj0
= 0 ;
8620 PyObject
* obj1
= 0 ;
8622 (char *) "self",(char *) "style", NULL
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8632 PyErr_SetString(PyExc_TypeError
,"null reference");
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8651 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
*resultobj
;
8653 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8655 PyObject
* obj0
= 0 ;
8657 (char *) "self", NULL
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8667 result
= (wxTextAttr
*) &_result_ref
;
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8680 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
;
8682 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8686 PyObject
* obj0
= 0 ;
8687 PyObject
* obj1
= 0 ;
8688 PyObject
* obj2
= 0 ;
8690 (char *) "self",(char *) "x",(char *) "y", NULL
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8696 arg2
= (long) SWIG_AsLong(obj1
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8698 arg3
= (long) SWIG_AsLong(obj2
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= SWIG_FromLong((long)result
);
8714 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8718 long *arg3
= (long *) 0 ;
8719 long *arg4
= (long *) 0 ;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8725 (char *) "self",(char *) "pos", NULL
8730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8733 arg2
= (long) SWIG_AsLong(obj1
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 Py_INCREF(Py_None
); resultobj
= Py_None
;
8744 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8745 resultobj
= t_output_helper(resultobj
,o
);
8748 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8749 resultobj
= t_output_helper(resultobj
,o
);
8757 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8764 (char *) "self",(char *) "pos", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8770 arg2
= (long) SWIG_AsLong(obj1
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 (arg1
)->ShowPosition(arg2
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8790 long *arg3
= (long *) 0 ;
8791 long *arg4
= (long *) 0 ;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8799 (char *) "self",(char *) "pt", NULL
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= SWIG_FromInt((int)result
);
8820 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8821 resultobj
= t_output_helper(resultobj
,o
);
8824 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8825 resultobj
= t_output_helper(resultobj
,o
);
8833 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
;
8835 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8838 (char *) "self", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8851 Py_INCREF(Py_None
); resultobj
= Py_None
;
8858 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8861 PyObject
* obj0
= 0 ;
8863 (char *) "self", NULL
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 Py_INCREF(Py_None
); resultobj
= Py_None
;
8883 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8886 PyObject
* obj0
= 0 ;
8888 (char *) "self", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 Py_INCREF(Py_None
); resultobj
= Py_None
;
8908 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8912 PyObject
* obj0
= 0 ;
8914 (char *) "self", NULL
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8936 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
;
8938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8940 PyObject
* obj0
= 0 ;
8942 (char *) "self", NULL
8945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8964 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8968 PyObject
* obj0
= 0 ;
8970 (char *) "self", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8992 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8994 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8995 PyObject
* obj0
= 0 ;
8997 (char *) "self", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 Py_INCREF(Py_None
); resultobj
= Py_None
;
9017 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9020 PyObject
* obj0
= 0 ;
9022 (char *) "self", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 Py_INCREF(Py_None
); resultobj
= Py_None
;
9042 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9046 PyObject
* obj0
= 0 ;
9048 (char *) "self", NULL
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9070 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9076 (char *) "self", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9098 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9105 (char *) "self",(char *) "pos", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9111 arg2
= (long) SWIG_AsLong(obj1
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 (arg1
)->SetInsertionPoint(arg2
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 Py_INCREF(Py_None
); resultobj
= Py_None
;
9127 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9130 PyObject
* obj0
= 0 ;
9132 (char *) "self", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 (arg1
)->SetInsertionPointEnd();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 Py_INCREF(Py_None
); resultobj
= Py_None
;
9152 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9158 (char *) "self", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= SWIG_FromLong((long)result
);
9178 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9184 (char *) "self", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= SWIG_FromLong((long)result
);
9204 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
;
9206 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 PyObject
* obj2
= 0 ;
9213 (char *) "self",(char *) "from",(char *) "to", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9219 arg2
= (long) SWIG_AsLong(obj1
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9221 arg3
= (long) SWIG_AsLong(obj2
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 (arg1
)->SetSelection(arg2
,arg3
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 Py_INCREF(Py_None
); resultobj
= Py_None
;
9237 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9240 PyObject
* obj0
= 0 ;
9242 (char *) "self", NULL
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 (arg1
)->SelectAll();
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 Py_INCREF(Py_None
); resultobj
= Py_None
;
9262 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9267 PyObject
* obj1
= 0 ;
9269 (char *) "self",(char *) "editable", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9275 arg2
= (bool) SWIG_AsBool(obj1
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 (arg1
)->SetEditable(arg2
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 Py_INCREF(Py_None
); resultobj
= Py_None
;
9291 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9294 wxString
*arg2
= 0 ;
9295 bool temp2
= False
;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9299 (char *) "self",(char *) "text", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9306 arg2
= wxString_in_helper(obj1
);
9307 if (arg2
== NULL
) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 Py_INCREF(Py_None
); resultobj
= Py_None
;
9332 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
;
9334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9338 PyObject
* obj0
= 0 ;
9339 PyObject
* obj1
= 0 ;
9340 PyObject
* obj2
= 0 ;
9342 (char *) "self",(char *) "from",(char *) "to", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9348 arg2
= (long) SWIG_AsLong(obj1
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9350 arg3
= (long) SWIG_AsLong(obj2
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9372 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9375 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9377 return Py_BuildValue((char *)"");
9379 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9382 wxMouseEvent
*arg2
= 0 ;
9385 wxTextUrlEvent
*result
;
9386 PyObject
* obj0
= 0 ;
9387 PyObject
* obj1
= 0 ;
9388 PyObject
* obj2
= 0 ;
9389 PyObject
* obj3
= 0 ;
9391 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9395 arg1
= (int) SWIG_AsInt(obj0
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9401 PyErr_SetString(PyExc_TypeError
,"null reference");
9404 arg3
= (long) SWIG_AsLong(obj2
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9406 arg4
= (long) SWIG_AsLong(obj3
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9422 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9425 wxMouseEvent
*result
;
9426 PyObject
* obj0
= 0 ;
9428 (char *) "self", NULL
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9438 result
= (wxMouseEvent
*) &_result_ref
;
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9451 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9457 (char *) "self", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= SWIG_FromLong((long)result
);
9477 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9481 PyObject
* obj0
= 0 ;
9483 (char *) "self", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= SWIG_FromLong((long)result
);
9503 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9506 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9508 return Py_BuildValue((char *)"");
9510 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9511 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9516 static PyObject
*_wrap_ScrollBarNameStr_get() {
9521 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9523 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9530 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
;
9532 wxWindow
*arg1
= (wxWindow
*) 0 ;
9533 int arg2
= (int) -1 ;
9534 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9535 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9536 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9537 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9538 long arg5
= (long) wxSB_HORIZONTAL
;
9539 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9540 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9541 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9542 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9543 wxScrollBar
*result
;
9546 bool temp7
= False
;
9547 PyObject
* obj0
= 0 ;
9548 PyObject
* obj1
= 0 ;
9549 PyObject
* obj2
= 0 ;
9550 PyObject
* obj3
= 0 ;
9551 PyObject
* obj4
= 0 ;
9552 PyObject
* obj5
= 0 ;
9553 PyObject
* obj6
= 0 ;
9555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9562 arg2
= (int) SWIG_AsInt(obj1
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9568 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9574 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9578 arg5
= (long) SWIG_AsLong(obj4
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9582 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9586 PyErr_SetString(PyExc_TypeError
,"null reference");
9592 arg7
= wxString_in_helper(obj6
);
9593 if (arg7
== NULL
) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9619 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxScrollBar
*result
;
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (wxScrollBar
*)new wxScrollBar();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9641 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9644 wxWindow
*arg2
= (wxWindow
*) 0 ;
9645 int arg3
= (int) -1 ;
9646 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9647 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9648 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9649 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9650 long arg6
= (long) wxSB_HORIZONTAL
;
9651 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9652 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9653 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9654 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9658 bool temp8
= False
;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9661 PyObject
* obj2
= 0 ;
9662 PyObject
* obj3
= 0 ;
9663 PyObject
* obj4
= 0 ;
9664 PyObject
* obj5
= 0 ;
9665 PyObject
* obj6
= 0 ;
9666 PyObject
* obj7
= 0 ;
9668 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9677 arg3
= (int) SWIG_AsInt(obj2
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9683 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9689 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9693 arg6
= (long) SWIG_AsLong(obj5
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9697 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9701 PyErr_SetString(PyExc_TypeError
,"null reference");
9707 arg8
= wxString_in_helper(obj7
);
9708 if (arg8
== NULL
) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9736 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9742 (char *) "self", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= SWIG_FromInt((int)result
);
9762 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9766 PyObject
* obj0
= 0 ;
9768 (char *) "self", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_FromInt((int)result
);
9788 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "self", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= SWIG_FromInt((int)result
);
9814 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9818 PyObject
* obj0
= 0 ;
9820 (char *) "self", NULL
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_FromInt((int)result
);
9840 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9846 (char *) "self", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9868 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9872 PyObject
* obj0
= 0 ;
9873 PyObject
* obj1
= 0 ;
9875 (char *) "self",(char *) "viewStart", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9881 arg2
= (int) SWIG_AsInt(obj1
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 (arg1
)->SetThumbPosition(arg2
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 Py_INCREF(Py_None
); resultobj
= Py_None
;
9897 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9904 bool arg6
= (bool) True
;
9905 PyObject
* obj0
= 0 ;
9906 PyObject
* obj1
= 0 ;
9907 PyObject
* obj2
= 0 ;
9908 PyObject
* obj3
= 0 ;
9909 PyObject
* obj4
= 0 ;
9910 PyObject
* obj5
= 0 ;
9912 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9918 arg2
= (int) SWIG_AsInt(obj1
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9920 arg3
= (int) SWIG_AsInt(obj2
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9922 arg4
= (int) SWIG_AsInt(obj3
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9924 arg5
= (int) SWIG_AsInt(obj4
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 arg6
= (bool) SWIG_AsBool(obj5
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9937 Py_INCREF(Py_None
); resultobj
= Py_None
;
9944 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9947 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9949 return Py_BuildValue((char *)"");
9951 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9952 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9957 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9962 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9964 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9971 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9972 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9977 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9982 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9984 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9991 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
;
9993 wxWindow
*arg1
= (wxWindow
*) 0 ;
9994 int arg2
= (int) -1 ;
9995 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9996 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9997 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9998 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9999 long arg5
= (long) wxSP_HORIZONTAL
;
10000 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10001 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10002 wxSpinButton
*result
;
10005 bool temp6
= False
;
10006 PyObject
* obj0
= 0 ;
10007 PyObject
* obj1
= 0 ;
10008 PyObject
* obj2
= 0 ;
10009 PyObject
* obj3
= 0 ;
10010 PyObject
* obj4
= 0 ;
10011 PyObject
* obj5
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10020 arg2
= (int) SWIG_AsInt(obj1
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10026 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10032 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10036 arg5
= (long) SWIG_AsLong(obj4
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10041 arg6
= wxString_in_helper(obj5
);
10042 if (arg6
== NULL
) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10068 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxSpinButton
*result
;
10071 char *kwnames
[] = {
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (wxSpinButton
*)new wxSpinButton();
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10090 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10093 wxWindow
*arg2
= (wxWindow
*) 0 ;
10094 int arg3
= (int) -1 ;
10095 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10096 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10097 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10098 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10099 long arg6
= (long) wxSP_HORIZONTAL
;
10100 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10101 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10105 bool temp7
= False
;
10106 PyObject
* obj0
= 0 ;
10107 PyObject
* obj1
= 0 ;
10108 PyObject
* obj2
= 0 ;
10109 PyObject
* obj3
= 0 ;
10110 PyObject
* obj4
= 0 ;
10111 PyObject
* obj5
= 0 ;
10112 PyObject
* obj6
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10123 arg3
= (int) SWIG_AsInt(obj2
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10129 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10135 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10139 arg6
= (long) SWIG_AsLong(obj5
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10144 arg7
= wxString_in_helper(obj6
);
10145 if (arg7
== NULL
) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10173 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
;
10175 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10177 PyObject
* obj0
= 0 ;
10178 char *kwnames
[] = {
10179 (char *) "self", NULL
10182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 resultobj
= SWIG_FromInt((int)result
);
10199 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
;
10201 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10203 PyObject
* obj0
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 resultobj
= SWIG_FromInt((int)result
);
10225 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
;
10227 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10229 PyObject
* obj0
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "self", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= SWIG_FromInt((int)result
);
10251 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10255 PyObject
* obj0
= 0 ;
10256 PyObject
* obj1
= 0 ;
10257 char *kwnames
[] = {
10258 (char *) "self",(char *) "val", NULL
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10264 arg2
= (int) SWIG_AsInt(obj1
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 (arg1
)->SetValue(arg2
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 Py_INCREF(Py_None
); resultobj
= Py_None
;
10280 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 PyObject
* obj1
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "self",(char *) "minVal", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 arg2
= (int) SWIG_AsInt(obj1
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 (arg1
)->SetMin(arg2
);
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10302 Py_INCREF(Py_None
); resultobj
= Py_None
;
10309 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10310 PyObject
*resultobj
;
10311 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10313 PyObject
* obj0
= 0 ;
10314 PyObject
* obj1
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self",(char *) "maxVal", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10322 arg2
= (int) SWIG_AsInt(obj1
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 (arg1
)->SetMax(arg2
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 Py_INCREF(Py_None
); resultobj
= Py_None
;
10338 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 PyObject
* obj1
= 0 ;
10345 PyObject
* obj2
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10353 arg2
= (int) SWIG_AsInt(obj1
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10355 arg3
= (int) SWIG_AsInt(obj2
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 (arg1
)->SetRange(arg2
,arg3
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 Py_INCREF(Py_None
); resultobj
= Py_None
;
10371 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
;
10373 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10375 PyObject
* obj0
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10399 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10402 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10404 return Py_BuildValue((char *)"");
10406 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxWindow
*arg1
= (wxWindow
*) 0 ;
10409 int arg2
= (int) -1 ;
10410 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10411 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10412 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10413 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10414 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10415 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10416 long arg6
= (long) wxSP_ARROW_KEYS
;
10417 int arg7
= (int) 0 ;
10418 int arg8
= (int) 100 ;
10419 int arg9
= (int) 0 ;
10420 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10421 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10422 wxSpinCtrl
*result
;
10423 bool temp3
= False
;
10426 bool temp10
= False
;
10427 PyObject
* obj0
= 0 ;
10428 PyObject
* obj1
= 0 ;
10429 PyObject
* obj2
= 0 ;
10430 PyObject
* obj3
= 0 ;
10431 PyObject
* obj4
= 0 ;
10432 PyObject
* obj5
= 0 ;
10433 PyObject
* obj6
= 0 ;
10434 PyObject
* obj7
= 0 ;
10435 PyObject
* obj8
= 0 ;
10436 PyObject
* obj9
= 0 ;
10437 char *kwnames
[] = {
10438 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10445 arg2
= (int) SWIG_AsInt(obj1
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10450 arg3
= wxString_in_helper(obj2
);
10451 if (arg3
== NULL
) SWIG_fail
;
10458 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10464 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10468 arg6
= (long) SWIG_AsLong(obj5
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10472 arg7
= (int) SWIG_AsInt(obj6
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10476 arg8
= (int) SWIG_AsInt(obj7
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10480 arg9
= (int) SWIG_AsInt(obj8
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10485 arg10
= wxString_in_helper(obj9
);
10486 if (arg10
== NULL
) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10520 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxSpinCtrl
*result
;
10523 char *kwnames
[] = {
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10542 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
;
10544 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10545 wxWindow
*arg2
= (wxWindow
*) 0 ;
10546 int arg3
= (int) -1 ;
10547 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10548 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10549 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10550 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10551 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10552 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10553 long arg7
= (long) wxSP_ARROW_KEYS
;
10554 int arg8
= (int) 0 ;
10555 int arg9
= (int) 100 ;
10556 int arg10
= (int) 0 ;
10557 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10558 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10560 bool temp4
= False
;
10563 bool temp11
= False
;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 PyObject
* obj2
= 0 ;
10567 PyObject
* obj3
= 0 ;
10568 PyObject
* obj4
= 0 ;
10569 PyObject
* obj5
= 0 ;
10570 PyObject
* obj6
= 0 ;
10571 PyObject
* obj7
= 0 ;
10572 PyObject
* obj8
= 0 ;
10573 PyObject
* obj9
= 0 ;
10574 PyObject
* obj10
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 arg3
= (int) SWIG_AsInt(obj2
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10590 arg4
= wxString_in_helper(obj3
);
10591 if (arg4
== NULL
) SWIG_fail
;
10598 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10604 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10608 arg7
= (long) SWIG_AsLong(obj6
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10612 arg8
= (int) SWIG_AsInt(obj7
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10616 arg9
= (int) SWIG_AsInt(obj8
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10620 arg10
= (int) SWIG_AsInt(obj9
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10625 arg11
= wxString_in_helper(obj10
);
10626 if (arg11
== NULL
) SWIG_fail
;
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10662 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 resultobj
= SWIG_FromInt((int)result
);
10688 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "value", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10701 arg2
= (int) SWIG_AsInt(obj1
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 (arg1
)->SetValue(arg2
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 Py_INCREF(Py_None
); resultobj
= Py_None
;
10717 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10720 wxString
*arg2
= 0 ;
10721 bool temp2
= False
;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self",(char *) "text", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10732 arg2
= wxString_in_helper(obj1
);
10733 if (arg2
== NULL
) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 (arg1
)->SetValue((wxString
const &)*arg2
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 Py_INCREF(Py_None
); resultobj
= Py_None
;
10758 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10763 PyObject
* obj0
= 0 ;
10764 PyObject
* obj1
= 0 ;
10765 PyObject
* obj2
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10773 arg2
= (int) SWIG_AsInt(obj1
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10775 arg3
= (int) SWIG_AsInt(obj2
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 (arg1
)->SetRange(arg2
,arg3
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 Py_INCREF(Py_None
); resultobj
= Py_None
;
10791 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= SWIG_FromInt((int)result
);
10817 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "self", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= SWIG_FromInt((int)result
);
10843 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10848 PyObject
* obj0
= 0 ;
10849 PyObject
* obj1
= 0 ;
10850 PyObject
* obj2
= 0 ;
10851 char *kwnames
[] = {
10852 (char *) "self",(char *) "from",(char *) "to", NULL
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10858 arg2
= (long) SWIG_AsLong(obj1
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10860 arg3
= (long) SWIG_AsLong(obj2
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 (arg1
)->SetSelection(arg2
,arg3
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 Py_INCREF(Py_None
); resultobj
= Py_None
;
10876 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10879 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10881 return Py_BuildValue((char *)"");
10883 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10886 int arg2
= (int) 0 ;
10887 wxSpinEvent
*result
;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "commandType",(char *) "winid", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10896 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10900 arg2
= (int) SWIG_AsInt(obj1
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10917 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10921 PyObject
* obj0
= 0 ;
10922 char *kwnames
[] = {
10923 (char *) "self", NULL
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= SWIG_FromInt((int)result
);
10943 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 char *kwnames
[] = {
10950 (char *) "self",(char *) "pos", NULL
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10956 arg2
= (int) SWIG_AsInt(obj1
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 (arg1
)->SetPosition(arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 Py_INCREF(Py_None
); resultobj
= Py_None
;
10972 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10975 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10977 return Py_BuildValue((char *)"");
10979 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10980 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10985 static PyObject
*_wrap_RadioBoxNameStr_get() {
10990 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10992 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10999 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11000 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11005 static PyObject
*_wrap_RadioButtonNameStr_get() {
11010 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11012 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11019 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
;
11021 wxWindow
*arg1
= (wxWindow
*) 0 ;
11023 wxString
*arg3
= 0 ;
11024 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11025 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11026 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11027 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11028 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11029 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11030 int arg7
= (int) 0 ;
11031 long arg8
= (long) wxRA_HORIZONTAL
;
11032 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11033 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11034 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11035 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11036 wxRadioBox
*result
;
11037 bool temp3
= False
;
11040 bool temp6
= False
;
11041 bool temp10
= False
;
11042 PyObject
* obj0
= 0 ;
11043 PyObject
* obj1
= 0 ;
11044 PyObject
* obj2
= 0 ;
11045 PyObject
* obj3
= 0 ;
11046 PyObject
* obj4
= 0 ;
11047 PyObject
* obj5
= 0 ;
11048 PyObject
* obj6
= 0 ;
11049 PyObject
* obj7
= 0 ;
11050 PyObject
* obj8
= 0 ;
11051 PyObject
* obj9
= 0 ;
11052 char *kwnames
[] = {
11053 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11059 arg2
= (int) SWIG_AsInt(obj1
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11062 arg3
= wxString_in_helper(obj2
);
11063 if (arg3
== NULL
) SWIG_fail
;
11069 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11075 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11080 if (! PySequence_Check(obj5
)) {
11081 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11084 arg6
= new wxArrayString
;
11086 int i
, len
=PySequence_Length(obj5
);
11087 for (i
=0; i
<len
; i
++) {
11088 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11090 PyObject
* str
= PyObject_Unicode(item
);
11092 PyObject
* str
= PyObject_Str(item
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11095 arg6
->Add(Py2wxString(str
));
11102 arg7
= (int) SWIG_AsInt(obj6
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11106 arg8
= (long) SWIG_AsLong(obj7
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11110 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11113 if (arg9
== NULL
) {
11114 PyErr_SetString(PyExc_TypeError
,"null reference");
11120 arg10
= wxString_in_helper(obj9
);
11121 if (arg10
== NULL
) SWIG_fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 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
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11138 if (temp6
) delete arg6
;
11151 if (temp6
) delete arg6
;
11161 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxRadioBox
*result
;
11164 char *kwnames
[] = {
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (wxRadioBox
*)new wxRadioBox();
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11183 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11186 wxWindow
*arg2
= (wxWindow
*) 0 ;
11188 wxString
*arg4
= 0 ;
11189 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11190 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11191 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11192 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11193 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11194 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11195 int arg8
= (int) 0 ;
11196 long arg9
= (long) wxRA_HORIZONTAL
;
11197 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11198 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11199 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11200 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11202 bool temp4
= False
;
11205 bool temp7
= False
;
11206 bool temp11
= False
;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 PyObject
* obj2
= 0 ;
11210 PyObject
* obj3
= 0 ;
11211 PyObject
* obj4
= 0 ;
11212 PyObject
* obj5
= 0 ;
11213 PyObject
* obj6
= 0 ;
11214 PyObject
* obj7
= 0 ;
11215 PyObject
* obj8
= 0 ;
11216 PyObject
* obj9
= 0 ;
11217 PyObject
* obj10
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11227 arg3
= (int) SWIG_AsInt(obj2
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 arg4
= wxString_in_helper(obj3
);
11231 if (arg4
== NULL
) SWIG_fail
;
11237 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11243 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11248 if (! PySequence_Check(obj6
)) {
11249 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11252 arg7
= new wxArrayString
;
11254 int i
, len
=PySequence_Length(obj6
);
11255 for (i
=0; i
<len
; i
++) {
11256 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11258 PyObject
* str
= PyObject_Unicode(item
);
11260 PyObject
* str
= PyObject_Str(item
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11263 arg7
->Add(Py2wxString(str
));
11270 arg8
= (int) SWIG_AsInt(obj7
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 arg9
= (long) SWIG_AsLong(obj8
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11281 if (arg10
== NULL
) {
11282 PyErr_SetString(PyExc_TypeError
,"null reference");
11288 arg11
= wxString_in_helper(obj10
);
11289 if (arg11
== NULL
) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11308 if (temp7
) delete arg7
;
11321 if (temp7
) delete arg7
;
11331 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self",(char *) "n", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11344 arg2
= (int) SWIG_AsInt(obj1
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 (arg1
)->SetSelection(arg2
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 Py_INCREF(Py_None
); resultobj
= Py_None
;
11360 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11364 PyObject
* obj0
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "self", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= SWIG_FromInt((int)result
);
11386 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11390 PyObject
* obj0
= 0 ;
11391 char *kwnames
[] = {
11392 (char *) "self", NULL
11395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11418 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
;
11420 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11421 wxString
*arg2
= 0 ;
11423 bool temp2
= False
;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self",(char *) "s", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11434 arg2
= wxString_in_helper(obj1
);
11435 if (arg2
== NULL
) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11462 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11466 PyObject
* obj0
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= SWIG_FromInt((int)result
);
11488 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
*resultobj
;
11490 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11491 wxString
*arg2
= 0 ;
11493 bool temp2
= False
;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "s", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11504 arg2
= wxString_in_helper(obj1
);
11505 if (arg2
== NULL
) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= SWIG_FromInt((int)result
);
11530 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 char *kwnames
[] = {
11538 (char *) "self",(char *) "n", NULL
11541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11544 arg2
= (int) SWIG_AsInt(obj1
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11566 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
;
11568 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11570 wxString
*arg3
= 0 ;
11571 bool temp3
= False
;
11572 PyObject
* obj0
= 0 ;
11573 PyObject
* obj1
= 0 ;
11574 PyObject
* obj2
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self",(char *) "n",(char *) "label", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11582 arg2
= (int) SWIG_AsInt(obj1
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 arg3
= wxString_in_helper(obj2
);
11586 if (arg3
== NULL
) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 Py_INCREF(Py_None
); resultobj
= Py_None
;
11611 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11615 bool arg3
= (bool) True
;
11616 PyObject
* obj0
= 0 ;
11617 PyObject
* obj1
= 0 ;
11618 PyObject
* obj2
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self",(char *) "n",(char *) "enable", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11626 arg2
= (int) SWIG_AsInt(obj1
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 arg3
= (bool) SWIG_AsBool(obj2
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 (arg1
)->Enable(arg2
,arg3
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 Py_INCREF(Py_None
); resultobj
= Py_None
;
11646 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11647 PyObject
*resultobj
;
11648 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11650 bool arg3
= (bool) True
;
11651 PyObject
* obj0
= 0 ;
11652 PyObject
* obj1
= 0 ;
11653 PyObject
* obj2
= 0 ;
11654 char *kwnames
[] = {
11655 (char *) "self",(char *) "n",(char *) "show", NULL
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11661 arg2
= (int) SWIG_AsInt(obj1
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 arg3
= (bool) SWIG_AsBool(obj2
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 (arg1
)->Show(arg2
,arg3
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 Py_INCREF(Py_None
); resultobj
= Py_None
;
11681 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
;
11683 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11685 PyObject
* obj0
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "self", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= SWIG_FromInt((int)result
);
11707 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11711 PyObject
* obj0
= 0 ;
11712 char *kwnames
[] = {
11713 (char *) "self", NULL
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= SWIG_FromInt((int)result
);
11733 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11740 PyObject
* obj0
= 0 ;
11741 PyObject
* obj1
= 0 ;
11742 PyObject
* obj2
= 0 ;
11743 PyObject
* obj3
= 0 ;
11744 char *kwnames
[] = {
11745 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11751 arg2
= (int) SWIG_AsInt(obj1
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11753 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11755 arg4
= (long) SWIG_AsLong(obj3
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= SWIG_FromInt((int)result
);
11771 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11774 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11776 return Py_BuildValue((char *)"");
11778 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxWindow
*arg1
= (wxWindow
*) 0 ;
11782 wxString
*arg3
= 0 ;
11783 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11784 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11785 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11786 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11787 long arg6
= (long) 0 ;
11788 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11789 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11790 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11791 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11792 wxRadioButton
*result
;
11793 bool temp3
= False
;
11796 bool temp8
= False
;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 PyObject
* obj2
= 0 ;
11800 PyObject
* obj3
= 0 ;
11801 PyObject
* obj4
= 0 ;
11802 PyObject
* obj5
= 0 ;
11803 PyObject
* obj6
= 0 ;
11804 PyObject
* obj7
= 0 ;
11805 char *kwnames
[] = {
11806 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11812 arg2
= (int) SWIG_AsInt(obj1
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 arg3
= wxString_in_helper(obj2
);
11816 if (arg3
== NULL
) SWIG_fail
;
11822 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11828 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11832 arg6
= (long) SWIG_AsLong(obj5
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11836 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11839 if (arg7
== NULL
) {
11840 PyErr_SetString(PyExc_TypeError
,"null reference");
11846 arg8
= wxString_in_helper(obj7
);
11847 if (arg8
== NULL
) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11881 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxRadioButton
*result
;
11884 char *kwnames
[] = {
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 result
= (wxRadioButton
*)new wxRadioButton();
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11903 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11906 wxWindow
*arg2
= (wxWindow
*) 0 ;
11908 wxString
*arg4
= 0 ;
11909 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11910 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11911 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11912 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11913 long arg7
= (long) 0 ;
11914 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11915 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11916 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11917 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11919 bool temp4
= False
;
11922 bool temp9
= False
;
11923 PyObject
* obj0
= 0 ;
11924 PyObject
* obj1
= 0 ;
11925 PyObject
* obj2
= 0 ;
11926 PyObject
* obj3
= 0 ;
11927 PyObject
* obj4
= 0 ;
11928 PyObject
* obj5
= 0 ;
11929 PyObject
* obj6
= 0 ;
11930 PyObject
* obj7
= 0 ;
11931 PyObject
* obj8
= 0 ;
11932 char *kwnames
[] = {
11933 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11941 arg3
= (int) SWIG_AsInt(obj2
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 arg4
= wxString_in_helper(obj3
);
11945 if (arg4
== NULL
) SWIG_fail
;
11951 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11957 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11961 arg7
= (long) SWIG_AsLong(obj6
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11965 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11968 if (arg8
== NULL
) {
11969 PyErr_SetString(PyExc_TypeError
,"null reference");
11975 arg9
= wxString_in_helper(obj8
);
11976 if (arg9
== NULL
) SWIG_fail
;
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12012 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "self", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (bool)(arg1
)->GetValue();
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12040 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12044 PyObject
* obj0
= 0 ;
12045 PyObject
* obj1
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self",(char *) "value", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12053 arg2
= (bool) SWIG_AsBool(obj1
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 (arg1
)->SetValue(arg2
);
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12062 Py_INCREF(Py_None
); resultobj
= Py_None
;
12069 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12072 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12074 return Py_BuildValue((char *)"");
12076 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12077 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12082 static PyObject
*_wrap_SliderNameStr_get() {
12087 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12089 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12096 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
;
12098 wxWindow
*arg1
= (wxWindow
*) 0 ;
12103 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12104 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12105 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12106 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12107 long arg8
= (long) wxSL_HORIZONTAL
;
12108 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12109 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12110 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12111 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12115 bool temp10
= False
;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 PyObject
* obj2
= 0 ;
12119 PyObject
* obj3
= 0 ;
12120 PyObject
* obj4
= 0 ;
12121 PyObject
* obj5
= 0 ;
12122 PyObject
* obj6
= 0 ;
12123 PyObject
* obj7
= 0 ;
12124 PyObject
* obj8
= 0 ;
12125 PyObject
* obj9
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12133 arg2
= (int) SWIG_AsInt(obj1
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12135 arg3
= (int) SWIG_AsInt(obj2
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12137 arg4
= (int) SWIG_AsInt(obj3
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12139 arg5
= (int) SWIG_AsInt(obj4
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12144 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12150 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12154 arg8
= (long) SWIG_AsLong(obj7
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12158 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12161 if (arg9
== NULL
) {
12162 PyErr_SetString(PyExc_TypeError
,"null reference");
12168 arg10
= wxString_in_helper(obj9
);
12169 if (arg10
== NULL
) SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12195 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12198 char *kwnames
[] = {
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (wxSlider
*)new wxSlider();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12217 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxSlider
*arg1
= (wxSlider
*) 0 ;
12220 wxWindow
*arg2
= (wxWindow
*) 0 ;
12225 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12226 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12227 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12228 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12229 long arg9
= (long) wxSL_HORIZONTAL
;
12230 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12231 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12232 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12233 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12237 bool temp11
= False
;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 PyObject
* obj2
= 0 ;
12241 PyObject
* obj3
= 0 ;
12242 PyObject
* obj4
= 0 ;
12243 PyObject
* obj5
= 0 ;
12244 PyObject
* obj6
= 0 ;
12245 PyObject
* obj7
= 0 ;
12246 PyObject
* obj8
= 0 ;
12247 PyObject
* obj9
= 0 ;
12248 PyObject
* obj10
= 0 ;
12249 char *kwnames
[] = {
12250 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12258 arg3
= (int) SWIG_AsInt(obj2
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12260 arg4
= (int) SWIG_AsInt(obj3
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12262 arg5
= (int) SWIG_AsInt(obj4
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12264 arg6
= (int) SWIG_AsInt(obj5
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12269 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12275 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12279 arg9
= (long) SWIG_AsLong(obj8
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12286 if (arg10
== NULL
) {
12287 PyErr_SetString(PyExc_TypeError
,"null reference");
12293 arg11
= wxString_in_helper(obj10
);
12294 if (arg11
== NULL
) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12322 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxSlider
*arg1
= (wxSlider
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= SWIG_FromInt((int)result
);
12348 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxSlider
*arg1
= (wxSlider
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 PyObject
* obj1
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self",(char *) "value", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12361 arg2
= (int) SWIG_AsInt(obj1
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 (arg1
)->SetValue(arg2
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 Py_INCREF(Py_None
); resultobj
= Py_None
;
12377 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxSlider
*arg1
= (wxSlider
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 PyObject
* obj2
= 0 ;
12385 char *kwnames
[] = {
12386 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12392 arg2
= (int) SWIG_AsInt(obj1
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12394 arg3
= (int) SWIG_AsInt(obj2
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 (arg1
)->SetRange(arg2
,arg3
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 Py_INCREF(Py_None
); resultobj
= Py_None
;
12410 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
;
12412 wxSlider
*arg1
= (wxSlider
*) 0 ;
12414 PyObject
* obj0
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "self", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_FromInt((int)result
);
12436 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxSlider
*arg1
= (wxSlider
*) 0 ;
12440 PyObject
* obj0
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_FromInt((int)result
);
12462 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxSlider
*arg1
= (wxSlider
*) 0 ;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self",(char *) "minValue", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12475 arg2
= (int) SWIG_AsInt(obj1
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 (arg1
)->SetMin(arg2
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 Py_INCREF(Py_None
); resultobj
= Py_None
;
12491 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxSlider
*arg1
= (wxSlider
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 PyObject
* obj1
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self",(char *) "maxValue", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12504 arg2
= (int) SWIG_AsInt(obj1
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 (arg1
)->SetMax(arg2
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 Py_INCREF(Py_None
); resultobj
= Py_None
;
12520 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxSlider
*arg1
= (wxSlider
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 PyObject
* obj1
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self",(char *) "lineSize", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12533 arg2
= (int) SWIG_AsInt(obj1
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 (arg1
)->SetLineSize(arg2
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 Py_INCREF(Py_None
); resultobj
= Py_None
;
12549 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
;
12551 wxSlider
*arg1
= (wxSlider
*) 0 ;
12553 PyObject
* obj0
= 0 ;
12554 PyObject
* obj1
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self",(char *) "pageSize", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12562 arg2
= (int) SWIG_AsInt(obj1
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 (arg1
)->SetPageSize(arg2
);
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12571 Py_INCREF(Py_None
); resultobj
= Py_None
;
12578 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxSlider
*arg1
= (wxSlider
*) 0 ;
12582 PyObject
* obj0
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= SWIG_FromInt((int)result
);
12604 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxSlider
*arg1
= (wxSlider
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= SWIG_FromInt((int)result
);
12630 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxSlider
*arg1
= (wxSlider
*) 0 ;
12634 PyObject
* obj0
= 0 ;
12635 PyObject
* obj1
= 0 ;
12636 char *kwnames
[] = {
12637 (char *) "self",(char *) "lenPixels", NULL
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12643 arg2
= (int) SWIG_AsInt(obj1
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 (arg1
)->SetThumbLength(arg2
);
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 Py_INCREF(Py_None
); resultobj
= Py_None
;
12659 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxSlider
*arg1
= (wxSlider
*) 0 ;
12663 PyObject
* obj0
= 0 ;
12664 char *kwnames
[] = {
12665 (char *) "self", NULL
12668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= SWIG_FromInt((int)result
);
12685 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxSlider
*arg1
= (wxSlider
*) 0 ;
12689 int arg3
= (int) 1 ;
12690 PyObject
* obj0
= 0 ;
12691 PyObject
* obj1
= 0 ;
12692 PyObject
* obj2
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self",(char *) "n",(char *) "pos", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12700 arg2
= (int) SWIG_AsInt(obj1
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 arg3
= (int) SWIG_AsInt(obj2
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 (arg1
)->SetTickFreq(arg2
,arg3
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 Py_INCREF(Py_None
); resultobj
= Py_None
;
12720 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
;
12722 wxSlider
*arg1
= (wxSlider
*) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 char *kwnames
[] = {
12726 (char *) "self", NULL
12729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 resultobj
= SWIG_FromInt((int)result
);
12746 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
;
12748 wxSlider
*arg1
= (wxSlider
*) 0 ;
12749 PyObject
* obj0
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 (arg1
)->ClearTicks();
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 Py_INCREF(Py_None
); resultobj
= Py_None
;
12771 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxSlider
*arg1
= (wxSlider
*) 0 ;
12775 PyObject
* obj0
= 0 ;
12776 PyObject
* obj1
= 0 ;
12777 char *kwnames
[] = {
12778 (char *) "self",(char *) "tickPos", NULL
12781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12784 arg2
= (int) SWIG_AsInt(obj1
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 (arg1
)->SetTick(arg2
);
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 Py_INCREF(Py_None
); resultobj
= Py_None
;
12800 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12801 PyObject
*resultobj
;
12802 wxSlider
*arg1
= (wxSlider
*) 0 ;
12803 PyObject
* obj0
= 0 ;
12804 char *kwnames
[] = {
12805 (char *) "self", NULL
12808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 (arg1
)->ClearSel();
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12818 Py_INCREF(Py_None
); resultobj
= Py_None
;
12825 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12826 PyObject
*resultobj
;
12827 wxSlider
*arg1
= (wxSlider
*) 0 ;
12829 PyObject
* obj0
= 0 ;
12830 char *kwnames
[] = {
12831 (char *) "self", NULL
12834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= SWIG_FromInt((int)result
);
12851 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxSlider
*arg1
= (wxSlider
*) 0 ;
12855 PyObject
* obj0
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= SWIG_FromInt((int)result
);
12877 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
;
12879 wxSlider
*arg1
= (wxSlider
*) 0 ;
12882 PyObject
* obj0
= 0 ;
12883 PyObject
* obj1
= 0 ;
12884 PyObject
* obj2
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self",(char *) "min",(char *) "max", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12892 arg2
= (int) SWIG_AsInt(obj1
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12894 arg3
= (int) SWIG_AsInt(obj2
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 (arg1
)->SetSelection(arg2
,arg3
);
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 Py_INCREF(Py_None
); resultobj
= Py_None
;
12910 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12913 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12915 return Py_BuildValue((char *)"");
12917 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12918 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12923 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12928 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12930 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12937 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxWindow
*arg1
= (wxWindow
*) 0 ;
12941 wxString
*arg3
= 0 ;
12942 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12943 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12944 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12945 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12946 long arg6
= (long) 0 ;
12947 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12948 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12949 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12950 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12951 wxToggleButton
*result
;
12952 bool temp3
= False
;
12955 bool temp8
= False
;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 PyObject
* obj2
= 0 ;
12959 PyObject
* obj3
= 0 ;
12960 PyObject
* obj4
= 0 ;
12961 PyObject
* obj5
= 0 ;
12962 PyObject
* obj6
= 0 ;
12963 PyObject
* obj7
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12971 arg2
= (int) SWIG_AsInt(obj1
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12974 arg3
= wxString_in_helper(obj2
);
12975 if (arg3
== NULL
) SWIG_fail
;
12981 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12987 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12991 arg6
= (long) SWIG_AsLong(obj5
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12995 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12998 if (arg7
== NULL
) {
12999 PyErr_SetString(PyExc_TypeError
,"null reference");
13005 arg8
= wxString_in_helper(obj7
);
13006 if (arg8
== NULL
) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13040 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxToggleButton
*result
;
13043 char *kwnames
[] = {
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= (wxToggleButton
*)new wxToggleButton();
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13062 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
;
13064 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13065 wxWindow
*arg2
= (wxWindow
*) 0 ;
13067 wxString
*arg4
= 0 ;
13068 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13069 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13070 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13071 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13072 long arg7
= (long) 0 ;
13073 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13074 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13075 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13076 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13078 bool temp4
= False
;
13081 bool temp9
= False
;
13082 PyObject
* obj0
= 0 ;
13083 PyObject
* obj1
= 0 ;
13084 PyObject
* obj2
= 0 ;
13085 PyObject
* obj3
= 0 ;
13086 PyObject
* obj4
= 0 ;
13087 PyObject
* obj5
= 0 ;
13088 PyObject
* obj6
= 0 ;
13089 PyObject
* obj7
= 0 ;
13090 PyObject
* obj8
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13100 arg3
= (int) SWIG_AsInt(obj2
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 arg4
= wxString_in_helper(obj3
);
13104 if (arg4
== NULL
) SWIG_fail
;
13110 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13116 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13120 arg7
= (long) SWIG_AsLong(obj6
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13124 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13127 if (arg8
== NULL
) {
13128 PyErr_SetString(PyExc_TypeError
,"null reference");
13134 arg9
= wxString_in_helper(obj8
);
13135 if (arg9
== NULL
) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13171 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13175 PyObject
* obj0
= 0 ;
13176 PyObject
* obj1
= 0 ;
13177 char *kwnames
[] = {
13178 (char *) "self",(char *) "value", NULL
13181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13184 arg2
= (bool) SWIG_AsBool(obj1
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 (arg1
)->SetValue(arg2
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 Py_INCREF(Py_None
); resultobj
= Py_None
;
13200 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13204 PyObject
* obj0
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13228 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
;
13230 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13231 wxString
*arg2
= 0 ;
13232 bool temp2
= False
;
13233 PyObject
* obj0
= 0 ;
13234 PyObject
* obj1
= 0 ;
13235 char *kwnames
[] = {
13236 (char *) "self",(char *) "label", NULL
13239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13243 arg2
= wxString_in_helper(obj1
);
13244 if (arg2
== NULL
) SWIG_fail
;
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13249 (arg1
)->SetLabel((wxString
const &)*arg2
);
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 Py_INCREF(Py_None
); resultobj
= Py_None
;
13269 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13272 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13274 return Py_BuildValue((char *)"");
13276 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13277 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13282 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13287 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13289 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13296 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13300 PyObject
* obj0
= 0 ;
13301 char *kwnames
[] = {
13302 (char *) "self", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13322 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13327 PyObject
* obj0
= 0 ;
13328 PyObject
* obj1
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self",(char *) "n", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13336 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= wxPyMake_wxObject(result
);
13354 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13358 PyObject
* obj0
= 0 ;
13359 char *kwnames
[] = {
13360 (char *) "self", NULL
13363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= SWIG_FromInt((int)result
);
13380 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13384 wxString
*arg3
= 0 ;
13386 bool temp3
= False
;
13387 PyObject
* obj0
= 0 ;
13388 PyObject
* obj1
= 0 ;
13389 PyObject
* obj2
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self",(char *) "n",(char *) "strText", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 arg3
= wxString_in_helper(obj2
);
13401 if (arg3
== NULL
) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13428 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13433 PyObject
* obj0
= 0 ;
13434 PyObject
* obj1
= 0 ;
13435 char *kwnames
[] = {
13436 (char *) "self",(char *) "n", NULL
13439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13442 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13464 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13467 wxImageList
*arg2
= (wxImageList
*) 0 ;
13468 PyObject
* obj0
= 0 ;
13469 PyObject
* obj1
= 0 ;
13470 char *kwnames
[] = {
13471 (char *) "self",(char *) "imageList", NULL
13474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 (arg1
)->SetImageList(arg2
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 Py_INCREF(Py_None
); resultobj
= Py_None
;
13493 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13496 wxImageList
*arg2
= (wxImageList
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 PyObject
* obj1
= 0 ;
13499 char *kwnames
[] = {
13500 (char *) "self",(char *) "imageList", NULL
13503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13507 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 (arg1
)->AssignImageList(arg2
);
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 Py_INCREF(Py_None
); resultobj
= Py_None
;
13522 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
;
13524 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13525 wxImageList
*result
;
13526 PyObject
* obj0
= 0 ;
13527 char *kwnames
[] = {
13528 (char *) "self", NULL
13531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= wxPyMake_wxObject(result
);
13550 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self",(char *) "n", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13564 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= SWIG_FromInt((int)result
);
13580 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13586 PyObject
* obj0
= 0 ;
13587 PyObject
* obj1
= 0 ;
13588 PyObject
* obj2
= 0 ;
13589 char *kwnames
[] = {
13590 (char *) "self",(char *) "n",(char *) "imageId", NULL
13593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13596 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13598 arg3
= (int) SWIG_AsInt(obj2
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13616 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13621 PyObject
* obj0
= 0 ;
13622 PyObject
* obj1
= 0 ;
13623 char *kwnames
[] = {
13624 (char *) "self",(char *) "size", NULL
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13632 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 Py_INCREF(Py_None
); resultobj
= Py_None
;
13648 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
;
13650 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 PyObject
* obj1
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self",(char *) "sizePage", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13675 wxSize
* resultptr
;
13676 resultptr
= new wxSize((wxSize
&) result
);
13677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13685 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13690 PyObject
* obj0
= 0 ;
13691 PyObject
* obj1
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "self",(char *) "n", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13699 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 result
= (bool)(arg1
)->DeletePage(arg2
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13717 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
*resultobj
;
13719 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13722 PyObject
* obj0
= 0 ;
13723 PyObject
* obj1
= 0 ;
13724 char *kwnames
[] = {
13725 (char *) "self",(char *) "n", NULL
13728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13731 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= (bool)(arg1
)->RemovePage(arg2
);
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13749 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
;
13751 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13753 PyObject
* obj0
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "self", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 result
= (bool)(arg1
)->DeleteAllPages();
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13777 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
;
13779 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13780 wxWindow
*arg2
= (wxWindow
*) 0 ;
13781 wxString
*arg3
= 0 ;
13782 bool arg4
= (bool) False
;
13783 int arg5
= (int) -1 ;
13785 bool temp3
= False
;
13786 PyObject
* obj0
= 0 ;
13787 PyObject
* obj1
= 0 ;
13788 PyObject
* obj2
= 0 ;
13789 PyObject
* obj3
= 0 ;
13790 PyObject
* obj4
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13801 arg3
= wxString_in_helper(obj2
);
13802 if (arg3
== NULL
) SWIG_fail
;
13806 arg4
= (bool) SWIG_AsBool(obj3
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13810 arg5
= (int) SWIG_AsInt(obj4
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13837 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
;
13839 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13841 wxWindow
*arg3
= (wxWindow
*) 0 ;
13842 wxString
*arg4
= 0 ;
13843 bool arg5
= (bool) False
;
13844 int arg6
= (int) -1 ;
13846 bool temp4
= False
;
13847 PyObject
* obj0
= 0 ;
13848 PyObject
* obj1
= 0 ;
13849 PyObject
* obj2
= 0 ;
13850 PyObject
* obj3
= 0 ;
13851 PyObject
* obj4
= 0 ;
13852 PyObject
* obj5
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13860 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13862 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13865 arg4
= wxString_in_helper(obj3
);
13866 if (arg4
== NULL
) SWIG_fail
;
13870 arg5
= (bool) SWIG_AsBool(obj4
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13874 arg6
= (int) SWIG_AsInt(obj5
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13901 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
;
13903 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13906 PyObject
* obj0
= 0 ;
13907 PyObject
* obj1
= 0 ;
13908 char *kwnames
[] = {
13909 (char *) "self",(char *) "n", NULL
13912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13915 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= (int)(arg1
)->SetSelection(arg2
);
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 resultobj
= SWIG_FromInt((int)result
);
13931 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
;
13933 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13934 bool arg2
= (bool) True
;
13935 PyObject
* obj0
= 0 ;
13936 PyObject
* obj1
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "self",(char *) "forward", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13945 arg2
= (bool) SWIG_AsBool(obj1
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 (arg1
)->AdvanceSelection(arg2
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 Py_INCREF(Py_None
); resultobj
= Py_None
;
13962 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13965 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13967 return Py_BuildValue((char *)"");
13969 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
;
13971 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13972 int arg2
= (int) 0 ;
13973 int arg3
= (int) -1 ;
13974 int arg4
= (int) -1 ;
13975 wxBookCtrlEvent
*result
;
13976 PyObject
* obj0
= 0 ;
13977 PyObject
* obj1
= 0 ;
13978 PyObject
* obj2
= 0 ;
13979 PyObject
* obj3
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13986 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 arg2
= (int) SWIG_AsInt(obj1
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 arg3
= (int) SWIG_AsInt(obj2
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13998 arg4
= (int) SWIG_AsInt(obj3
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14015 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14019 PyObject
* obj0
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= SWIG_FromInt((int)result
);
14041 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
;
14043 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14045 PyObject
* obj0
= 0 ;
14046 PyObject
* obj1
= 0 ;
14047 char *kwnames
[] = {
14048 (char *) "self",(char *) "nSel", NULL
14051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14054 arg2
= (int) SWIG_AsInt(obj1
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 (arg1
)->SetSelection(arg2
);
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 Py_INCREF(Py_None
); resultobj
= Py_None
;
14070 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14074 PyObject
* obj0
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= SWIG_FromInt((int)result
);
14096 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self",(char *) "nOldSel", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14109 arg2
= (int) SWIG_AsInt(obj1
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 (arg1
)->SetOldSelection(arg2
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 Py_INCREF(Py_None
); resultobj
= Py_None
;
14125 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14128 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14130 return Py_BuildValue((char *)"");
14132 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
;
14134 wxWindow
*arg1
= (wxWindow
*) 0 ;
14135 int arg2
= (int) -1 ;
14136 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14137 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14138 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14139 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14140 long arg5
= (long) 0 ;
14141 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14142 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14143 wxNotebook
*result
;
14146 bool temp6
= False
;
14147 PyObject
* obj0
= 0 ;
14148 PyObject
* obj1
= 0 ;
14149 PyObject
* obj2
= 0 ;
14150 PyObject
* obj3
= 0 ;
14151 PyObject
* obj4
= 0 ;
14152 PyObject
* obj5
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14161 arg2
= (int) SWIG_AsInt(obj1
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14173 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14177 arg5
= (long) SWIG_AsLong(obj4
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14182 arg6
= wxString_in_helper(obj5
);
14183 if (arg6
== NULL
) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= wxPyMake_wxObject(result
);
14211 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxNotebook
*result
;
14214 char *kwnames
[] = {
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 result
= (wxNotebook
*)new wxNotebook();
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14227 resultobj
= wxPyMake_wxObject(result
);
14235 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14237 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14238 wxWindow
*arg2
= (wxWindow
*) 0 ;
14240 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14241 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14242 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14243 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14244 long arg6
= (long) 0 ;
14245 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14246 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14250 bool temp7
= False
;
14251 PyObject
* obj0
= 0 ;
14252 PyObject
* obj1
= 0 ;
14253 PyObject
* obj2
= 0 ;
14254 PyObject
* obj3
= 0 ;
14255 PyObject
* obj4
= 0 ;
14256 PyObject
* obj5
= 0 ;
14257 PyObject
* obj6
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14267 arg3
= (int) SWIG_AsInt(obj2
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14272 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14278 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14282 arg6
= (long) SWIG_AsLong(obj5
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14287 arg7
= wxString_in_helper(obj6
);
14288 if (arg7
== NULL
) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14316 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= SWIG_FromInt((int)result
);
14342 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
;
14344 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14347 PyObject
* obj0
= 0 ;
14348 PyObject
* obj1
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self",(char *) "padding", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14358 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 Py_INCREF(Py_None
); resultobj
= Py_None
;
14374 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 PyObject
* obj1
= 0 ;
14381 char *kwnames
[] = {
14382 (char *) "self",(char *) "sz", NULL
14385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14390 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14399 Py_INCREF(Py_None
); resultobj
= Py_None
;
14406 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14409 wxPoint
*arg2
= 0 ;
14410 long *arg3
= (long *) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 PyObject
* obj1
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "self",(char *) "pt", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14426 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= SWIG_FromInt((int)result
);
14437 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14438 resultobj
= t_output_helper(resultobj
,o
);
14446 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self",(char *) "sizePage", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14473 wxSize
* resultptr
;
14474 resultptr
= new wxSize((wxSize
&) result
);
14475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14483 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14486 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14488 return Py_BuildValue((char *)"");
14490 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14493 int arg2
= (int) 0 ;
14494 int arg3
= (int) -1 ;
14495 int arg4
= (int) -1 ;
14496 wxNotebookEvent
*result
;
14497 PyObject
* obj0
= 0 ;
14498 PyObject
* obj1
= 0 ;
14499 PyObject
* obj2
= 0 ;
14500 PyObject
* obj3
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14507 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14511 arg2
= (int) SWIG_AsInt(obj1
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14515 arg3
= (int) SWIG_AsInt(obj2
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14519 arg4
= (int) SWIG_AsInt(obj3
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14536 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14539 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14541 return Py_BuildValue((char *)"");
14543 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxWindow
*arg1
= (wxWindow
*) 0 ;
14546 int arg2
= (int) -1 ;
14547 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14548 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14549 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14550 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14551 long arg5
= (long) 0 ;
14552 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14553 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14554 wxListbook
*result
;
14557 bool temp6
= False
;
14558 PyObject
* obj0
= 0 ;
14559 PyObject
* obj1
= 0 ;
14560 PyObject
* obj2
= 0 ;
14561 PyObject
* obj3
= 0 ;
14562 PyObject
* obj4
= 0 ;
14563 PyObject
* obj5
= 0 ;
14564 char *kwnames
[] = {
14565 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14572 arg2
= (int) SWIG_AsInt(obj1
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14578 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14584 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14588 arg5
= (long) SWIG_AsLong(obj4
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14593 arg6
= wxString_in_helper(obj5
);
14594 if (arg6
== NULL
) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14620 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14621 PyObject
*resultobj
;
14622 wxListbook
*result
;
14623 char *kwnames
[] = {
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 result
= (wxListbook
*)new wxListbook();
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14642 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 wxListbook
*arg1
= (wxListbook
*) 0 ;
14645 wxWindow
*arg2
= (wxWindow
*) 0 ;
14647 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14648 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14649 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14650 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14651 long arg6
= (long) 0 ;
14652 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14653 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14657 bool temp7
= False
;
14658 PyObject
* obj0
= 0 ;
14659 PyObject
* obj1
= 0 ;
14660 PyObject
* obj2
= 0 ;
14661 PyObject
* obj3
= 0 ;
14662 PyObject
* obj4
= 0 ;
14663 PyObject
* obj5
= 0 ;
14664 PyObject
* obj6
= 0 ;
14665 char *kwnames
[] = {
14666 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14674 arg3
= (int) SWIG_AsInt(obj2
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14679 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14685 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14689 arg6
= (long) SWIG_AsLong(obj5
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14694 arg7
= wxString_in_helper(obj6
);
14695 if (arg7
== NULL
) SWIG_fail
;
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14723 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxListbook
*arg1
= (wxListbook
*) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14751 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14754 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14756 return Py_BuildValue((char *)"");
14758 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14761 int arg2
= (int) 0 ;
14762 int arg3
= (int) -1 ;
14763 int arg4
= (int) -1 ;
14764 wxListbookEvent
*result
;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 PyObject
* obj2
= 0 ;
14768 PyObject
* obj3
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14775 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14779 arg2
= (int) SWIG_AsInt(obj1
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14783 arg3
= (int) SWIG_AsInt(obj2
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14787 arg4
= (int) SWIG_AsInt(obj3
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14804 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14807 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14809 return Py_BuildValue((char *)"");
14811 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14814 wxBookCtrlSizer
*result
;
14815 PyObject
* obj0
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "nb", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14837 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14840 PyObject
* obj0
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 (arg1
)->RecalcSizes();
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 Py_INCREF(Py_None
); resultobj
= Py_None
;
14862 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14866 PyObject
* obj0
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= (arg1
)->CalcMin();
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14882 wxSize
* resultptr
;
14883 resultptr
= new wxSize((wxSize
&) result
);
14884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14892 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14895 wxBookCtrl
*result
;
14896 PyObject
* obj0
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14918 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14921 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14923 return Py_BuildValue((char *)"");
14925 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14928 wxNotebookSizer
*result
;
14929 PyObject
* obj0
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "nb", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14951 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14954 PyObject
* obj0
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 (arg1
)->RecalcSizes();
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 Py_INCREF(Py_None
); resultobj
= Py_None
;
14976 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14980 PyObject
* obj0
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (arg1
)->CalcMin();
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14996 wxSize
* resultptr
;
14997 resultptr
= new wxSize((wxSize
&) result
);
14998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15006 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15009 wxNotebook
*result
;
15010 PyObject
* obj0
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= wxPyMake_wxObject(result
);
15034 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15037 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15039 return Py_BuildValue((char *)"");
15041 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 char *kwnames
[] = {
15047 (char *) "self", NULL
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (int)(arg1
)->GetId();
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= SWIG_FromInt((int)result
);
15067 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15071 PyObject
* obj0
= 0 ;
15072 char *kwnames
[] = {
15073 (char *) "self", NULL
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= (wxControl
*)(arg1
)->GetControl();
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= wxPyMake_wxObject(result
);
15095 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
;
15097 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15098 wxToolBarBase
*result
;
15099 PyObject
* obj0
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= wxPyMake_wxObject(result
);
15123 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15127 PyObject
* obj0
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 result
= (int)(arg1
)->IsButton();
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15142 resultobj
= SWIG_FromInt((int)result
);
15149 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15153 PyObject
* obj0
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 result
= (int)(arg1
)->IsControl();
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 resultobj
= SWIG_FromInt((int)result
);
15175 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15179 PyObject
* obj0
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (int)(arg1
)->IsSeparator();
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= SWIG_FromInt((int)result
);
15201 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15205 PyObject
* obj0
= 0 ;
15206 char *kwnames
[] = {
15207 (char *) "self", NULL
15210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 result
= (int)(arg1
)->GetStyle();
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= SWIG_FromInt((int)result
);
15227 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
;
15229 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 char *kwnames
[] = {
15233 (char *) "self", NULL
15236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (int)(arg1
)->GetKind();
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 resultobj
= SWIG_FromInt((int)result
);
15253 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
;
15255 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (bool)(arg1
)->IsEnabled();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15281 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15285 PyObject
* obj0
= 0 ;
15286 char *kwnames
[] = {
15287 (char *) "self", NULL
15290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (bool)(arg1
)->IsToggled();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15309 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 char *kwnames
[] = {
15315 (char *) "self", NULL
15318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= (bool)(arg1
)->CanBeToggled();
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15337 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "self", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15353 result
= (wxBitmap
*) &_result_ref
;
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15360 wxBitmap
* resultptr
= new wxBitmap(*result
);
15361 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15369 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15371 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15373 PyObject
* obj0
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15385 result
= (wxBitmap
*) &_result_ref
;
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15392 wxBitmap
* resultptr
= new wxBitmap(*result
);
15393 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15401 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 result
= (arg1
)->GetBitmap();
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15421 wxBitmap
* resultptr
;
15422 resultptr
= new wxBitmap((wxBitmap
&) result
);
15423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15431 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (arg1
)->GetLabel();
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15463 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
;
15465 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15467 PyObject
* obj0
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "self", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 result
= (arg1
)->GetShortHelp();
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15495 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15499 PyObject
* obj0
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "self", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= (arg1
)->GetLongHelp();
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15527 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
;
15529 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self",(char *) "enable", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15541 arg2
= (bool) SWIG_AsBool(obj1
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (bool)(arg1
)->Enable(arg2
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15559 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15562 PyObject
* obj0
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "self", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 Py_INCREF(Py_None
); resultobj
= Py_None
;
15584 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15585 PyObject
*resultobj
;
15586 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 char *kwnames
[] = {
15592 (char *) "self",(char *) "toggle", NULL
15595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15598 arg2
= (bool) SWIG_AsBool(obj1
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (bool)(arg1
)->SetToggle(arg2
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15616 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15619 wxString
*arg2
= 0 ;
15621 bool temp2
= False
;
15622 PyObject
* obj0
= 0 ;
15623 PyObject
* obj1
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self",(char *) "help", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15632 arg2
= wxString_in_helper(obj1
);
15633 if (arg2
== NULL
) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15660 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
;
15662 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15663 wxString
*arg2
= 0 ;
15665 bool temp2
= False
;
15666 PyObject
* obj0
= 0 ;
15667 PyObject
* obj1
= 0 ;
15668 char *kwnames
[] = {
15669 (char *) "self",(char *) "help", NULL
15672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15676 arg2
= wxString_in_helper(obj1
);
15677 if (arg2
== NULL
) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15704 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15707 wxBitmap
*arg2
= 0 ;
15708 PyObject
* obj0
= 0 ;
15709 PyObject
* obj1
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self",(char *) "bmp", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15720 if (arg2
== NULL
) {
15721 PyErr_SetString(PyExc_TypeError
,"null reference");
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15731 Py_INCREF(Py_None
); resultobj
= Py_None
;
15738 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15739 PyObject
*resultobj
;
15740 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15741 wxBitmap
*arg2
= 0 ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self",(char *) "bmp", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15754 if (arg2
== NULL
) {
15755 PyErr_SetString(PyExc_TypeError
,"null reference");
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 Py_INCREF(Py_None
); resultobj
= Py_None
;
15772 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
;
15774 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15775 wxString
*arg2
= 0 ;
15776 bool temp2
= False
;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self",(char *) "label", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15787 arg2
= wxString_in_helper(obj1
);
15788 if (arg2
== NULL
) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 (arg1
)->SetLabel((wxString
const &)*arg2
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 Py_INCREF(Py_None
); resultobj
= Py_None
;
15813 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15816 PyObject
* obj0
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "self", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 Py_INCREF(Py_None
); resultobj
= Py_None
;
15838 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15841 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 PyObject
* obj1
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "self",(char *) "tbar", NULL
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 (arg1
)->Attach(arg2
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 Py_INCREF(Py_None
); resultobj
= Py_None
;
15867 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= result
;
15893 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15895 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15896 PyObject
*arg2
= (PyObject
*) 0 ;
15897 PyObject
* obj0
= 0 ;
15898 PyObject
* obj1
= 0 ;
15899 char *kwnames
[] = {
15900 (char *) "self",(char *) "clientData", NULL
15903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 Py_INCREF(Py_None
); resultobj
= Py_None
;
15921 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15924 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15926 return Py_BuildValue((char *)"");
15928 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15932 wxString
*arg3
= 0 ;
15933 wxBitmap
*arg4
= 0 ;
15934 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15935 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15936 int arg6
= (int) wxITEM_NORMAL
;
15937 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15938 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15939 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15940 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15941 PyObject
*arg9
= (PyObject
*) NULL
;
15942 wxToolBarToolBase
*result
;
15943 bool temp3
= False
;
15944 bool temp7
= False
;
15945 bool temp8
= False
;
15946 PyObject
* obj0
= 0 ;
15947 PyObject
* obj1
= 0 ;
15948 PyObject
* obj2
= 0 ;
15949 PyObject
* obj3
= 0 ;
15950 PyObject
* obj4
= 0 ;
15951 PyObject
* obj5
= 0 ;
15952 PyObject
* obj6
= 0 ;
15953 PyObject
* obj7
= 0 ;
15954 PyObject
* obj8
= 0 ;
15955 char *kwnames
[] = {
15956 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15962 arg2
= (int) SWIG_AsInt(obj1
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 arg3
= wxString_in_helper(obj2
);
15966 if (arg3
== NULL
) SWIG_fail
;
15969 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15972 if (arg4
== NULL
) {
15973 PyErr_SetString(PyExc_TypeError
,"null reference");
15977 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15980 if (arg5
== NULL
) {
15981 PyErr_SetString(PyExc_TypeError
,"null reference");
15986 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15991 arg7
= wxString_in_helper(obj6
);
15992 if (arg7
== NULL
) SWIG_fail
;
15998 arg8
= wxString_in_helper(obj7
);
15999 if (arg8
== NULL
) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= wxPyMake_wxObject(result
);
16046 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16051 wxString
*arg4
= 0 ;
16052 wxBitmap
*arg5
= 0 ;
16053 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16054 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16055 int arg7
= (int) wxITEM_NORMAL
;
16056 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16057 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16058 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16059 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16060 PyObject
*arg10
= (PyObject
*) NULL
;
16061 wxToolBarToolBase
*result
;
16062 bool temp4
= False
;
16063 bool temp8
= False
;
16064 bool temp9
= False
;
16065 PyObject
* obj0
= 0 ;
16066 PyObject
* obj1
= 0 ;
16067 PyObject
* obj2
= 0 ;
16068 PyObject
* obj3
= 0 ;
16069 PyObject
* obj4
= 0 ;
16070 PyObject
* obj5
= 0 ;
16071 PyObject
* obj6
= 0 ;
16072 PyObject
* obj7
= 0 ;
16073 PyObject
* obj8
= 0 ;
16074 PyObject
* obj9
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16084 arg3
= (int) SWIG_AsInt(obj2
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 arg4
= wxString_in_helper(obj3
);
16088 if (arg4
== NULL
) SWIG_fail
;
16091 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16094 if (arg5
== NULL
) {
16095 PyErr_SetString(PyExc_TypeError
,"null reference");
16099 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16102 if (arg6
== NULL
) {
16103 PyErr_SetString(PyExc_TypeError
,"null reference");
16108 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16113 arg8
= wxString_in_helper(obj7
);
16114 if (arg8
== NULL
) SWIG_fail
;
16120 arg9
= wxString_in_helper(obj8
);
16121 if (arg9
== NULL
) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 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
);
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16136 resultobj
= wxPyMake_wxObject(result
);
16168 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16171 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16172 wxToolBarToolBase
*result
;
16173 PyObject
* obj0
= 0 ;
16174 PyObject
* obj1
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self",(char *) "tool", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= wxPyMake_wxObject(result
);
16200 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16204 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16205 wxToolBarToolBase
*result
;
16206 PyObject
* obj0
= 0 ;
16207 PyObject
* obj1
= 0 ;
16208 PyObject
* obj2
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "self",(char *) "pos",(char *) "tool", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16216 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16218 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= wxPyMake_wxObject(result
);
16236 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
;
16238 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16239 wxControl
*arg2
= (wxControl
*) 0 ;
16240 wxToolBarToolBase
*result
;
16241 PyObject
* obj0
= 0 ;
16242 PyObject
* obj1
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self",(char *) "control", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= wxPyMake_wxObject(result
);
16268 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
;
16270 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16272 wxControl
*arg3
= (wxControl
*) 0 ;
16273 wxToolBarToolBase
*result
;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 PyObject
* obj2
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self",(char *) "pos",(char *) "control", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16284 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16286 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= wxPyMake_wxObject(result
);
16304 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 PyObject
* obj1
= 0 ;
16311 char *kwnames
[] = {
16312 (char *) "self",(char *) "id", NULL
16315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16318 arg2
= (int) SWIG_AsInt(obj1
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16328 resultobj
= wxPyMake_wxObject(result
);
16336 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16339 wxToolBarToolBase
*result
;
16340 PyObject
* obj0
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "self", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16356 resultobj
= wxPyMake_wxObject(result
);
16364 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16368 wxToolBarToolBase
*result
;
16369 PyObject
* obj0
= 0 ;
16370 PyObject
* obj1
= 0 ;
16371 char *kwnames
[] = {
16372 (char *) "self",(char *) "pos", NULL
16375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16378 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= wxPyMake_wxObject(result
);
16396 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16400 wxToolBarToolBase
*result
;
16401 PyObject
* obj0
= 0 ;
16402 PyObject
* obj1
= 0 ;
16403 char *kwnames
[] = {
16404 (char *) "self",(char *) "id", NULL
16407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16410 arg2
= (int) SWIG_AsInt(obj1
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= wxPyMake_wxObject(result
);
16428 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 PyObject
* obj1
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "self",(char *) "pos", NULL
16439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16442 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16460 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 char *kwnames
[] = {
16468 (char *) "self",(char *) "id", NULL
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16474 arg2
= (int) SWIG_AsInt(obj1
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= (bool)(arg1
)->DeleteTool(arg2
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16492 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 (arg1
)->ClearTools();
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16510 Py_INCREF(Py_None
); resultobj
= Py_None
;
16517 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16521 PyObject
* obj0
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 result
= (bool)(arg1
)->Realize();
16533 wxPyEndAllowThreads(__tstate
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16545 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 PyObject
* obj2
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self",(char *) "id",(char *) "enable", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16560 arg2
= (int) SWIG_AsInt(obj1
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16562 arg3
= (bool) SWIG_AsBool(obj2
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 (arg1
)->EnableTool(arg2
,arg3
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 Py_INCREF(Py_None
); resultobj
= Py_None
;
16578 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16583 PyObject
* obj0
= 0 ;
16584 PyObject
* obj1
= 0 ;
16585 PyObject
* obj2
= 0 ;
16586 char *kwnames
[] = {
16587 (char *) "self",(char *) "id",(char *) "toggle", NULL
16590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16593 arg2
= (int) SWIG_AsInt(obj1
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16595 arg3
= (bool) SWIG_AsBool(obj2
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->ToggleTool(arg2
,arg3
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 Py_INCREF(Py_None
); resultobj
= Py_None
;
16611 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16616 PyObject
* obj0
= 0 ;
16617 PyObject
* obj1
= 0 ;
16618 PyObject
* obj2
= 0 ;
16619 char *kwnames
[] = {
16620 (char *) "self",(char *) "id",(char *) "toggle", NULL
16623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16626 arg2
= (int) SWIG_AsInt(obj1
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16628 arg3
= (bool) SWIG_AsBool(obj2
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 (arg1
)->SetToggle(arg2
,arg3
);
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16637 Py_INCREF(Py_None
); resultobj
= Py_None
;
16644 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 PyObject
* obj1
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self",(char *) "id", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16658 arg2
= (int) SWIG_AsInt(obj1
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16664 wxPyEndAllowThreads(__tstate
);
16665 if (PyErr_Occurred()) SWIG_fail
;
16667 resultobj
= result
;
16674 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16675 PyObject
*resultobj
;
16676 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16678 PyObject
*arg3
= (PyObject
*) 0 ;
16679 PyObject
* obj0
= 0 ;
16680 PyObject
* obj1
= 0 ;
16681 PyObject
* obj2
= 0 ;
16682 char *kwnames
[] = {
16683 (char *) "self",(char *) "id",(char *) "clientData", NULL
16686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16689 arg2
= (int) SWIG_AsInt(obj1
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 Py_INCREF(Py_None
); resultobj
= Py_None
;
16706 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 PyObject
* obj1
= 0 ;
16713 char *kwnames
[] = {
16714 (char *) "self",(char *) "id", NULL
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16720 arg2
= (int) SWIG_AsInt(obj1
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= SWIG_FromInt((int)result
);
16736 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
;
16738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16741 PyObject
* obj0
= 0 ;
16742 PyObject
* obj1
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "self",(char *) "id", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16750 arg2
= (int) SWIG_AsInt(obj1
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 result
= (bool)(arg1
)->GetToolState(arg2
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16768 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16769 PyObject
*resultobj
;
16770 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 PyObject
* obj1
= 0 ;
16775 char *kwnames
[] = {
16776 (char *) "self",(char *) "id", NULL
16779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16782 arg2
= (int) SWIG_AsInt(obj1
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16800 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16802 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16804 wxString
*arg3
= 0 ;
16805 bool temp3
= False
;
16806 PyObject
* obj0
= 0 ;
16807 PyObject
* obj1
= 0 ;
16808 PyObject
* obj2
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self",(char *) "id",(char *) "helpString", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16816 arg2
= (int) SWIG_AsInt(obj1
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 arg3
= wxString_in_helper(obj2
);
16820 if (arg3
== NULL
) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 Py_INCREF(Py_None
); resultobj
= Py_None
;
16845 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16850 PyObject
* obj0
= 0 ;
16851 PyObject
* obj1
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "self",(char *) "id", NULL
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16859 arg2
= (int) SWIG_AsInt(obj1
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 result
= (arg1
)->GetToolShortHelp(arg2
);
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16881 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
;
16883 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16885 wxString
*arg3
= 0 ;
16886 bool temp3
= False
;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 PyObject
* obj2
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self",(char *) "id",(char *) "helpString", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16897 arg2
= (int) SWIG_AsInt(obj1
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 arg3
= wxString_in_helper(obj2
);
16901 if (arg3
== NULL
) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 Py_INCREF(Py_None
); resultobj
= Py_None
;
16926 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
;
16928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 PyObject
* obj1
= 0 ;
16933 char *kwnames
[] = {
16934 (char *) "self",(char *) "id", NULL
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16940 arg2
= (int) SWIG_AsInt(obj1
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (arg1
)->GetToolLongHelp(arg2
);
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16962 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16967 PyObject
* obj0
= 0 ;
16968 PyObject
* obj1
= 0 ;
16969 PyObject
* obj2
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "self",(char *) "x",(char *) "y", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16977 arg2
= (int) SWIG_AsInt(obj1
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16979 arg3
= (int) SWIG_AsInt(obj2
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 (arg1
)->SetMargins(arg2
,arg3
);
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 Py_INCREF(Py_None
); resultobj
= Py_None
;
16995 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17000 PyObject
* obj0
= 0 ;
17001 PyObject
* obj1
= 0 ;
17002 char *kwnames
[] = {
17003 (char *) "self",(char *) "size", NULL
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17011 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17020 Py_INCREF(Py_None
); resultobj
= Py_None
;
17027 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 PyObject
* obj1
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self",(char *) "packing", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17040 arg2
= (int) SWIG_AsInt(obj1
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 (arg1
)->SetToolPacking(arg2
);
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17049 Py_INCREF(Py_None
); resultobj
= Py_None
;
17056 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
;
17058 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17060 PyObject
* obj0
= 0 ;
17061 PyObject
* obj1
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self",(char *) "separation", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17069 arg2
= (int) SWIG_AsInt(obj1
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 (arg1
)->SetToolSeparation(arg2
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17078 Py_INCREF(Py_None
); resultobj
= Py_None
;
17085 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 result
= (arg1
)->GetToolMargins();
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17105 wxSize
* resultptr
;
17106 resultptr
= new wxSize((wxSize
&) result
);
17107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17115 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17116 PyObject
*resultobj
;
17117 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17119 PyObject
* obj0
= 0 ;
17120 char *kwnames
[] = {
17121 (char *) "self", NULL
17124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17129 result
= (arg1
)->GetMargins();
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17135 wxSize
* resultptr
;
17136 resultptr
= new wxSize((wxSize
&) result
);
17137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17145 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 result
= (int)(arg1
)->GetToolPacking();
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17164 resultobj
= SWIG_FromInt((int)result
);
17171 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
;
17173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17175 PyObject
* obj0
= 0 ;
17176 char *kwnames
[] = {
17177 (char *) "self", NULL
17180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (int)(arg1
)->GetToolSeparation();
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_FromInt((int)result
);
17197 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17199 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17201 PyObject
* obj0
= 0 ;
17202 PyObject
* obj1
= 0 ;
17203 char *kwnames
[] = {
17204 (char *) "self",(char *) "nRows", NULL
17207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17210 arg2
= (int) SWIG_AsInt(obj1
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 (arg1
)->SetRows(arg2
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 Py_INCREF(Py_None
); resultobj
= Py_None
;
17226 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17231 PyObject
* obj0
= 0 ;
17232 PyObject
* obj1
= 0 ;
17233 PyObject
* obj2
= 0 ;
17234 char *kwnames
[] = {
17235 (char *) "self",(char *) "rows",(char *) "cols", NULL
17238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17241 arg2
= (int) SWIG_AsInt(obj1
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17243 arg3
= (int) SWIG_AsInt(obj2
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17247 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 Py_INCREF(Py_None
); resultobj
= Py_None
;
17259 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
;
17261 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17263 PyObject
* obj0
= 0 ;
17264 char *kwnames
[] = {
17265 (char *) "self", NULL
17268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 result
= (int)(arg1
)->GetMaxRows();
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= SWIG_FromInt((int)result
);
17285 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17289 PyObject
* obj0
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "self", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 result
= (int)(arg1
)->GetMaxCols();
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= SWIG_FromInt((int)result
);
17311 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
;
17313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17316 PyObject
* obj0
= 0 ;
17317 PyObject
* obj1
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self",(char *) "size", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17327 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17336 Py_INCREF(Py_None
); resultobj
= Py_None
;
17343 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
;
17345 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17347 PyObject
* obj0
= 0 ;
17348 char *kwnames
[] = {
17349 (char *) "self", NULL
17352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= (arg1
)->GetToolBitmapSize();
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17363 wxSize
* resultptr
;
17364 resultptr
= new wxSize((wxSize
&) result
);
17365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17373 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17377 PyObject
* obj0
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (arg1
)->GetToolSize();
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17393 wxSize
* resultptr
;
17394 resultptr
= new wxSize((wxSize
&) result
);
17395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17403 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17408 wxToolBarToolBase
*result
;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj1
= 0 ;
17411 PyObject
* obj2
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "self",(char *) "x",(char *) "y", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17419 arg2
= (int) SWIG_AsInt(obj1
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17421 arg3
= (int) SWIG_AsInt(obj2
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= wxPyMake_wxObject(result
);
17439 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17441 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17443 wxToolBarToolBase
*result
;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self",(char *) "toolid", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17453 arg2
= (int) SWIG_AsInt(obj1
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= wxPyMake_wxObject(result
);
17471 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17475 PyObject
* obj0
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (bool)(arg1
)->IsVertical();
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17499 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17502 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17504 return Py_BuildValue((char *)"");
17506 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxWindow
*arg1
= (wxWindow
*) 0 ;
17510 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17511 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17512 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17513 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17514 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17515 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17516 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17520 bool temp6
= False
;
17521 PyObject
* obj0
= 0 ;
17522 PyObject
* obj1
= 0 ;
17523 PyObject
* obj2
= 0 ;
17524 PyObject
* obj3
= 0 ;
17525 PyObject
* obj4
= 0 ;
17526 PyObject
* obj5
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17534 arg2
= (int) SWIG_AsInt(obj1
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17539 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17545 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17549 arg5
= (long) SWIG_AsLong(obj4
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17554 arg6
= wxString_in_helper(obj5
);
17555 if (arg6
== NULL
) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= wxPyMake_wxObject(result
);
17583 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
;
17586 char *kwnames
[] = {
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (wxToolBar
*)new wxToolBar();
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= wxPyMake_wxObject(result
);
17607 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17610 wxWindow
*arg2
= (wxWindow
*) 0 ;
17612 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17613 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17614 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17615 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17616 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17617 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17618 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17622 bool temp7
= False
;
17623 PyObject
* obj0
= 0 ;
17624 PyObject
* obj1
= 0 ;
17625 PyObject
* obj2
= 0 ;
17626 PyObject
* obj3
= 0 ;
17627 PyObject
* obj4
= 0 ;
17628 PyObject
* obj5
= 0 ;
17629 PyObject
* obj6
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17639 arg3
= (int) SWIG_AsInt(obj2
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17644 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17650 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17654 arg6
= (long) SWIG_AsLong(obj5
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17659 arg7
= wxString_in_helper(obj6
);
17660 if (arg7
== NULL
) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17688 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17693 wxToolBarToolBase
*result
;
17694 PyObject
* obj0
= 0 ;
17695 PyObject
* obj1
= 0 ;
17696 PyObject
* obj2
= 0 ;
17697 char *kwnames
[] = {
17698 (char *) "self",(char *) "x",(char *) "y", NULL
17701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17704 arg2
= (int) SWIG_AsInt(obj1
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17706 arg3
= (int) SWIG_AsInt(obj2
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= wxPyMake_wxObject(result
);
17724 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17727 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17729 return Py_BuildValue((char *)"");
17731 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17732 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17737 static PyObject
*_wrap_ListCtrlNameStr_get() {
17742 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17744 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17751 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxColour
const &arg1_defvalue
= wxNullColour
;
17754 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17755 wxColour
const &arg2_defvalue
= wxNullColour
;
17756 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17757 wxFont
const &arg3_defvalue
= wxNullFont
;
17758 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17759 wxListItemAttr
*result
;
17762 PyObject
* obj0
= 0 ;
17763 PyObject
* obj1
= 0 ;
17764 PyObject
* obj2
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17773 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17779 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17783 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17786 if (arg3
== NULL
) {
17787 PyErr_SetString(PyExc_TypeError
,"null reference");
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17805 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
;
17807 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17808 wxColour
*arg2
= 0 ;
17810 PyObject
* obj0
= 0 ;
17811 PyObject
* obj1
= 0 ;
17812 char *kwnames
[] = {
17813 (char *) "self",(char *) "colText", NULL
17816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17821 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 Py_INCREF(Py_None
); resultobj
= Py_None
;
17837 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17840 wxColour
*arg2
= 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self",(char *) "colBack", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17853 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 Py_INCREF(Py_None
); resultobj
= Py_None
;
17869 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self",(char *) "font", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17885 if (arg2
== NULL
) {
17886 PyErr_SetString(PyExc_TypeError
,"null reference");
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 (arg1
)->SetFont((wxFont
const &)*arg2
);
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 Py_INCREF(Py_None
); resultobj
= Py_None
;
17903 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17907 PyObject
* obj0
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 result
= (bool)(arg1
)->HasTextColour();
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17931 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 result
= (bool)(arg1
)->HasBackgroundColour();
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17959 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17963 PyObject
* obj0
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 result
= (bool)(arg1
)->HasFont();
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17987 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17991 PyObject
* obj0
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 result
= (arg1
)->GetTextColour();
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18007 wxColour
* resultptr
;
18008 resultptr
= new wxColour((wxColour
&) result
);
18009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18017 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (arg1
)->GetBackgroundColour();
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18037 wxColour
* resultptr
;
18038 resultptr
= new wxColour((wxColour
&) result
);
18039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18047 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 result
= (arg1
)->GetFont();
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18067 wxFont
* resultptr
;
18068 resultptr
= new wxFont((wxFont
&) result
);
18069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18077 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 wxListItemAttr_Destroy(arg1
);
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 Py_INCREF(Py_None
); resultobj
= Py_None
;
18102 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18105 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18107 return Py_BuildValue((char *)"");
18109 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxListItem
*result
;
18112 char *kwnames
[] = {
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= (wxListItem
*)new wxListItem();
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= wxPyMake_wxObject(result
);
18133 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxListItem
*arg1
= (wxListItem
*) 0 ;
18136 PyObject
* obj0
= 0 ;
18137 char *kwnames
[] = {
18138 (char *) "self", NULL
18141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 Py_INCREF(Py_None
); resultobj
= Py_None
;
18158 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxListItem
*arg1
= (wxListItem
*) 0 ;
18161 PyObject
* obj0
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 Py_INCREF(Py_None
); resultobj
= Py_None
;
18183 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxListItem
*arg1
= (wxListItem
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 (arg1
)->ClearAttributes();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 Py_INCREF(Py_None
); resultobj
= Py_None
;
18208 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxListItem
*arg1
= (wxListItem
*) 0 ;
18212 PyObject
* obj0
= 0 ;
18213 PyObject
* obj1
= 0 ;
18214 char *kwnames
[] = {
18215 (char *) "self",(char *) "mask", NULL
18218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18221 arg2
= (long) SWIG_AsLong(obj1
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 (arg1
)->SetMask(arg2
);
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 Py_INCREF(Py_None
); resultobj
= Py_None
;
18237 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxListItem
*arg1
= (wxListItem
*) 0 ;
18241 PyObject
* obj0
= 0 ;
18242 PyObject
* obj1
= 0 ;
18243 char *kwnames
[] = {
18244 (char *) "self",(char *) "id", NULL
18247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18250 arg2
= (long) SWIG_AsLong(obj1
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 (arg1
)->SetId(arg2
);
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 Py_INCREF(Py_None
); resultobj
= Py_None
;
18266 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxListItem
*arg1
= (wxListItem
*) 0 ;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "col", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18279 arg2
= (int) SWIG_AsInt(obj1
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 (arg1
)->SetColumn(arg2
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 Py_INCREF(Py_None
); resultobj
= Py_None
;
18295 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 wxListItem
*arg1
= (wxListItem
*) 0 ;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self",(char *) "state", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18308 arg2
= (long) SWIG_AsLong(obj1
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 (arg1
)->SetState(arg2
);
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 Py_INCREF(Py_None
); resultobj
= Py_None
;
18324 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxListItem
*arg1
= (wxListItem
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 PyObject
* obj1
= 0 ;
18330 char *kwnames
[] = {
18331 (char *) "self",(char *) "stateMask", NULL
18334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 arg2
= (long) SWIG_AsLong(obj1
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 (arg1
)->SetStateMask(arg2
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 Py_INCREF(Py_None
); resultobj
= Py_None
;
18353 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxListItem
*arg1
= (wxListItem
*) 0 ;
18356 wxString
*arg2
= 0 ;
18357 bool temp2
= False
;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "text", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18368 arg2
= wxString_in_helper(obj1
);
18369 if (arg2
== NULL
) SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 (arg1
)->SetText((wxString
const &)*arg2
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 Py_INCREF(Py_None
); resultobj
= Py_None
;
18394 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
;
18396 wxListItem
*arg1
= (wxListItem
*) 0 ;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "image", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18407 arg2
= (int) SWIG_AsInt(obj1
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 (arg1
)->SetImage(arg2
);
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 Py_INCREF(Py_None
); resultobj
= Py_None
;
18423 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 wxListItem
*arg1
= (wxListItem
*) 0 ;
18427 PyObject
* obj0
= 0 ;
18428 PyObject
* obj1
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self",(char *) "data", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18436 arg2
= (long) SWIG_AsLong(obj1
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 (arg1
)->SetData(arg2
);
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 Py_INCREF(Py_None
); resultobj
= Py_None
;
18452 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxListItem
*arg1
= (wxListItem
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "width", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18465 arg2
= (int) SWIG_AsInt(obj1
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->SetWidth(arg2
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 Py_INCREF(Py_None
); resultobj
= Py_None
;
18481 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxListItem
*arg1
= (wxListItem
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self",(char *) "align", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 Py_INCREF(Py_None
); resultobj
= Py_None
;
18510 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxListItem
*arg1
= (wxListItem
*) 0 ;
18513 wxColour
*arg2
= 0 ;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self",(char *) "colText", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18526 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 Py_INCREF(Py_None
); resultobj
= Py_None
;
18542 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxListItem
*arg1
= (wxListItem
*) 0 ;
18545 wxColour
*arg2
= 0 ;
18547 PyObject
* obj0
= 0 ;
18548 PyObject
* obj1
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self",(char *) "colBack", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18558 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 Py_INCREF(Py_None
); resultobj
= Py_None
;
18574 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxListItem
*arg1
= (wxListItem
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self",(char *) "font", NULL
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18590 if (arg2
== NULL
) {
18591 PyErr_SetString(PyExc_TypeError
,"null reference");
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 (arg1
)->SetFont((wxFont
const &)*arg2
);
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 Py_INCREF(Py_None
); resultobj
= Py_None
;
18608 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxListItem
*arg1
= (wxListItem
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 char *kwnames
[] = {
18614 (char *) "self", NULL
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= (long)(arg1
)->GetMask();
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= SWIG_FromLong((long)result
);
18634 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxListItem
*arg1
= (wxListItem
*) 0 ;
18638 PyObject
* obj0
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 result
= (long)(arg1
)->GetId();
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 resultobj
= SWIG_FromLong((long)result
);
18660 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxListItem
*arg1
= (wxListItem
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 result
= (int)(arg1
)->GetColumn();
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= SWIG_FromInt((int)result
);
18686 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
;
18688 wxListItem
*arg1
= (wxListItem
*) 0 ;
18690 PyObject
* obj0
= 0 ;
18691 char *kwnames
[] = {
18692 (char *) "self", NULL
18695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 result
= (long)(arg1
)->GetState();
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18705 resultobj
= SWIG_FromLong((long)result
);
18712 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18713 PyObject
*resultobj
;
18714 wxListItem
*arg1
= (wxListItem
*) 0 ;
18716 PyObject
* obj0
= 0 ;
18717 char *kwnames
[] = {
18718 (char *) "self", NULL
18721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 wxString
const &_result_ref
= (arg1
)->GetText();
18728 result
= (wxString
*) &_result_ref
;
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18738 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18747 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
;
18749 wxListItem
*arg1
= (wxListItem
*) 0 ;
18751 PyObject
* obj0
= 0 ;
18752 char *kwnames
[] = {
18753 (char *) "self", NULL
18756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 result
= (int)(arg1
)->GetImage();
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 resultobj
= SWIG_FromInt((int)result
);
18773 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxListItem
*arg1
= (wxListItem
*) 0 ;
18777 PyObject
* obj0
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= (long)(arg1
)->GetData();
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= SWIG_FromLong((long)result
);
18799 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
;
18801 wxListItem
*arg1
= (wxListItem
*) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "self", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 result
= (int)(arg1
)->GetWidth();
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= SWIG_FromInt((int)result
);
18825 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
;
18827 wxListItem
*arg1
= (wxListItem
*) 0 ;
18829 PyObject
* obj0
= 0 ;
18830 char *kwnames
[] = {
18831 (char *) "self", NULL
18834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18839 result
= (int)(arg1
)->GetAlign();
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= SWIG_FromInt((int)result
);
18851 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
;
18853 wxListItem
*arg1
= (wxListItem
*) 0 ;
18854 wxListItemAttr
*result
;
18855 PyObject
* obj0
= 0 ;
18856 char *kwnames
[] = {
18857 (char *) "self", NULL
18860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18877 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
;
18879 wxListItem
*arg1
= (wxListItem
*) 0 ;
18881 PyObject
* obj0
= 0 ;
18882 char *kwnames
[] = {
18883 (char *) "self", NULL
18886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (bool)(arg1
)->HasAttributes();
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18905 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxListItem
*arg1
= (wxListItem
*) 0 ;
18909 PyObject
* obj0
= 0 ;
18910 char *kwnames
[] = {
18911 (char *) "self", NULL
18914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18925 wxColour
* resultptr
;
18926 resultptr
= new wxColour((wxColour
&) result
);
18927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18935 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
;
18937 wxListItem
*arg1
= (wxListItem
*) 0 ;
18939 PyObject
* obj0
= 0 ;
18940 char *kwnames
[] = {
18941 (char *) "self", NULL
18944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18949 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18955 wxColour
* resultptr
;
18956 resultptr
= new wxColour((wxColour
&) result
);
18957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18965 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
;
18967 wxListItem
*arg1
= (wxListItem
*) 0 ;
18969 PyObject
* obj0
= 0 ;
18970 char *kwnames
[] = {
18971 (char *) "self", NULL
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18979 result
= ((wxListItem
const *)arg1
)->GetFont();
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18985 wxFont
* resultptr
;
18986 resultptr
= new wxFont((wxFont
&) result
);
18987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18995 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxListItem
*arg1
= (wxListItem
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "self",(char *) "m_mask", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19008 arg2
= (long) SWIG_AsLong(obj1
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19010 if (arg1
) (arg1
)->m_mask
= arg2
;
19012 Py_INCREF(Py_None
); resultobj
= Py_None
;
19019 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxListItem
*arg1
= (wxListItem
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19031 result
= (long) ((arg1
)->m_mask
);
19033 resultobj
= SWIG_FromLong((long)result
);
19040 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxListItem
*arg1
= (wxListItem
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self",(char *) "m_itemId", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19053 arg2
= (long) SWIG_AsLong(obj1
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19055 if (arg1
) (arg1
)->m_itemId
= arg2
;
19057 Py_INCREF(Py_None
); resultobj
= Py_None
;
19064 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxListItem
*arg1
= (wxListItem
*) 0 ;
19068 PyObject
* obj0
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19076 result
= (long) ((arg1
)->m_itemId
);
19078 resultobj
= SWIG_FromLong((long)result
);
19085 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19086 PyObject
*resultobj
;
19087 wxListItem
*arg1
= (wxListItem
*) 0 ;
19089 PyObject
* obj0
= 0 ;
19090 PyObject
* obj1
= 0 ;
19091 char *kwnames
[] = {
19092 (char *) "self",(char *) "m_col", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19098 arg2
= (int) SWIG_AsInt(obj1
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19100 if (arg1
) (arg1
)->m_col
= arg2
;
19102 Py_INCREF(Py_None
); resultobj
= Py_None
;
19109 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19111 wxListItem
*arg1
= (wxListItem
*) 0 ;
19113 PyObject
* obj0
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19121 result
= (int) ((arg1
)->m_col
);
19123 resultobj
= SWIG_FromInt((int)result
);
19130 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxListItem
*arg1
= (wxListItem
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 PyObject
* obj1
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "self",(char *) "m_state", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19143 arg2
= (long) SWIG_AsLong(obj1
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19145 if (arg1
) (arg1
)->m_state
= arg2
;
19147 Py_INCREF(Py_None
); resultobj
= Py_None
;
19154 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
;
19156 wxListItem
*arg1
= (wxListItem
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "self", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19166 result
= (long) ((arg1
)->m_state
);
19168 resultobj
= SWIG_FromLong((long)result
);
19175 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxListItem
*arg1
= (wxListItem
*) 0 ;
19179 PyObject
* obj0
= 0 ;
19180 PyObject
* obj1
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "self",(char *) "m_stateMask", NULL
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19188 arg2
= (long) SWIG_AsLong(obj1
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19190 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19192 Py_INCREF(Py_None
); resultobj
= Py_None
;
19199 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
;
19201 wxListItem
*arg1
= (wxListItem
*) 0 ;
19203 PyObject
* obj0
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19211 result
= (long) ((arg1
)->m_stateMask
);
19213 resultobj
= SWIG_FromLong((long)result
);
19220 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
;
19222 wxListItem
*arg1
= (wxListItem
*) 0 ;
19223 wxString
*arg2
= (wxString
*) 0 ;
19224 bool temp2
= False
;
19225 PyObject
* obj0
= 0 ;
19226 PyObject
* obj1
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self",(char *) "m_text", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19235 arg2
= wxString_in_helper(obj1
);
19236 if (arg2
== NULL
) SWIG_fail
;
19239 if (arg1
) (arg1
)->m_text
= *arg2
;
19241 Py_INCREF(Py_None
); resultobj
= Py_None
;
19256 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxListItem
*arg1
= (wxListItem
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19268 result
= (wxString
*)& ((arg1
)->m_text
);
19272 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19274 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19283 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
;
19285 wxListItem
*arg1
= (wxListItem
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self",(char *) "m_image", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19296 arg2
= (int) SWIG_AsInt(obj1
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19298 if (arg1
) (arg1
)->m_image
= arg2
;
19300 Py_INCREF(Py_None
); resultobj
= Py_None
;
19307 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxListItem
*arg1
= (wxListItem
*) 0 ;
19311 PyObject
* obj0
= 0 ;
19312 char *kwnames
[] = {
19313 (char *) "self", NULL
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 result
= (int) ((arg1
)->m_image
);
19321 resultobj
= SWIG_FromInt((int)result
);
19328 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxListItem
*arg1
= (wxListItem
*) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "self",(char *) "m_data", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19341 arg2
= (long) SWIG_AsLong(obj1
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19343 if (arg1
) (arg1
)->m_data
= arg2
;
19345 Py_INCREF(Py_None
); resultobj
= Py_None
;
19352 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19353 PyObject
*resultobj
;
19354 wxListItem
*arg1
= (wxListItem
*) 0 ;
19356 PyObject
* obj0
= 0 ;
19357 char *kwnames
[] = {
19358 (char *) "self", NULL
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19364 result
= (long) ((arg1
)->m_data
);
19366 resultobj
= SWIG_FromLong((long)result
);
19373 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
;
19375 wxListItem
*arg1
= (wxListItem
*) 0 ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "self",(char *) "m_format", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19386 arg2
= (int) SWIG_AsInt(obj1
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19388 if (arg1
) (arg1
)->m_format
= arg2
;
19390 Py_INCREF(Py_None
); resultobj
= Py_None
;
19397 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
;
19399 wxListItem
*arg1
= (wxListItem
*) 0 ;
19401 PyObject
* obj0
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19409 result
= (int) ((arg1
)->m_format
);
19411 resultobj
= SWIG_FromInt((int)result
);
19418 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxListItem
*arg1
= (wxListItem
*) 0 ;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self",(char *) "m_width", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19431 arg2
= (int) SWIG_AsInt(obj1
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19433 if (arg1
) (arg1
)->m_width
= arg2
;
19435 Py_INCREF(Py_None
); resultobj
= Py_None
;
19442 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxListItem
*arg1
= (wxListItem
*) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 char *kwnames
[] = {
19448 (char *) "self", NULL
19451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19454 result
= (int) ((arg1
)->m_width
);
19456 resultobj
= SWIG_FromInt((int)result
);
19463 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19466 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19468 return Py_BuildValue((char *)"");
19470 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19473 int arg2
= (int) 0 ;
19474 wxListEvent
*result
;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "commandType",(char *) "id", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19483 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19487 arg2
= (int) SWIG_AsInt(obj1
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19492 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19504 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "m_code", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19517 arg2
= (int) SWIG_AsInt(obj1
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19519 if (arg1
) (arg1
)->m_code
= arg2
;
19521 Py_INCREF(Py_None
); resultobj
= Py_None
;
19528 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19532 PyObject
* obj0
= 0 ;
19533 char *kwnames
[] = {
19534 (char *) "self", NULL
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19540 result
= (int) ((arg1
)->m_code
);
19542 resultobj
= SWIG_FromInt((int)result
);
19549 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19551 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 char *kwnames
[] = {
19556 (char *) "self",(char *) "m_oldItemIndex", NULL
19559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19562 arg2
= (long) SWIG_AsLong(obj1
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19564 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19566 Py_INCREF(Py_None
); resultobj
= Py_None
;
19573 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19577 PyObject
* obj0
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19585 result
= (long) ((arg1
)->m_oldItemIndex
);
19587 resultobj
= SWIG_FromLong((long)result
);
19594 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 char *kwnames
[] = {
19601 (char *) "self",(char *) "m_itemIndex", NULL
19604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19607 arg2
= (long) SWIG_AsLong(obj1
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19609 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19611 Py_INCREF(Py_None
); resultobj
= Py_None
;
19618 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19622 PyObject
* obj0
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19630 result
= (long) ((arg1
)->m_itemIndex
);
19632 resultobj
= SWIG_FromLong((long)result
);
19639 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 PyObject
* obj1
= 0 ;
19645 char *kwnames
[] = {
19646 (char *) "self",(char *) "m_col", NULL
19649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19652 arg2
= (int) SWIG_AsInt(obj1
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19654 if (arg1
) (arg1
)->m_col
= arg2
;
19656 Py_INCREF(Py_None
); resultobj
= Py_None
;
19663 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19667 PyObject
* obj0
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 result
= (int) ((arg1
)->m_col
);
19677 resultobj
= SWIG_FromInt((int)result
);
19684 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19687 wxPoint
*arg2
= (wxPoint
*) 0 ;
19688 PyObject
* obj0
= 0 ;
19689 PyObject
* obj1
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self",(char *) "m_pointDrag", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19699 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19701 Py_INCREF(Py_None
); resultobj
= Py_None
;
19708 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19709 PyObject
*resultobj
;
19710 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19712 PyObject
* obj0
= 0 ;
19713 char *kwnames
[] = {
19714 (char *) "self", NULL
19717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19720 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19729 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19732 wxListItem
*result
;
19733 PyObject
* obj0
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19741 result
= (wxListItem
*)& ((arg1
)->m_item
);
19744 resultobj
= wxPyMake_wxObject(result
);
19752 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
;
19754 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19756 PyObject
* obj0
= 0 ;
19757 char *kwnames
[] = {
19758 (char *) "self", NULL
19761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19766 result
= (int)(arg1
)->GetKeyCode();
19768 wxPyEndAllowThreads(__tstate
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= SWIG_FromInt((int)result
);
19778 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
;
19780 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19782 PyObject
* obj0
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "self", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 result
= (long)(arg1
)->GetIndex();
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_FromLong((long)result
);
19804 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
;
19806 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19808 PyObject
* obj0
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= (int)(arg1
)->GetColumn();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= SWIG_FromInt((int)result
);
19830 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19844 result
= (arg1
)->GetPoint();
19846 wxPyEndAllowThreads(__tstate
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19850 wxPoint
* resultptr
;
19851 resultptr
= new wxPoint((wxPoint
&) result
);
19852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19860 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 char *kwnames
[] = {
19866 (char *) "self", NULL
19869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 wxString
const &_result_ref
= (arg1
)->GetLabel();
19876 result
= (wxString
*) &_result_ref
;
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19884 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19886 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19895 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
;
19897 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19899 PyObject
* obj0
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19910 wxString
const &_result_ref
= (arg1
)->GetText();
19911 result
= (wxString
*) &_result_ref
;
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19921 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19930 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 result
= (int)(arg1
)->GetImage();
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 resultobj
= SWIG_FromInt((int)result
);
19956 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
;
19958 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19960 PyObject
* obj0
= 0 ;
19961 char *kwnames
[] = {
19962 (char *) "self", NULL
19965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (long)(arg1
)->GetData();
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= SWIG_FromLong((long)result
);
19982 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
;
19984 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19986 PyObject
* obj0
= 0 ;
19987 char *kwnames
[] = {
19988 (char *) "self", NULL
19991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19996 result
= (long)(arg1
)->GetMask();
19998 wxPyEndAllowThreads(__tstate
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20001 resultobj
= SWIG_FromLong((long)result
);
20008 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20009 PyObject
*resultobj
;
20010 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20011 wxListItem
*result
;
20012 PyObject
* obj0
= 0 ;
20013 char *kwnames
[] = {
20014 (char *) "self", NULL
20017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20024 result
= (wxListItem
*) &_result_ref
;
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20037 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20041 PyObject
* obj0
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 result
= (long)(arg1
)->GetCacheFrom();
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= SWIG_FromLong((long)result
);
20063 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 result
= (long)(arg1
)->GetCacheTo();
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20082 resultobj
= SWIG_FromLong((long)result
);
20089 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20093 PyObject
* obj0
= 0 ;
20094 char *kwnames
[] = {
20095 (char *) "self", NULL
20098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20103 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20117 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
;
20119 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "self",(char *) "editCancelled", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20130 arg2
= (bool) SWIG_AsBool(obj1
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 (arg1
)->SetEditCanceled(arg2
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 Py_INCREF(Py_None
); resultobj
= Py_None
;
20146 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20149 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20151 return Py_BuildValue((char *)"");
20153 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxWindow
*arg1
= (wxWindow
*) 0 ;
20156 int arg2
= (int) -1 ;
20157 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20158 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20159 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20160 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20161 long arg5
= (long) wxLC_ICON
;
20162 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20163 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20164 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20165 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20166 wxPyListCtrl
*result
;
20169 bool temp7
= False
;
20170 PyObject
* obj0
= 0 ;
20171 PyObject
* obj1
= 0 ;
20172 PyObject
* obj2
= 0 ;
20173 PyObject
* obj3
= 0 ;
20174 PyObject
* obj4
= 0 ;
20175 PyObject
* obj5
= 0 ;
20176 PyObject
* obj6
= 0 ;
20177 char *kwnames
[] = {
20178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20185 arg2
= (int) SWIG_AsInt(obj1
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20191 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20197 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20201 arg5
= (long) SWIG_AsLong(obj4
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20205 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20208 if (arg6
== NULL
) {
20209 PyErr_SetString(PyExc_TypeError
,"null reference");
20215 arg7
= wxString_in_helper(obj6
);
20216 if (arg7
== NULL
) SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20242 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
;
20244 wxPyListCtrl
*result
;
20245 char *kwnames
[] = {
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20264 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20267 wxWindow
*arg2
= (wxWindow
*) 0 ;
20268 int arg3
= (int) -1 ;
20269 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20270 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20271 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20272 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20273 long arg6
= (long) wxLC_ICON
;
20274 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20275 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20276 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20277 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20281 bool temp8
= False
;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 PyObject
* obj2
= 0 ;
20285 PyObject
* obj3
= 0 ;
20286 PyObject
* obj4
= 0 ;
20287 PyObject
* obj5
= 0 ;
20288 PyObject
* obj6
= 0 ;
20289 PyObject
* obj7
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20300 arg3
= (int) SWIG_AsInt(obj2
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20306 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20312 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20316 arg6
= (long) SWIG_AsLong(obj5
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20320 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20323 if (arg7
== NULL
) {
20324 PyErr_SetString(PyExc_TypeError
,"null reference");
20330 arg8
= wxString_in_helper(obj7
);
20331 if (arg8
== NULL
) SWIG_fail
;
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20359 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20362 PyObject
*arg2
= (PyObject
*) 0 ;
20363 PyObject
*arg3
= (PyObject
*) 0 ;
20364 PyObject
* obj0
= 0 ;
20365 PyObject
* obj1
= 0 ;
20366 PyObject
* obj2
= 0 ;
20367 char *kwnames
[] = {
20368 (char *) "self",(char *) "self",(char *) "_class", NULL
20371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 Py_INCREF(Py_None
); resultobj
= Py_None
;
20390 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20393 wxColour
*arg2
= 0 ;
20396 PyObject
* obj0
= 0 ;
20397 PyObject
* obj1
= 0 ;
20398 char *kwnames
[] = {
20399 (char *) "self",(char *) "col", NULL
20402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20407 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20425 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20428 wxColour
*arg2
= 0 ;
20431 PyObject
* obj0
= 0 ;
20432 PyObject
* obj1
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self",(char *) "col", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20442 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20460 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20464 wxListItem
*result
;
20465 PyObject
* obj0
= 0 ;
20466 PyObject
* obj1
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self",(char *) "col", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20474 arg2
= (int) SWIG_AsInt(obj1
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= wxPyMake_wxObject(result
);
20492 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20496 wxListItem
*arg3
= 0 ;
20498 PyObject
* obj0
= 0 ;
20499 PyObject
* obj1
= 0 ;
20500 PyObject
* obj2
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "self",(char *) "col",(char *) "item", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20508 arg2
= (int) SWIG_AsInt(obj1
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20510 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20513 if (arg3
== NULL
) {
20514 PyErr_SetString(PyExc_TypeError
,"null reference");
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20533 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 char *kwnames
[] = {
20541 (char *) "self",(char *) "col", NULL
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20547 arg2
= (int) SWIG_AsInt(obj1
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20556 resultobj
= SWIG_FromInt((int)result
);
20563 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
;
20565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20571 PyObject
* obj2
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self",(char *) "col",(char *) "width", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20579 arg2
= (int) SWIG_AsInt(obj1
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20581 arg3
= (int) SWIG_AsInt(obj2
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20599 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20600 PyObject
*resultobj
;
20601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20603 PyObject
* obj0
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "self", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 resultobj
= SWIG_FromInt((int)result
);
20625 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20627 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20629 PyObject
* obj0
= 0 ;
20630 char *kwnames
[] = {
20631 (char *) "self", NULL
20634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20645 wxRect
* resultptr
;
20646 resultptr
= new wxRect((wxRect
&) result
);
20647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20655 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20659 int arg3
= (int) 0 ;
20660 wxListItem
*result
;
20661 PyObject
* obj0
= 0 ;
20662 PyObject
* obj1
= 0 ;
20663 PyObject
* obj2
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self",(char *) "itemId",(char *) "col", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20671 arg2
= (long) SWIG_AsLong(obj1
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 arg3
= (int) SWIG_AsInt(obj2
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20685 resultobj
= wxPyMake_wxObject(result
);
20693 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20696 wxListItem
*arg2
= 0 ;
20698 PyObject
* obj0
= 0 ;
20699 PyObject
* obj1
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "self",(char *) "info", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20710 if (arg2
== NULL
) {
20711 PyErr_SetString(PyExc_TypeError
,"null reference");
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= (bool)(arg1
)->SetItem(*arg2
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20730 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20735 wxString
*arg4
= 0 ;
20736 int arg5
= (int) -1 ;
20738 bool temp4
= False
;
20739 PyObject
* obj0
= 0 ;
20740 PyObject
* obj1
= 0 ;
20741 PyObject
* obj2
= 0 ;
20742 PyObject
* obj3
= 0 ;
20743 PyObject
* obj4
= 0 ;
20744 char *kwnames
[] = {
20745 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20751 arg2
= (long) SWIG_AsLong(obj1
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20753 arg3
= (int) SWIG_AsInt(obj2
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 arg4
= wxString_in_helper(obj3
);
20757 if (arg4
== NULL
) SWIG_fail
;
20761 arg5
= (int) SWIG_AsInt(obj4
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= SWIG_FromLong((long)result
);
20786 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20792 PyObject
* obj0
= 0 ;
20793 PyObject
* obj1
= 0 ;
20794 PyObject
* obj2
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20802 arg2
= (long) SWIG_AsLong(obj1
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20804 arg3
= (long) SWIG_AsLong(obj2
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= SWIG_FromInt((int)result
);
20820 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20822 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20827 PyObject
* obj0
= 0 ;
20828 PyObject
* obj1
= 0 ;
20829 PyObject
* obj2
= 0 ;
20830 PyObject
* obj3
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20838 arg2
= (long) SWIG_AsLong(obj1
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20840 arg3
= (long) SWIG_AsLong(obj2
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20842 arg4
= (long) SWIG_AsLong(obj3
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20860 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20862 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20867 PyObject
* obj0
= 0 ;
20868 PyObject
* obj1
= 0 ;
20869 PyObject
* obj2
= 0 ;
20870 PyObject
* obj3
= 0 ;
20871 char *kwnames
[] = {
20872 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20878 arg2
= (long) SWIG_AsLong(obj1
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20880 arg3
= (int) SWIG_AsInt(obj2
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20882 arg4
= (int) SWIG_AsInt(obj3
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20900 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj1
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self",(char *) "item", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20914 arg2
= (long) SWIG_AsLong(obj1
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20936 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20940 wxString
*arg3
= 0 ;
20941 bool temp3
= False
;
20942 PyObject
* obj0
= 0 ;
20943 PyObject
* obj1
= 0 ;
20944 PyObject
* obj2
= 0 ;
20945 char *kwnames
[] = {
20946 (char *) "self",(char *) "item",(char *) "str", NULL
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20952 arg2
= (long) SWIG_AsLong(obj1
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 arg3
= wxString_in_helper(obj2
);
20956 if (arg3
== NULL
) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 Py_INCREF(Py_None
); resultobj
= Py_None
;
20981 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 PyObject
* obj1
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self",(char *) "item", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 arg2
= (long) SWIG_AsLong(obj1
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_FromLong((long)result
);
21011 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21017 PyObject
* obj0
= 0 ;
21018 PyObject
* obj1
= 0 ;
21019 PyObject
* obj2
= 0 ;
21020 char *kwnames
[] = {
21021 (char *) "self",(char *) "item",(char *) "data", NULL
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21027 arg2
= (long) SWIG_AsLong(obj1
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21029 arg3
= (long) SWIG_AsLong(obj2
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21047 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
;
21049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21052 PyObject
* obj0
= 0 ;
21053 PyObject
* obj1
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self",(char *) "item", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21061 arg2
= (long) SWIG_AsLong(obj1
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21065 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21071 wxPoint
* resultptr
;
21072 resultptr
= new wxPoint((wxPoint
&) result
);
21073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21081 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21085 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21087 PyObject
* obj0
= 0 ;
21088 PyObject
* obj1
= 0 ;
21089 PyObject
* obj2
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "self",(char *) "item",(char *) "code", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21097 arg2
= (long) SWIG_AsLong(obj1
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 arg3
= (int) SWIG_AsInt(obj2
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21105 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21107 wxPyEndAllowThreads(__tstate
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21111 wxRect
* resultptr
;
21112 resultptr
= new wxRect((wxRect
&) result
);
21113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21121 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
;
21123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21125 wxPoint
*arg3
= 0 ;
21128 PyObject
* obj0
= 0 ;
21129 PyObject
* obj1
= 0 ;
21130 PyObject
* obj2
= 0 ;
21131 char *kwnames
[] = {
21132 (char *) "self",(char *) "item",(char *) "pos", NULL
21135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21138 arg2
= (long) SWIG_AsLong(obj1
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21142 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21160 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21162 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21164 PyObject
* obj0
= 0 ;
21165 char *kwnames
[] = {
21166 (char *) "self", NULL
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= SWIG_FromInt((int)result
);
21186 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
;
21188 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21190 PyObject
* obj0
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= SWIG_FromInt((int)result
);
21212 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
;
21214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21216 PyObject
* obj0
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "self", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21232 wxSize
* resultptr
;
21233 resultptr
= new wxSize((wxSize
&) result
);
21234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21242 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
;
21244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21246 bool arg3
= (bool) False
;
21247 PyObject
* obj0
= 0 ;
21248 PyObject
* obj1
= 0 ;
21249 PyObject
* obj2
= 0 ;
21250 char *kwnames
[] = {
21251 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21257 arg2
= (int) SWIG_AsInt(obj1
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 arg3
= (bool) SWIG_AsBool(obj2
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 (arg1
)->SetItemSpacing(arg2
,arg3
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 Py_INCREF(Py_None
); resultobj
= Py_None
;
21277 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21281 PyObject
* obj0
= 0 ;
21282 char *kwnames
[] = {
21283 (char *) "self", NULL
21286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 resultobj
= SWIG_FromInt((int)result
);
21303 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
;
21305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21307 PyObject
* obj0
= 0 ;
21308 char *kwnames
[] = {
21309 (char *) "self", NULL
21312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21317 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21319 wxPyEndAllowThreads(__tstate
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21323 wxColour
* resultptr
;
21324 resultptr
= new wxColour((wxColour
&) result
);
21325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21333 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
;
21335 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21336 wxColour
*arg2
= 0 ;
21338 PyObject
* obj0
= 0 ;
21339 PyObject
* obj1
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "self",(char *) "col", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 Py_INCREF(Py_None
); resultobj
= Py_None
;
21365 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21369 PyObject
* obj0
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= SWIG_FromLong((long)result
);
21391 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21395 bool arg3
= (bool) True
;
21396 PyObject
* obj0
= 0 ;
21397 PyObject
* obj1
= 0 ;
21398 PyObject
* obj2
= 0 ;
21399 char *kwnames
[] = {
21400 (char *) "self",(char *) "style",(char *) "add", NULL
21403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21406 arg2
= (long) SWIG_AsLong(obj1
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 arg3
= (bool) SWIG_AsBool(obj2
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 (arg1
)->SetSingleStyle(arg2
,arg3
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 Py_INCREF(Py_None
); resultobj
= Py_None
;
21426 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 PyObject
* obj1
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self",(char *) "style", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21439 arg2
= (long) SWIG_AsLong(obj1
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 (arg1
)->SetWindowStyleFlag(arg2
);
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 Py_INCREF(Py_None
); resultobj
= Py_None
;
21455 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21459 int arg3
= (int) wxLIST_NEXT_ALL
;
21460 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 PyObject
* obj2
= 0 ;
21465 PyObject
* obj3
= 0 ;
21466 char *kwnames
[] = {
21467 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21473 arg2
= (long) SWIG_AsLong(obj1
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21476 arg3
= (int) SWIG_AsInt(obj2
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21480 arg4
= (int) SWIG_AsInt(obj3
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 resultobj
= SWIG_FromLong((long)result
);
21497 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21501 wxImageList
*result
;
21502 PyObject
* obj0
= 0 ;
21503 PyObject
* obj1
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self",(char *) "which", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21511 arg2
= (int) SWIG_AsInt(obj1
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= wxPyMake_wxObject(result
);
21529 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21532 wxImageList
*arg2
= (wxImageList
*) 0 ;
21534 PyObject
* obj0
= 0 ;
21535 PyObject
* obj1
= 0 ;
21536 PyObject
* obj2
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self",(char *) "imageList",(char *) "which", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21546 arg3
= (int) SWIG_AsInt(obj2
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 (arg1
)->SetImageList(arg2
,arg3
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 Py_INCREF(Py_None
); resultobj
= Py_None
;
21562 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21565 wxImageList
*arg2
= (wxImageList
*) 0 ;
21567 PyObject
* obj0
= 0 ;
21568 PyObject
* obj1
= 0 ;
21569 PyObject
* obj2
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self",(char *) "imageList",(char *) "which", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21578 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21579 arg3
= (int) SWIG_AsInt(obj2
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 (arg1
)->AssignImageList(arg2
,arg3
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 Py_INCREF(Py_None
); resultobj
= Py_None
;
21595 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
;
21597 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21599 PyObject
* obj0
= 0 ;
21600 char *kwnames
[] = {
21601 (char *) "self", NULL
21604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21623 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "self", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21651 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21652 PyObject
*resultobj
;
21653 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21655 PyObject
* obj0
= 0 ;
21656 PyObject
* obj1
= 0 ;
21657 char *kwnames
[] = {
21658 (char *) "self",(char *) "item", NULL
21661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21664 arg2
= (long) SWIG_AsLong(obj1
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 (arg1
)->RefreshItem(arg2
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 Py_INCREF(Py_None
); resultobj
= Py_None
;
21680 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 PyObject
* obj2
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21695 arg2
= (long) SWIG_AsLong(obj1
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21697 arg3
= (long) SWIG_AsLong(obj2
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 (arg1
)->RefreshItems(arg2
,arg3
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 Py_INCREF(Py_None
); resultobj
= Py_None
;
21713 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21716 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self",(char *) "flag", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21728 arg2
= (int) SWIG_AsInt(obj1
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= (bool)(arg1
)->Arrange(arg2
);
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21747 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 char *kwnames
[] = {
21755 (char *) "self",(char *) "item", NULL
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21761 arg2
= (long) SWIG_AsLong(obj1
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 result
= (bool)(arg1
)->DeleteItem(arg2
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21779 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21783 PyObject
* obj0
= 0 ;
21784 char *kwnames
[] = {
21785 (char *) "self", NULL
21788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 result
= (bool)(arg1
)->DeleteAllItems();
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21807 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
;
21809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21812 PyObject
* obj0
= 0 ;
21813 PyObject
* obj1
= 0 ;
21814 char *kwnames
[] = {
21815 (char *) "self",(char *) "col", NULL
21818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21821 arg2
= (int) SWIG_AsInt(obj1
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21839 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21843 PyObject
* obj0
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 result
= (bool)(arg1
)->DeleteAllColumns();
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21867 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21870 PyObject
* obj0
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 (arg1
)->ClearAll();
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 Py_INCREF(Py_None
); resultobj
= Py_None
;
21892 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21893 PyObject
*resultobj
;
21894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21896 PyObject
* obj0
= 0 ;
21897 PyObject
* obj1
= 0 ;
21898 char *kwnames
[] = {
21899 (char *) "self",(char *) "item", NULL
21902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21905 arg2
= (long) SWIG_AsLong(obj1
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 (arg1
)->EditLabel(arg2
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 Py_INCREF(Py_None
); resultobj
= Py_None
;
21921 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
;
21923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21926 PyObject
* obj0
= 0 ;
21927 PyObject
* obj1
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "item", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21935 arg2
= (long) SWIG_AsLong(obj1
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21953 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
;
21955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21957 wxString
*arg3
= 0 ;
21958 bool arg4
= (bool) False
;
21960 bool temp3
= False
;
21961 PyObject
* obj0
= 0 ;
21962 PyObject
* obj1
= 0 ;
21963 PyObject
* obj2
= 0 ;
21964 PyObject
* obj3
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21972 arg2
= (long) SWIG_AsLong(obj1
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 arg3
= wxString_in_helper(obj2
);
21976 if (arg3
== NULL
) SWIG_fail
;
21980 arg4
= (bool) SWIG_AsBool(obj3
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21990 resultobj
= SWIG_FromLong((long)result
);
22005 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
;
22007 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22011 PyObject
* obj0
= 0 ;
22012 PyObject
* obj1
= 0 ;
22013 PyObject
* obj2
= 0 ;
22014 char *kwnames
[] = {
22015 (char *) "self",(char *) "start",(char *) "data", NULL
22018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22021 arg2
= (long) SWIG_AsLong(obj1
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22023 arg3
= (long) SWIG_AsLong(obj2
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_FromLong((long)result
);
22039 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
;
22041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22043 wxPoint
*arg3
= 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 PyObject
* obj2
= 0 ;
22050 PyObject
* obj3
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 arg2
= (long) SWIG_AsLong(obj1
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22062 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22064 arg4
= (int) SWIG_AsInt(obj3
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= SWIG_FromLong((long)result
);
22080 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
;
22082 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22083 wxPoint
*arg2
= 0 ;
22088 PyObject
* obj0
= 0 ;
22089 PyObject
* obj1
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "self",(char *) "point", NULL
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22100 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22109 resultobj
= SWIG_FromLong((long)result
);
22111 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22112 resultobj
= t_output_helper(resultobj
,o
);
22120 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22121 PyObject
*resultobj
;
22122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22123 wxListItem
*arg2
= 0 ;
22125 PyObject
* obj0
= 0 ;
22126 PyObject
* obj1
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self",(char *) "info", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22137 if (arg2
== NULL
) {
22138 PyErr_SetString(PyExc_TypeError
,"null reference");
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 result
= (long)(arg1
)->InsertItem(*arg2
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= SWIG_FromLong((long)result
);
22155 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
;
22157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22159 wxString
*arg3
= 0 ;
22161 bool temp3
= False
;
22162 PyObject
* obj0
= 0 ;
22163 PyObject
* obj1
= 0 ;
22164 PyObject
* obj2
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self",(char *) "index",(char *) "label", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22172 arg2
= (long) SWIG_AsLong(obj1
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 arg3
= wxString_in_helper(obj2
);
22176 if (arg3
== NULL
) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 resultobj
= SWIG_FromLong((long)result
);
22201 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22207 PyObject
* obj0
= 0 ;
22208 PyObject
* obj1
= 0 ;
22209 PyObject
* obj2
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22217 arg2
= (long) SWIG_AsLong(obj1
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22219 arg3
= (int) SWIG_AsInt(obj2
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22228 resultobj
= SWIG_FromLong((long)result
);
22235 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22239 wxString
*arg3
= 0 ;
22242 bool temp3
= False
;
22243 PyObject
* obj0
= 0 ;
22244 PyObject
* obj1
= 0 ;
22245 PyObject
* obj2
= 0 ;
22246 PyObject
* obj3
= 0 ;
22247 char *kwnames
[] = {
22248 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22254 arg2
= (long) SWIG_AsLong(obj1
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 arg3
= wxString_in_helper(obj2
);
22258 if (arg3
== NULL
) SWIG_fail
;
22261 arg4
= (int) SWIG_AsInt(obj3
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 resultobj
= SWIG_FromLong((long)result
);
22285 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
;
22287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22289 wxListItem
*arg3
= 0 ;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 PyObject
* obj2
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self",(char *) "col",(char *) "info", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22301 arg2
= (long) SWIG_AsLong(obj1
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22303 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22306 if (arg3
== NULL
) {
22307 PyErr_SetString(PyExc_TypeError
,"null reference");
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= SWIG_FromLong((long)result
);
22324 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22328 wxString
*arg3
= 0 ;
22329 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22330 int arg5
= (int) -1 ;
22332 bool temp3
= False
;
22333 PyObject
* obj0
= 0 ;
22334 PyObject
* obj1
= 0 ;
22335 PyObject
* obj2
= 0 ;
22336 PyObject
* obj3
= 0 ;
22337 PyObject
* obj4
= 0 ;
22338 char *kwnames
[] = {
22339 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22345 arg2
= (long) SWIG_AsLong(obj1
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 arg3
= wxString_in_helper(obj2
);
22349 if (arg3
== NULL
) SWIG_fail
;
22353 arg4
= (int) SWIG_AsInt(obj3
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22357 arg5
= (int) SWIG_AsInt(obj4
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= SWIG_FromLong((long)result
);
22382 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
;
22384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22386 PyObject
* obj0
= 0 ;
22387 PyObject
* obj1
= 0 ;
22388 char *kwnames
[] = {
22389 (char *) "self",(char *) "count", NULL
22392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22395 arg2
= (long) SWIG_AsLong(obj1
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 (arg1
)->SetItemCount(arg2
);
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 Py_INCREF(Py_None
); resultobj
= Py_None
;
22411 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22412 PyObject
*resultobj
;
22413 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22417 PyObject
* obj0
= 0 ;
22418 PyObject
* obj1
= 0 ;
22419 PyObject
* obj2
= 0 ;
22420 char *kwnames
[] = {
22421 (char *) "self",(char *) "dx",(char *) "dy", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22427 arg2
= (int) SWIG_AsInt(obj1
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22429 arg3
= (int) SWIG_AsInt(obj2
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22433 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22447 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22451 wxColour
*arg3
= 0 ;
22453 PyObject
* obj0
= 0 ;
22454 PyObject
* obj1
= 0 ;
22455 PyObject
* obj2
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self",(char *) "item",(char *) "col", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22463 arg2
= (long) SWIG_AsLong(obj1
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22467 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 Py_INCREF(Py_None
); resultobj
= Py_None
;
22483 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
;
22485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 PyObject
* obj1
= 0 ;
22490 char *kwnames
[] = {
22491 (char *) "self",(char *) "item", NULL
22494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22497 arg2
= (long) SWIG_AsLong(obj1
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22507 wxColour
* resultptr
;
22508 resultptr
= new wxColour((wxColour
&) result
);
22509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22517 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
;
22519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22521 wxColour
*arg3
= 0 ;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 PyObject
* obj2
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self",(char *) "item",(char *) "col", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22533 arg2
= (long) SWIG_AsLong(obj1
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22537 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 Py_INCREF(Py_None
); resultobj
= Py_None
;
22553 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22558 PyObject
* obj0
= 0 ;
22559 PyObject
* obj1
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self",(char *) "item", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22567 arg2
= (long) SWIG_AsLong(obj1
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22577 wxColour
* resultptr
;
22578 resultptr
= new wxColour((wxColour
&) result
);
22579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22587 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
;
22589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22590 PyObject
*arg2
= (PyObject
*) 0 ;
22592 PyObject
* obj0
= 0 ;
22593 PyObject
* obj1
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "func", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22618 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22619 PyObject
*resultobj
;
22620 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22622 PyObject
* obj0
= 0 ;
22623 char *kwnames
[] = {
22624 (char *) "self", NULL
22627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22638 resultobj
= wxPyMake_wxObject(result
);
22646 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22647 PyObject
*resultobj
;
22648 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
22649 wxVisualAttributes result
;
22650 PyObject
* obj0
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "variant", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22657 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22668 wxVisualAttributes
* resultptr
;
22669 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
22670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22678 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22681 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22683 return Py_BuildValue((char *)"");
22685 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
;
22687 wxWindow
*arg1
= (wxWindow
*) 0 ;
22688 int arg2
= (int) -1 ;
22689 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22690 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22691 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22692 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22693 long arg5
= (long) wxLC_REPORT
;
22694 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22695 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22696 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22697 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22698 wxListView
*result
;
22701 bool temp7
= False
;
22702 PyObject
* obj0
= 0 ;
22703 PyObject
* obj1
= 0 ;
22704 PyObject
* obj2
= 0 ;
22705 PyObject
* obj3
= 0 ;
22706 PyObject
* obj4
= 0 ;
22707 PyObject
* obj5
= 0 ;
22708 PyObject
* obj6
= 0 ;
22709 char *kwnames
[] = {
22710 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22717 arg2
= (int) SWIG_AsInt(obj1
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22723 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22729 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22733 arg5
= (long) SWIG_AsLong(obj4
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22737 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22740 if (arg6
== NULL
) {
22741 PyErr_SetString(PyExc_TypeError
,"null reference");
22747 arg7
= wxString_in_helper(obj6
);
22748 if (arg7
== NULL
) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22774 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
;
22776 wxListView
*result
;
22777 char *kwnames
[] = {
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (wxListView
*)new wxListView();
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22796 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
;
22798 wxListView
*arg1
= (wxListView
*) 0 ;
22799 wxWindow
*arg2
= (wxWindow
*) 0 ;
22800 int arg3
= (int) -1 ;
22801 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22802 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22803 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22804 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22805 long arg6
= (long) wxLC_REPORT
;
22806 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22807 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22808 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22809 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22813 bool temp8
= False
;
22814 PyObject
* obj0
= 0 ;
22815 PyObject
* obj1
= 0 ;
22816 PyObject
* obj2
= 0 ;
22817 PyObject
* obj3
= 0 ;
22818 PyObject
* obj4
= 0 ;
22819 PyObject
* obj5
= 0 ;
22820 PyObject
* obj6
= 0 ;
22821 PyObject
* obj7
= 0 ;
22822 char *kwnames
[] = {
22823 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22832 arg3
= (int) SWIG_AsInt(obj2
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22844 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22848 arg6
= (long) SWIG_AsLong(obj5
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22852 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22855 if (arg7
== NULL
) {
22856 PyErr_SetString(PyExc_TypeError
,"null reference");
22862 arg8
= wxString_in_helper(obj7
);
22863 if (arg8
== NULL
) SWIG_fail
;
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22891 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22893 wxListView
*arg1
= (wxListView
*) 0 ;
22895 bool arg3
= (bool) True
;
22896 PyObject
* obj0
= 0 ;
22897 PyObject
* obj1
= 0 ;
22898 PyObject
* obj2
= 0 ;
22899 char *kwnames
[] = {
22900 (char *) "self",(char *) "n",(char *) "on", NULL
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22906 arg2
= (long) SWIG_AsLong(obj1
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 arg3
= (bool) SWIG_AsBool(obj2
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 (arg1
)->Select(arg2
,arg3
);
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 Py_INCREF(Py_None
); resultobj
= Py_None
;
22926 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
;
22928 wxListView
*arg1
= (wxListView
*) 0 ;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "self",(char *) "index", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22939 arg2
= (long) SWIG_AsLong(obj1
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 (arg1
)->Focus(arg2
);
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22948 Py_INCREF(Py_None
); resultobj
= Py_None
;
22955 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
;
22957 wxListView
*arg1
= (wxListView
*) 0 ;
22959 PyObject
* obj0
= 0 ;
22960 char *kwnames
[] = {
22961 (char *) "self", NULL
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 resultobj
= SWIG_FromLong((long)result
);
22981 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
;
22983 wxListView
*arg1
= (wxListView
*) 0 ;
22986 PyObject
* obj0
= 0 ;
22987 PyObject
* obj1
= 0 ;
22988 char *kwnames
[] = {
22989 (char *) "self",(char *) "item", NULL
22992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22995 arg2
= (long) SWIG_AsLong(obj1
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= SWIG_FromLong((long)result
);
23011 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
;
23013 wxListView
*arg1
= (wxListView
*) 0 ;
23015 PyObject
* obj0
= 0 ;
23016 char *kwnames
[] = {
23017 (char *) "self", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= SWIG_FromLong((long)result
);
23037 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
;
23039 wxListView
*arg1
= (wxListView
*) 0 ;
23042 PyObject
* obj0
= 0 ;
23043 PyObject
* obj1
= 0 ;
23044 char *kwnames
[] = {
23045 (char *) "self",(char *) "index", NULL
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23051 arg2
= (long) SWIG_AsLong(obj1
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (bool)(arg1
)->IsSelected(arg2
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23069 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxListView
*arg1
= (wxListView
*) 0 ;
23074 PyObject
* obj0
= 0 ;
23075 PyObject
* obj1
= 0 ;
23076 PyObject
* obj2
= 0 ;
23077 char *kwnames
[] = {
23078 (char *) "self",(char *) "col",(char *) "image", NULL
23081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23084 arg2
= (int) SWIG_AsInt(obj1
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23086 arg3
= (int) SWIG_AsInt(obj2
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 (arg1
)->SetColumnImage(arg2
,arg3
);
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 Py_INCREF(Py_None
); resultobj
= Py_None
;
23102 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
;
23104 wxListView
*arg1
= (wxListView
*) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 PyObject
* obj1
= 0 ;
23108 char *kwnames
[] = {
23109 (char *) "self",(char *) "col", NULL
23112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23115 arg2
= (int) SWIG_AsInt(obj1
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 (arg1
)->ClearColumnImage(arg2
);
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 Py_INCREF(Py_None
); resultobj
= Py_None
;
23131 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23134 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23136 return Py_BuildValue((char *)"");
23138 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23139 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23144 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23149 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23151 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23158 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxTreeItemId
*result
;
23161 char *kwnames
[] = {
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= (wxTreeItemId
*)new wxTreeItemId();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23180 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
;
23182 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23183 PyObject
* obj0
= 0 ;
23184 char *kwnames
[] = {
23185 (char *) "self", NULL
23188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23198 Py_INCREF(Py_None
); resultobj
= Py_None
;
23205 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
;
23207 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23209 PyObject
* obj0
= 0 ;
23210 char *kwnames
[] = {
23211 (char *) "self", NULL
23214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23233 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23236 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23238 PyObject
* obj0
= 0 ;
23239 PyObject
* obj1
= 0 ;
23240 char *kwnames
[] = {
23241 (char *) "self",(char *) "other", NULL
23244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23265 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23266 PyObject
*resultobj
;
23267 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23268 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23270 PyObject
* obj0
= 0 ;
23271 PyObject
* obj1
= 0 ;
23272 char *kwnames
[] = {
23273 (char *) "self",(char *) "other", NULL
23276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23297 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23300 void *arg2
= (void *) 0 ;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self",(char *) "m_pItem", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23310 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23311 if (arg1
) (arg1
)->m_pItem
= arg2
;
23313 Py_INCREF(Py_None
); resultobj
= Py_None
;
23320 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23321 PyObject
*resultobj
;
23322 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23324 PyObject
* obj0
= 0 ;
23325 char *kwnames
[] = {
23326 (char *) "self", NULL
23329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23332 result
= (void *) ((arg1
)->m_pItem
);
23334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23341 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23344 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23346 return Py_BuildValue((char *)"");
23348 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
;
23350 PyObject
*arg1
= (PyObject
*) NULL
;
23351 wxPyTreeItemData
*result
;
23352 PyObject
* obj0
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "obj", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23365 wxPyEndAllowThreads(__tstate
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23375 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
;
23377 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23379 PyObject
* obj0
= 0 ;
23380 char *kwnames
[] = {
23381 (char *) "self", NULL
23384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 result
= (PyObject
*)(arg1
)->GetData();
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= result
;
23401 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23404 PyObject
*arg2
= (PyObject
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 PyObject
* obj1
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self",(char *) "obj", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 (arg1
)->SetData(arg2
);
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 Py_INCREF(Py_None
); resultobj
= Py_None
;
23429 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
;
23431 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23432 wxTreeItemId
*result
;
23433 PyObject
* obj0
= 0 ;
23434 char *kwnames
[] = {
23435 (char *) "self", NULL
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23445 result
= (wxTreeItemId
*) &_result_ref
;
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23458 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
;
23460 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23461 wxTreeItemId
*arg2
= 0 ;
23462 PyObject
* obj0
= 0 ;
23463 PyObject
* obj1
= 0 ;
23464 char *kwnames
[] = {
23465 (char *) "self",(char *) "id", NULL
23468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23474 if (arg2
== NULL
) {
23475 PyErr_SetString(PyExc_TypeError
,"null reference");
23479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 Py_INCREF(Py_None
); resultobj
= Py_None
;
23492 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
;
23494 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23495 PyObject
* obj0
= 0 ;
23496 char *kwnames
[] = {
23497 (char *) "self", NULL
23500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 wxPyTreeItemData_Destroy(arg1
);
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23510 Py_INCREF(Py_None
); resultobj
= Py_None
;
23517 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23520 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23522 return Py_BuildValue((char *)"");
23524 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23526 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23527 int arg2
= (int) 0 ;
23528 wxTreeEvent
*result
;
23529 PyObject
* obj0
= 0 ;
23530 PyObject
* obj1
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "commandType",(char *) "id", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23537 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23541 arg2
= (int) SWIG_AsInt(obj1
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23558 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23561 wxTreeItemId result
;
23562 PyObject
* obj0
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23578 wxTreeItemId
* resultptr
;
23579 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23588 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23591 wxTreeItemId
*arg2
= 0 ;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "item", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23604 if (arg2
== NULL
) {
23605 PyErr_SetString(PyExc_TypeError
,"null reference");
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 Py_INCREF(Py_None
); resultobj
= Py_None
;
23622 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23625 wxTreeItemId result
;
23626 PyObject
* obj0
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23642 wxTreeItemId
* resultptr
;
23643 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23652 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23655 wxTreeItemId
*arg2
= 0 ;
23656 PyObject
* obj0
= 0 ;
23657 PyObject
* obj1
= 0 ;
23658 char *kwnames
[] = {
23659 (char *) "self",(char *) "item", NULL
23662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23668 if (arg2
== NULL
) {
23669 PyErr_SetString(PyExc_TypeError
,"null reference");
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 Py_INCREF(Py_None
); resultobj
= Py_None
;
23686 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23688 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23690 PyObject
* obj0
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "self", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23706 wxPoint
* resultptr
;
23707 resultptr
= new wxPoint((wxPoint
&) result
);
23708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23716 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23718 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23719 wxPoint
*arg2
= 0 ;
23721 PyObject
* obj0
= 0 ;
23722 PyObject
* obj1
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "self",(char *) "pt", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23732 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 Py_INCREF(Py_None
); resultobj
= Py_None
;
23748 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23751 wxKeyEvent
*result
;
23752 PyObject
* obj0
= 0 ;
23753 char *kwnames
[] = {
23754 (char *) "self", NULL
23757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23764 result
= (wxKeyEvent
*) &_result_ref
;
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23777 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23781 PyObject
* obj0
= 0 ;
23782 char *kwnames
[] = {
23783 (char *) "self", NULL
23786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= SWIG_FromInt((int)result
);
23803 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
;
23805 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23806 wxKeyEvent
*arg2
= 0 ;
23807 PyObject
* obj0
= 0 ;
23808 PyObject
* obj1
= 0 ;
23809 char *kwnames
[] = {
23810 (char *) "self",(char *) "evt", NULL
23813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23819 if (arg2
== NULL
) {
23820 PyErr_SetString(PyExc_TypeError
,"null reference");
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 Py_INCREF(Py_None
); resultobj
= Py_None
;
23837 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23841 PyObject
* obj0
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23853 result
= (wxString
*) &_result_ref
;
23856 wxPyEndAllowThreads(__tstate
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23861 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23863 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23872 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23875 wxString
*arg2
= 0 ;
23876 bool temp2
= False
;
23877 PyObject
* obj0
= 0 ;
23878 PyObject
* obj1
= 0 ;
23879 char *kwnames
[] = {
23880 (char *) "self",(char *) "label", NULL
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23887 arg2
= wxString_in_helper(obj1
);
23888 if (arg2
== NULL
) SWIG_fail
;
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 (arg1
)->SetLabel((wxString
const &)*arg2
);
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23898 Py_INCREF(Py_None
); resultobj
= Py_None
;
23913 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
;
23915 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23917 PyObject
* obj0
= 0 ;
23918 char *kwnames
[] = {
23919 (char *) "self", NULL
23922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23941 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
;
23943 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23945 PyObject
* obj0
= 0 ;
23946 PyObject
* obj1
= 0 ;
23947 char *kwnames
[] = {
23948 (char *) "self",(char *) "editCancelled", NULL
23951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23954 arg2
= (bool) SWIG_AsBool(obj1
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 (arg1
)->SetEditCanceled(arg2
);
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 Py_INCREF(Py_None
); resultobj
= Py_None
;
23970 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
;
23972 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23973 wxString
*arg2
= 0 ;
23974 bool temp2
= False
;
23975 PyObject
* obj0
= 0 ;
23976 PyObject
* obj1
= 0 ;
23977 char *kwnames
[] = {
23978 (char *) "self",(char *) "toolTip", NULL
23981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23985 arg2
= wxString_in_helper(obj1
);
23986 if (arg2
== NULL
) SWIG_fail
;
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 Py_INCREF(Py_None
); resultobj
= Py_None
;
24011 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24014 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24016 return Py_BuildValue((char *)"");
24018 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
;
24020 wxWindow
*arg1
= (wxWindow
*) 0 ;
24021 int arg2
= (int) -1 ;
24022 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24023 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24024 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24025 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24026 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24027 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24028 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24029 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24030 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24031 wxPyTreeCtrl
*result
;
24034 bool temp7
= False
;
24035 PyObject
* obj0
= 0 ;
24036 PyObject
* obj1
= 0 ;
24037 PyObject
* obj2
= 0 ;
24038 PyObject
* obj3
= 0 ;
24039 PyObject
* obj4
= 0 ;
24040 PyObject
* obj5
= 0 ;
24041 PyObject
* obj6
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24050 arg2
= (int) SWIG_AsInt(obj1
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24062 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24066 arg5
= (long) SWIG_AsLong(obj4
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24070 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24073 if (arg6
== NULL
) {
24074 PyErr_SetString(PyExc_TypeError
,"null reference");
24080 arg7
= wxString_in_helper(obj6
);
24081 if (arg7
== NULL
) SWIG_fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24093 resultobj
= wxPyMake_wxObject(result
);
24109 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24110 PyObject
*resultobj
;
24111 wxPyTreeCtrl
*result
;
24112 char *kwnames
[] = {
24116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= wxPyMake_wxObject(result
);
24133 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
;
24135 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24136 wxWindow
*arg2
= (wxWindow
*) 0 ;
24137 int arg3
= (int) -1 ;
24138 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24139 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24140 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24141 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24142 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24143 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24144 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24145 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24146 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24150 bool temp8
= False
;
24151 PyObject
* obj0
= 0 ;
24152 PyObject
* obj1
= 0 ;
24153 PyObject
* obj2
= 0 ;
24154 PyObject
* obj3
= 0 ;
24155 PyObject
* obj4
= 0 ;
24156 PyObject
* obj5
= 0 ;
24157 PyObject
* obj6
= 0 ;
24158 PyObject
* obj7
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24169 arg3
= (int) SWIG_AsInt(obj2
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24175 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24181 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24185 arg6
= (long) SWIG_AsLong(obj5
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24189 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24192 if (arg7
== NULL
) {
24193 PyErr_SetString(PyExc_TypeError
,"null reference");
24199 arg8
= wxString_in_helper(obj7
);
24200 if (arg8
== NULL
) SWIG_fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24228 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
;
24230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24231 PyObject
*arg2
= (PyObject
*) 0 ;
24232 PyObject
*arg3
= (PyObject
*) 0 ;
24233 PyObject
* obj0
= 0 ;
24234 PyObject
* obj1
= 0 ;
24235 PyObject
* obj2
= 0 ;
24236 char *kwnames
[] = {
24237 (char *) "self",(char *) "self",(char *) "_class", NULL
24240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24252 Py_INCREF(Py_None
); resultobj
= Py_None
;
24259 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
;
24261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24263 PyObject
* obj0
= 0 ;
24264 char *kwnames
[] = {
24265 (char *) "self", NULL
24268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24285 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24288 unsigned int result
;
24289 PyObject
* obj0
= 0 ;
24290 char *kwnames
[] = {
24291 (char *) "self", NULL
24294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24311 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24314 unsigned int arg2
;
24315 PyObject
* obj0
= 0 ;
24316 PyObject
* obj1
= 0 ;
24317 char *kwnames
[] = {
24318 (char *) "self",(char *) "indent", NULL
24321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24324 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 (arg1
)->SetIndent(arg2
);
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24333 Py_INCREF(Py_None
); resultobj
= Py_None
;
24340 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24343 unsigned int result
;
24344 PyObject
* obj0
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24366 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24369 unsigned int arg2
;
24370 PyObject
* obj0
= 0 ;
24371 PyObject
* obj1
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self",(char *) "spacing", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24379 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 (arg1
)->SetSpacing(arg2
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24388 Py_INCREF(Py_None
); resultobj
= Py_None
;
24395 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
;
24397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24398 wxImageList
*result
;
24399 PyObject
* obj0
= 0 ;
24400 char *kwnames
[] = {
24401 (char *) "self", NULL
24404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24415 resultobj
= wxPyMake_wxObject(result
);
24423 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24424 PyObject
*resultobj
;
24425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24426 wxImageList
*result
;
24427 PyObject
* obj0
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24443 resultobj
= wxPyMake_wxObject(result
);
24451 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24454 wxImageList
*arg2
= (wxImageList
*) 0 ;
24455 PyObject
* obj0
= 0 ;
24456 PyObject
* obj1
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "imageList", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 (arg1
)->SetImageList(arg2
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 Py_INCREF(Py_None
); resultobj
= Py_None
;
24480 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24483 wxImageList
*arg2
= (wxImageList
*) 0 ;
24484 PyObject
* obj0
= 0 ;
24485 PyObject
* obj1
= 0 ;
24486 char *kwnames
[] = {
24487 (char *) "self",(char *) "imageList", NULL
24490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 (arg1
)->SetStateImageList(arg2
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 Py_INCREF(Py_None
); resultobj
= Py_None
;
24509 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
;
24511 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24512 wxImageList
*arg2
= (wxImageList
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self",(char *) "imageList", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24523 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 (arg1
)->AssignImageList(arg2
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 Py_INCREF(Py_None
); resultobj
= Py_None
;
24538 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24541 wxImageList
*arg2
= (wxImageList
*) 0 ;
24542 PyObject
* obj0
= 0 ;
24543 PyObject
* obj1
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self",(char *) "imageList", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24552 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 (arg1
)->AssignStateImageList(arg2
);
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24560 Py_INCREF(Py_None
); resultobj
= Py_None
;
24567 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
;
24569 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24570 wxTreeItemId
*arg2
= 0 ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self",(char *) "item", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24584 if (arg2
== NULL
) {
24585 PyErr_SetString(PyExc_TypeError
,"null reference");
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24608 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
;
24610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24611 wxTreeItemId
*arg2
= 0 ;
24612 int arg3
= (int) wxTreeItemIcon_Normal
;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 PyObject
* obj2
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self",(char *) "item",(char *) "which", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24627 if (arg2
== NULL
) {
24628 PyErr_SetString(PyExc_TypeError
,"null reference");
24632 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 resultobj
= SWIG_FromInt((int)result
);
24649 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24650 PyObject
*resultobj
;
24651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24652 wxTreeItemId
*arg2
= 0 ;
24653 wxPyTreeItemData
*result
;
24654 PyObject
* obj0
= 0 ;
24655 PyObject
* obj1
= 0 ;
24656 char *kwnames
[] = {
24657 (char *) "self",(char *) "item", NULL
24660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24666 if (arg2
== NULL
) {
24667 PyErr_SetString(PyExc_TypeError
,"null reference");
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24684 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24687 wxTreeItemId
*arg2
= 0 ;
24689 PyObject
* obj0
= 0 ;
24690 PyObject
* obj1
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self",(char *) "item", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24701 if (arg2
== NULL
) {
24702 PyErr_SetString(PyExc_TypeError
,"null reference");
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24709 wxPyEndAllowThreads(__tstate
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24712 resultobj
= result
;
24719 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24720 PyObject
*resultobj
;
24721 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24722 wxTreeItemId
*arg2
= 0 ;
24724 PyObject
* obj0
= 0 ;
24725 PyObject
* obj1
= 0 ;
24726 char *kwnames
[] = {
24727 (char *) "self",(char *) "item", NULL
24730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24736 if (arg2
== NULL
) {
24737 PyErr_SetString(PyExc_TypeError
,"null reference");
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24742 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24748 wxColour
* resultptr
;
24749 resultptr
= new wxColour((wxColour
&) result
);
24750 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24758 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
;
24760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24761 wxTreeItemId
*arg2
= 0 ;
24763 PyObject
* obj0
= 0 ;
24764 PyObject
* obj1
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self",(char *) "item", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24775 if (arg2
== NULL
) {
24776 PyErr_SetString(PyExc_TypeError
,"null reference");
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24787 wxColour
* resultptr
;
24788 resultptr
= new wxColour((wxColour
&) result
);
24789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24797 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24798 PyObject
*resultobj
;
24799 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24800 wxTreeItemId
*arg2
= 0 ;
24802 PyObject
* obj0
= 0 ;
24803 PyObject
* obj1
= 0 ;
24804 char *kwnames
[] = {
24805 (char *) "self",(char *) "item", NULL
24808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24814 if (arg2
== NULL
) {
24815 PyErr_SetString(PyExc_TypeError
,"null reference");
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24826 wxFont
* resultptr
;
24827 resultptr
= new wxFont((wxFont
&) result
);
24828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24836 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24839 wxTreeItemId
*arg2
= 0 ;
24840 wxString
*arg3
= 0 ;
24841 bool temp3
= False
;
24842 PyObject
* obj0
= 0 ;
24843 PyObject
* obj1
= 0 ;
24844 PyObject
* obj2
= 0 ;
24845 char *kwnames
[] = {
24846 (char *) "self",(char *) "item",(char *) "text", NULL
24849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24855 if (arg2
== NULL
) {
24856 PyErr_SetString(PyExc_TypeError
,"null reference");
24860 arg3
= wxString_in_helper(obj2
);
24861 if (arg3
== NULL
) SWIG_fail
;
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 Py_INCREF(Py_None
); resultobj
= Py_None
;
24886 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24889 wxTreeItemId
*arg2
= 0 ;
24891 int arg4
= (int) wxTreeItemIcon_Normal
;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 PyObject
* obj2
= 0 ;
24895 PyObject
* obj3
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24906 if (arg2
== NULL
) {
24907 PyErr_SetString(PyExc_TypeError
,"null reference");
24910 arg3
= (int) SWIG_AsInt(obj2
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 Py_INCREF(Py_None
); resultobj
= Py_None
;
24930 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
;
24932 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24933 wxTreeItemId
*arg2
= 0 ;
24934 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 PyObject
* obj1
= 0 ;
24937 PyObject
* obj2
= 0 ;
24938 char *kwnames
[] = {
24939 (char *) "self",(char *) "item",(char *) "data", NULL
24942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24948 if (arg2
== NULL
) {
24949 PyErr_SetString(PyExc_TypeError
,"null reference");
24952 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24961 Py_INCREF(Py_None
); resultobj
= Py_None
;
24968 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
;
24970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24971 wxTreeItemId
*arg2
= 0 ;
24972 PyObject
*arg3
= (PyObject
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 PyObject
* obj2
= 0 ;
24976 char *kwnames
[] = {
24977 (char *) "self",(char *) "item",(char *) "obj", NULL
24980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24986 if (arg2
== NULL
) {
24987 PyErr_SetString(PyExc_TypeError
,"null reference");
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24998 Py_INCREF(Py_None
); resultobj
= Py_None
;
25005 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25008 wxTreeItemId
*arg2
= 0 ;
25009 bool arg3
= (bool) True
;
25010 PyObject
* obj0
= 0 ;
25011 PyObject
* obj1
= 0 ;
25012 PyObject
* obj2
= 0 ;
25013 char *kwnames
[] = {
25014 (char *) "self",(char *) "item",(char *) "has", NULL
25017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25023 if (arg2
== NULL
) {
25024 PyErr_SetString(PyExc_TypeError
,"null reference");
25028 arg3
= (bool) SWIG_AsBool(obj2
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25038 Py_INCREF(Py_None
); resultobj
= Py_None
;
25045 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
;
25047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25048 wxTreeItemId
*arg2
= 0 ;
25049 bool arg3
= (bool) True
;
25050 PyObject
* obj0
= 0 ;
25051 PyObject
* obj1
= 0 ;
25052 PyObject
* obj2
= 0 ;
25053 char *kwnames
[] = {
25054 (char *) "self",(char *) "item",(char *) "bold", NULL
25057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25063 if (arg2
== NULL
) {
25064 PyErr_SetString(PyExc_TypeError
,"null reference");
25068 arg3
= (bool) SWIG_AsBool(obj2
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 Py_INCREF(Py_None
); resultobj
= Py_None
;
25085 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25088 wxTreeItemId
*arg2
= 0 ;
25089 wxColour
*arg3
= 0 ;
25091 PyObject
* obj0
= 0 ;
25092 PyObject
* obj1
= 0 ;
25093 PyObject
* obj2
= 0 ;
25094 char *kwnames
[] = {
25095 (char *) "self",(char *) "item",(char *) "col", NULL
25098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25104 if (arg2
== NULL
) {
25105 PyErr_SetString(PyExc_TypeError
,"null reference");
25110 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25114 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25116 wxPyEndAllowThreads(__tstate
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25119 Py_INCREF(Py_None
); resultobj
= Py_None
;
25126 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
;
25128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25129 wxTreeItemId
*arg2
= 0 ;
25130 wxColour
*arg3
= 0 ;
25132 PyObject
* obj0
= 0 ;
25133 PyObject
* obj1
= 0 ;
25134 PyObject
* obj2
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self",(char *) "item",(char *) "col", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25145 if (arg2
== NULL
) {
25146 PyErr_SetString(PyExc_TypeError
,"null reference");
25151 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25160 Py_INCREF(Py_None
); resultobj
= Py_None
;
25167 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
;
25169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25170 wxTreeItemId
*arg2
= 0 ;
25172 PyObject
* obj0
= 0 ;
25173 PyObject
* obj1
= 0 ;
25174 PyObject
* obj2
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "self",(char *) "item",(char *) "font", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25185 if (arg2
== NULL
) {
25186 PyErr_SetString(PyExc_TypeError
,"null reference");
25189 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25192 if (arg3
== NULL
) {
25193 PyErr_SetString(PyExc_TypeError
,"null reference");
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 Py_INCREF(Py_None
); resultobj
= Py_None
;
25210 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
;
25212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25213 wxTreeItemId
*arg2
= 0 ;
25215 PyObject
* obj0
= 0 ;
25216 PyObject
* obj1
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self",(char *) "item", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25227 if (arg2
== NULL
) {
25228 PyErr_SetString(PyExc_TypeError
,"null reference");
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25235 wxPyEndAllowThreads(__tstate
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25247 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
;
25249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25250 wxTreeItemId
*arg2
= 0 ;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 char *kwnames
[] = {
25255 (char *) "self",(char *) "item", NULL
25258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25264 if (arg2
== NULL
) {
25265 PyErr_SetString(PyExc_TypeError
,"null reference");
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25284 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
;
25286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25287 wxTreeItemId
*arg2
= 0 ;
25289 PyObject
* obj0
= 0 ;
25290 PyObject
* obj1
= 0 ;
25291 char *kwnames
[] = {
25292 (char *) "self",(char *) "item", NULL
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25301 if (arg2
== NULL
) {
25302 PyErr_SetString(PyExc_TypeError
,"null reference");
25306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25307 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25321 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25324 wxTreeItemId
*arg2
= 0 ;
25326 PyObject
* obj0
= 0 ;
25327 PyObject
* obj1
= 0 ;
25328 char *kwnames
[] = {
25329 (char *) "self",(char *) "item", NULL
25332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25338 if (arg2
== NULL
) {
25339 PyErr_SetString(PyExc_TypeError
,"null reference");
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25358 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
;
25360 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25361 wxTreeItemId
*arg2
= 0 ;
25363 PyObject
* obj0
= 0 ;
25364 PyObject
* obj1
= 0 ;
25365 char *kwnames
[] = {
25366 (char *) "self",(char *) "item", NULL
25369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25373 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25375 if (arg2
== NULL
) {
25376 PyErr_SetString(PyExc_TypeError
,"null reference");
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25395 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25398 wxTreeItemId
*arg2
= 0 ;
25399 bool arg3
= (bool) True
;
25401 PyObject
* obj0
= 0 ;
25402 PyObject
* obj1
= 0 ;
25403 PyObject
* obj2
= 0 ;
25404 char *kwnames
[] = {
25405 (char *) "self",(char *) "item",(char *) "recursively", NULL
25408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25414 if (arg2
== NULL
) {
25415 PyErr_SetString(PyExc_TypeError
,"null reference");
25419 arg3
= (bool) SWIG_AsBool(obj2
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25436 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
;
25438 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25439 wxTreeItemId result
;
25440 PyObject
* obj0
= 0 ;
25441 char *kwnames
[] = {
25442 (char *) "self", NULL
25445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25456 wxTreeItemId
* resultptr
;
25457 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25466 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25469 wxTreeItemId result
;
25470 PyObject
* obj0
= 0 ;
25471 char *kwnames
[] = {
25472 (char *) "self", NULL
25475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25486 wxTreeItemId
* resultptr
;
25487 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25496 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
;
25498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25500 PyObject
* obj0
= 0 ;
25501 char *kwnames
[] = {
25502 (char *) "self", NULL
25505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= result
;
25522 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25523 PyObject
*resultobj
;
25524 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25525 wxTreeItemId
*arg2
= 0 ;
25526 wxTreeItemId result
;
25527 PyObject
* obj0
= 0 ;
25528 PyObject
* obj1
= 0 ;
25529 char *kwnames
[] = {
25530 (char *) "self",(char *) "item", NULL
25533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25539 if (arg2
== NULL
) {
25540 PyErr_SetString(PyExc_TypeError
,"null reference");
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25551 wxTreeItemId
* resultptr
;
25552 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25561 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25564 wxTreeItemId
*arg2
= 0 ;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25568 char *kwnames
[] = {
25569 (char *) "self",(char *) "item", NULL
25572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25578 if (arg2
== NULL
) {
25579 PyErr_SetString(PyExc_TypeError
,"null reference");
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 resultobj
= result
;
25596 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25599 wxTreeItemId
*arg2
= 0 ;
25600 void *arg3
= (void *) 0 ;
25602 PyObject
* obj0
= 0 ;
25603 PyObject
* obj1
= 0 ;
25604 PyObject
* obj2
= 0 ;
25605 char *kwnames
[] = {
25606 (char *) "self",(char *) "item",(char *) "cookie", NULL
25609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25615 if (arg2
== NULL
) {
25616 PyErr_SetString(PyExc_TypeError
,"null reference");
25619 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= result
;
25634 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
;
25636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25637 wxTreeItemId
*arg2
= 0 ;
25638 wxTreeItemId result
;
25639 PyObject
* obj0
= 0 ;
25640 PyObject
* obj1
= 0 ;
25641 char *kwnames
[] = {
25642 (char *) "self",(char *) "item", NULL
25645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25651 if (arg2
== NULL
) {
25652 PyErr_SetString(PyExc_TypeError
,"null reference");
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25663 wxTreeItemId
* resultptr
;
25664 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25673 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
;
25675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25676 wxTreeItemId
*arg2
= 0 ;
25677 wxTreeItemId result
;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 char *kwnames
[] = {
25681 (char *) "self",(char *) "item", NULL
25684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25690 if (arg2
== NULL
) {
25691 PyErr_SetString(PyExc_TypeError
,"null reference");
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25702 wxTreeItemId
* resultptr
;
25703 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25712 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25713 PyObject
*resultobj
;
25714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25715 wxTreeItemId
*arg2
= 0 ;
25716 wxTreeItemId result
;
25717 PyObject
* obj0
= 0 ;
25718 PyObject
* obj1
= 0 ;
25719 char *kwnames
[] = {
25720 (char *) "self",(char *) "item", NULL
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25729 if (arg2
== NULL
) {
25730 PyErr_SetString(PyExc_TypeError
,"null reference");
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25741 wxTreeItemId
* resultptr
;
25742 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25751 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25752 PyObject
*resultobj
;
25753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25754 wxTreeItemId result
;
25755 PyObject
* obj0
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25771 wxTreeItemId
* resultptr
;
25772 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25781 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25784 wxTreeItemId
*arg2
= 0 ;
25785 wxTreeItemId result
;
25786 PyObject
* obj0
= 0 ;
25787 PyObject
* obj1
= 0 ;
25788 char *kwnames
[] = {
25789 (char *) "self",(char *) "item", NULL
25792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25798 if (arg2
== NULL
) {
25799 PyErr_SetString(PyExc_TypeError
,"null reference");
25803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25804 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25806 wxPyEndAllowThreads(__tstate
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25810 wxTreeItemId
* resultptr
;
25811 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25820 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25821 PyObject
*resultobj
;
25822 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25823 wxTreeItemId
*arg2
= 0 ;
25824 wxTreeItemId result
;
25825 PyObject
* obj0
= 0 ;
25826 PyObject
* obj1
= 0 ;
25827 char *kwnames
[] = {
25828 (char *) "self",(char *) "item", NULL
25831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25837 if (arg2
== NULL
) {
25838 PyErr_SetString(PyExc_TypeError
,"null reference");
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25849 wxTreeItemId
* resultptr
;
25850 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25859 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
;
25861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25862 wxString
*arg2
= 0 ;
25863 int arg3
= (int) -1 ;
25864 int arg4
= (int) -1 ;
25865 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25866 wxTreeItemId result
;
25867 bool temp2
= False
;
25868 PyObject
* obj0
= 0 ;
25869 PyObject
* obj1
= 0 ;
25870 PyObject
* obj2
= 0 ;
25871 PyObject
* obj3
= 0 ;
25872 PyObject
* obj4
= 0 ;
25873 char *kwnames
[] = {
25874 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25881 arg2
= wxString_in_helper(obj1
);
25882 if (arg2
== NULL
) SWIG_fail
;
25886 arg3
= (int) SWIG_AsInt(obj2
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25890 arg4
= (int) SWIG_AsInt(obj3
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25894 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25901 wxPyEndAllowThreads(__tstate
);
25902 if (PyErr_Occurred()) SWIG_fail
;
25905 wxTreeItemId
* resultptr
;
25906 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25923 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25924 PyObject
*resultobj
;
25925 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25926 wxTreeItemId
*arg2
= 0 ;
25927 wxString
*arg3
= 0 ;
25928 int arg4
= (int) -1 ;
25929 int arg5
= (int) -1 ;
25930 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25931 wxTreeItemId result
;
25932 bool temp3
= False
;
25933 PyObject
* obj0
= 0 ;
25934 PyObject
* obj1
= 0 ;
25935 PyObject
* obj2
= 0 ;
25936 PyObject
* obj3
= 0 ;
25937 PyObject
* obj4
= 0 ;
25938 PyObject
* obj5
= 0 ;
25939 char *kwnames
[] = {
25940 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25949 if (arg2
== NULL
) {
25950 PyErr_SetString(PyExc_TypeError
,"null reference");
25954 arg3
= wxString_in_helper(obj2
);
25955 if (arg3
== NULL
) SWIG_fail
;
25959 arg4
= (int) SWIG_AsInt(obj3
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 arg5
= (int) SWIG_AsInt(obj4
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25967 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25972 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25978 wxTreeItemId
* resultptr
;
25979 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25996 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25999 wxTreeItemId
*arg2
= 0 ;
26000 wxTreeItemId
*arg3
= 0 ;
26001 wxString
*arg4
= 0 ;
26002 int arg5
= (int) -1 ;
26003 int arg6
= (int) -1 ;
26004 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26005 wxTreeItemId result
;
26006 bool temp4
= False
;
26007 PyObject
* obj0
= 0 ;
26008 PyObject
* obj1
= 0 ;
26009 PyObject
* obj2
= 0 ;
26010 PyObject
* obj3
= 0 ;
26011 PyObject
* obj4
= 0 ;
26012 PyObject
* obj5
= 0 ;
26013 PyObject
* obj6
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26024 if (arg2
== NULL
) {
26025 PyErr_SetString(PyExc_TypeError
,"null reference");
26028 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26031 if (arg3
== NULL
) {
26032 PyErr_SetString(PyExc_TypeError
,"null reference");
26036 arg4
= wxString_in_helper(obj3
);
26037 if (arg4
== NULL
) SWIG_fail
;
26041 arg5
= (int) SWIG_AsInt(obj4
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26045 arg6
= (int) SWIG_AsInt(obj5
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26049 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26060 wxTreeItemId
* resultptr
;
26061 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26078 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26081 wxTreeItemId
*arg2
= 0 ;
26083 wxString
*arg4
= 0 ;
26084 int arg5
= (int) -1 ;
26085 int arg6
= (int) -1 ;
26086 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26087 wxTreeItemId result
;
26088 bool temp4
= False
;
26089 PyObject
* obj0
= 0 ;
26090 PyObject
* obj1
= 0 ;
26091 PyObject
* obj2
= 0 ;
26092 PyObject
* obj3
= 0 ;
26093 PyObject
* obj4
= 0 ;
26094 PyObject
* obj5
= 0 ;
26095 PyObject
* obj6
= 0 ;
26096 char *kwnames
[] = {
26097 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26106 if (arg2
== NULL
) {
26107 PyErr_SetString(PyExc_TypeError
,"null reference");
26110 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 arg4
= wxString_in_helper(obj3
);
26114 if (arg4
== NULL
) SWIG_fail
;
26118 arg5
= (int) SWIG_AsInt(obj4
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26122 arg6
= (int) SWIG_AsInt(obj5
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26126 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26133 wxPyEndAllowThreads(__tstate
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26137 wxTreeItemId
* resultptr
;
26138 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26155 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26156 PyObject
*resultobj
;
26157 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26158 wxTreeItemId
*arg2
= 0 ;
26159 wxString
*arg3
= 0 ;
26160 int arg4
= (int) -1 ;
26161 int arg5
= (int) -1 ;
26162 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26163 wxTreeItemId result
;
26164 bool temp3
= False
;
26165 PyObject
* obj0
= 0 ;
26166 PyObject
* obj1
= 0 ;
26167 PyObject
* obj2
= 0 ;
26168 PyObject
* obj3
= 0 ;
26169 PyObject
* obj4
= 0 ;
26170 PyObject
* obj5
= 0 ;
26171 char *kwnames
[] = {
26172 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26181 if (arg2
== NULL
) {
26182 PyErr_SetString(PyExc_TypeError
,"null reference");
26186 arg3
= wxString_in_helper(obj2
);
26187 if (arg3
== NULL
) SWIG_fail
;
26191 arg4
= (int) SWIG_AsInt(obj3
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26195 arg5
= (int) SWIG_AsInt(obj4
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26199 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26210 wxTreeItemId
* resultptr
;
26211 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26228 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26229 PyObject
*resultobj
;
26230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26231 wxTreeItemId
*arg2
= 0 ;
26232 PyObject
* obj0
= 0 ;
26233 PyObject
* obj1
= 0 ;
26234 char *kwnames
[] = {
26235 (char *) "self",(char *) "item", NULL
26238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26244 if (arg2
== NULL
) {
26245 PyErr_SetString(PyExc_TypeError
,"null reference");
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 Py_INCREF(Py_None
); resultobj
= Py_None
;
26262 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26265 wxTreeItemId
*arg2
= 0 ;
26266 PyObject
* obj0
= 0 ;
26267 PyObject
* obj1
= 0 ;
26268 char *kwnames
[] = {
26269 (char *) "self",(char *) "item", NULL
26272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26278 if (arg2
== NULL
) {
26279 PyErr_SetString(PyExc_TypeError
,"null reference");
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 Py_INCREF(Py_None
); resultobj
= Py_None
;
26296 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
;
26298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26299 PyObject
* obj0
= 0 ;
26300 char *kwnames
[] = {
26301 (char *) "self", NULL
26304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26309 (arg1
)->DeleteAllItems();
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 Py_INCREF(Py_None
); resultobj
= Py_None
;
26321 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
;
26323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26324 wxTreeItemId
*arg2
= 0 ;
26325 PyObject
* obj0
= 0 ;
26326 PyObject
* obj1
= 0 ;
26327 char *kwnames
[] = {
26328 (char *) "self",(char *) "item", NULL
26331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26337 if (arg2
== NULL
) {
26338 PyErr_SetString(PyExc_TypeError
,"null reference");
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 Py_INCREF(Py_None
); resultobj
= Py_None
;
26355 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26356 PyObject
*resultobj
;
26357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26358 wxTreeItemId
*arg2
= 0 ;
26359 PyObject
* obj0
= 0 ;
26360 PyObject
* obj1
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self",(char *) "item", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26371 if (arg2
== NULL
) {
26372 PyErr_SetString(PyExc_TypeError
,"null reference");
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 Py_INCREF(Py_None
); resultobj
= Py_None
;
26389 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
;
26391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26392 wxTreeItemId
*arg2
= 0 ;
26393 PyObject
* obj0
= 0 ;
26394 PyObject
* obj1
= 0 ;
26395 char *kwnames
[] = {
26396 (char *) "self",(char *) "item", NULL
26399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26405 if (arg2
== NULL
) {
26406 PyErr_SetString(PyExc_TypeError
,"null reference");
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26416 Py_INCREF(Py_None
); resultobj
= Py_None
;
26423 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
;
26425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26426 wxTreeItemId
*arg2
= 0 ;
26427 PyObject
* obj0
= 0 ;
26428 PyObject
* obj1
= 0 ;
26429 char *kwnames
[] = {
26430 (char *) "self",(char *) "item", NULL
26433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26439 if (arg2
== NULL
) {
26440 PyErr_SetString(PyExc_TypeError
,"null reference");
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 Py_INCREF(Py_None
); resultobj
= Py_None
;
26457 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26460 PyObject
* obj0
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 (arg1
)->Unselect();
26472 wxPyEndAllowThreads(__tstate
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 Py_INCREF(Py_None
); resultobj
= Py_None
;
26482 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26483 PyObject
*resultobj
;
26484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26485 wxTreeItemId
*arg2
= 0 ;
26486 PyObject
* obj0
= 0 ;
26487 PyObject
* obj1
= 0 ;
26488 char *kwnames
[] = {
26489 (char *) "self",(char *) "item", NULL
26492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26498 if (arg2
== NULL
) {
26499 PyErr_SetString(PyExc_TypeError
,"null reference");
26503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26504 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26506 wxPyEndAllowThreads(__tstate
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26509 Py_INCREF(Py_None
); resultobj
= Py_None
;
26516 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26517 PyObject
*resultobj
;
26518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26519 PyObject
* obj0
= 0 ;
26520 char *kwnames
[] = {
26521 (char *) "self", NULL
26524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 (arg1
)->UnselectAll();
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 Py_INCREF(Py_None
); resultobj
= Py_None
;
26541 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26544 wxTreeItemId
*arg2
= 0 ;
26545 bool arg3
= (bool) True
;
26546 PyObject
* obj0
= 0 ;
26547 PyObject
* obj1
= 0 ;
26548 PyObject
* obj2
= 0 ;
26549 char *kwnames
[] = {
26550 (char *) "self",(char *) "item",(char *) "select", NULL
26553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26559 if (arg2
== NULL
) {
26560 PyErr_SetString(PyExc_TypeError
,"null reference");
26564 arg3
= (bool) SWIG_AsBool(obj2
);
26565 if (PyErr_Occurred()) SWIG_fail
;
26568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26569 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26571 wxPyEndAllowThreads(__tstate
);
26572 if (PyErr_Occurred()) SWIG_fail
;
26574 Py_INCREF(Py_None
); resultobj
= Py_None
;
26581 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26582 PyObject
*resultobj
;
26583 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26584 wxTreeItemId
*arg2
= 0 ;
26585 PyObject
* obj0
= 0 ;
26586 PyObject
* obj1
= 0 ;
26587 char *kwnames
[] = {
26588 (char *) "self",(char *) "item", NULL
26591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26597 if (arg2
== NULL
) {
26598 PyErr_SetString(PyExc_TypeError
,"null reference");
26602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26603 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 Py_INCREF(Py_None
); resultobj
= Py_None
;
26615 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26618 wxTreeItemId
*arg2
= 0 ;
26619 PyObject
* obj0
= 0 ;
26620 PyObject
* obj1
= 0 ;
26621 char *kwnames
[] = {
26622 (char *) "self",(char *) "item", NULL
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26631 if (arg2
== NULL
) {
26632 PyErr_SetString(PyExc_TypeError
,"null reference");
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 Py_INCREF(Py_None
); resultobj
= Py_None
;
26649 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26650 PyObject
*resultobj
;
26651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26652 wxTreeItemId
*arg2
= 0 ;
26653 PyObject
* obj0
= 0 ;
26654 PyObject
* obj1
= 0 ;
26655 char *kwnames
[] = {
26656 (char *) "self",(char *) "item", NULL
26659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26665 if (arg2
== NULL
) {
26666 PyErr_SetString(PyExc_TypeError
,"null reference");
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 Py_INCREF(Py_None
); resultobj
= Py_None
;
26683 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26686 wxTreeItemId
*arg2
= 0 ;
26687 PyObject
* obj0
= 0 ;
26688 PyObject
* obj1
= 0 ;
26689 char *kwnames
[] = {
26690 (char *) "self",(char *) "item", NULL
26693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26699 if (arg2
== NULL
) {
26700 PyErr_SetString(PyExc_TypeError
,"null reference");
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26710 Py_INCREF(Py_None
); resultobj
= Py_None
;
26717 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
;
26719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26720 wxTextCtrl
*result
;
26721 PyObject
* obj0
= 0 ;
26722 char *kwnames
[] = {
26723 (char *) "self", NULL
26726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26737 resultobj
= wxPyMake_wxObject(result
);
26745 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26746 PyObject
*resultobj
;
26747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26748 wxTreeItemId
*arg2
= 0 ;
26749 PyObject
* obj0
= 0 ;
26750 PyObject
* obj1
= 0 ;
26751 char *kwnames
[] = {
26752 (char *) "self",(char *) "item", NULL
26755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26761 if (arg2
== NULL
) {
26762 PyErr_SetString(PyExc_TypeError
,"null reference");
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 Py_INCREF(Py_None
); resultobj
= Py_None
;
26779 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26780 PyObject
*resultobj
;
26781 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26782 wxPoint
*arg2
= 0 ;
26784 wxTreeItemId result
;
26787 PyObject
* obj0
= 0 ;
26788 PyObject
* obj1
= 0 ;
26789 char *kwnames
[] = {
26790 (char *) "self",(char *) "point", NULL
26794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26799 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26803 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26805 wxPyEndAllowThreads(__tstate
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26809 wxTreeItemId
* resultptr
;
26810 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26814 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26815 resultobj
= t_output_helper(resultobj
,o
);
26823 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
;
26825 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26826 wxTreeItemId
*arg2
= 0 ;
26827 bool arg3
= (bool) False
;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 PyObject
* obj2
= 0 ;
26832 char *kwnames
[] = {
26833 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26840 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26842 if (arg2
== NULL
) {
26843 PyErr_SetString(PyExc_TypeError
,"null reference");
26847 arg3
= (bool) SWIG_AsBool(obj2
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= result
;
26864 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26867 wxVisualAttributes result
;
26868 PyObject
* obj0
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "variant", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26875 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26886 wxVisualAttributes
* resultptr
;
26887 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26896 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26899 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26901 return Py_BuildValue((char *)"");
26903 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26904 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26909 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26914 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26916 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26923 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
;
26925 wxWindow
*arg1
= (wxWindow
*) 0 ;
26926 int arg2
= (int) (int)-1 ;
26927 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26928 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26929 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26930 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26931 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26932 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26933 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26934 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26935 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26936 int arg8
= (int) 0 ;
26937 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26938 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26939 wxGenericDirCtrl
*result
;
26940 bool temp3
= False
;
26943 bool temp7
= False
;
26944 bool temp9
= False
;
26945 PyObject
* obj0
= 0 ;
26946 PyObject
* obj1
= 0 ;
26947 PyObject
* obj2
= 0 ;
26948 PyObject
* obj3
= 0 ;
26949 PyObject
* obj4
= 0 ;
26950 PyObject
* obj5
= 0 ;
26951 PyObject
* obj6
= 0 ;
26952 PyObject
* obj7
= 0 ;
26953 PyObject
* obj8
= 0 ;
26954 char *kwnames
[] = {
26955 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26962 arg2
= (int const) SWIG_AsInt(obj1
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26967 arg3
= wxString_in_helper(obj2
);
26968 if (arg3
== NULL
) SWIG_fail
;
26975 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26981 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26985 arg6
= (long) SWIG_AsLong(obj5
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26990 arg7
= wxString_in_helper(obj6
);
26991 if (arg7
== NULL
) SWIG_fail
;
26996 arg8
= (int) SWIG_AsInt(obj7
);
26997 if (PyErr_Occurred()) SWIG_fail
;
27001 arg9
= wxString_in_helper(obj8
);
27002 if (arg9
== NULL
) SWIG_fail
;
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27044 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27045 PyObject
*resultobj
;
27046 wxGenericDirCtrl
*result
;
27047 char *kwnames
[] = {
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27066 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
;
27068 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27069 wxWindow
*arg2
= (wxWindow
*) 0 ;
27070 int arg3
= (int) (int)-1 ;
27071 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27072 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27073 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27074 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27075 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27076 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27077 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27078 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27079 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27080 int arg9
= (int) 0 ;
27081 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27082 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27084 bool temp4
= False
;
27087 bool temp8
= False
;
27088 bool temp10
= False
;
27089 PyObject
* obj0
= 0 ;
27090 PyObject
* obj1
= 0 ;
27091 PyObject
* obj2
= 0 ;
27092 PyObject
* obj3
= 0 ;
27093 PyObject
* obj4
= 0 ;
27094 PyObject
* obj5
= 0 ;
27095 PyObject
* obj6
= 0 ;
27096 PyObject
* obj7
= 0 ;
27097 PyObject
* obj8
= 0 ;
27098 PyObject
* obj9
= 0 ;
27099 char *kwnames
[] = {
27100 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27109 arg3
= (int const) SWIG_AsInt(obj2
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27114 arg4
= wxString_in_helper(obj3
);
27115 if (arg4
== NULL
) SWIG_fail
;
27122 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27128 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27132 arg7
= (long) SWIG_AsLong(obj6
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27137 arg8
= wxString_in_helper(obj7
);
27138 if (arg8
== NULL
) SWIG_fail
;
27143 arg9
= (int) SWIG_AsInt(obj8
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27148 arg10
= wxString_in_helper(obj9
);
27149 if (arg10
== NULL
) SWIG_fail
;
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27193 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27196 wxString
*arg2
= 0 ;
27198 bool temp2
= False
;
27199 PyObject
* obj0
= 0 ;
27200 PyObject
* obj1
= 0 ;
27201 char *kwnames
[] = {
27202 (char *) "self",(char *) "path", NULL
27205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27209 arg2
= wxString_in_helper(obj1
);
27210 if (arg2
== NULL
) SWIG_fail
;
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27237 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
;
27239 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27241 PyObject
* obj0
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "self", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27269 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
;
27271 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27272 wxString
*arg2
= 0 ;
27273 bool temp2
= False
;
27274 PyObject
* obj0
= 0 ;
27275 PyObject
* obj1
= 0 ;
27276 char *kwnames
[] = {
27277 (char *) "self",(char *) "path", NULL
27280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27284 arg2
= wxString_in_helper(obj1
);
27285 if (arg2
== NULL
) SWIG_fail
;
27289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27295 Py_INCREF(Py_None
); resultobj
= Py_None
;
27310 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
;
27312 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27314 PyObject
* obj0
= 0 ;
27315 char *kwnames
[] = {
27316 (char *) "self", NULL
27319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27342 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27343 PyObject
*resultobj
;
27344 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27346 PyObject
* obj0
= 0 ;
27347 char *kwnames
[] = {
27348 (char *) "self", NULL
27351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27374 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
;
27376 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27377 wxString
*arg2
= 0 ;
27378 bool temp2
= False
;
27379 PyObject
* obj0
= 0 ;
27380 PyObject
* obj1
= 0 ;
27381 char *kwnames
[] = {
27382 (char *) "self",(char *) "path", NULL
27385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27389 arg2
= wxString_in_helper(obj1
);
27390 if (arg2
== NULL
) SWIG_fail
;
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 (arg1
)->SetPath((wxString
const &)*arg2
);
27397 wxPyEndAllowThreads(__tstate
);
27398 if (PyErr_Occurred()) SWIG_fail
;
27400 Py_INCREF(Py_None
); resultobj
= Py_None
;
27415 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
;
27417 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27419 PyObject
* obj0
= 0 ;
27420 PyObject
* obj1
= 0 ;
27421 char *kwnames
[] = {
27422 (char *) "self",(char *) "show", NULL
27425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27428 arg2
= (bool) SWIG_AsBool(obj1
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27432 (arg1
)->ShowHidden(arg2
);
27434 wxPyEndAllowThreads(__tstate
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27437 Py_INCREF(Py_None
); resultobj
= Py_None
;
27444 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27445 PyObject
*resultobj
;
27446 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27448 PyObject
* obj0
= 0 ;
27449 char *kwnames
[] = {
27450 (char *) "self", NULL
27453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27458 result
= (bool)(arg1
)->GetShowHidden();
27460 wxPyEndAllowThreads(__tstate
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27472 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27476 PyObject
* obj0
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "self", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27504 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27505 PyObject
*resultobj
;
27506 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27507 wxString
*arg2
= 0 ;
27508 bool temp2
= False
;
27509 PyObject
* obj0
= 0 ;
27510 PyObject
* obj1
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self",(char *) "filter", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27519 arg2
= wxString_in_helper(obj1
);
27520 if (arg2
== NULL
) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 (arg1
)->SetFilter((wxString
const &)*arg2
);
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 Py_INCREF(Py_None
); resultobj
= Py_None
;
27545 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
;
27547 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27549 PyObject
* obj0
= 0 ;
27550 char *kwnames
[] = {
27551 (char *) "self", NULL
27554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27559 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27561 wxPyEndAllowThreads(__tstate
);
27562 if (PyErr_Occurred()) SWIG_fail
;
27564 resultobj
= SWIG_FromInt((int)result
);
27571 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27572 PyObject
*resultobj
;
27573 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27575 PyObject
* obj0
= 0 ;
27576 PyObject
* obj1
= 0 ;
27577 char *kwnames
[] = {
27578 (char *) "self",(char *) "n", NULL
27581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27584 arg2
= (int) SWIG_AsInt(obj1
);
27585 if (PyErr_Occurred()) SWIG_fail
;
27587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27588 (arg1
)->SetFilterIndex(arg2
);
27590 wxPyEndAllowThreads(__tstate
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27593 Py_INCREF(Py_None
); resultobj
= Py_None
;
27600 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27601 PyObject
*resultobj
;
27602 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27603 wxTreeItemId result
;
27604 PyObject
* obj0
= 0 ;
27605 char *kwnames
[] = {
27606 (char *) "self", NULL
27609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27614 result
= (arg1
)->GetRootId();
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27620 wxTreeItemId
* resultptr
;
27621 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27630 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
;
27632 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27633 wxPyTreeCtrl
*result
;
27634 PyObject
* obj0
= 0 ;
27635 char *kwnames
[] = {
27636 (char *) "self", NULL
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27646 wxPyEndAllowThreads(__tstate
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27650 resultobj
= wxPyMake_wxObject(result
);
27658 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27659 PyObject
*resultobj
;
27660 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27661 wxDirFilterListCtrl
*result
;
27662 PyObject
* obj0
= 0 ;
27663 char *kwnames
[] = {
27664 (char *) "self", NULL
27667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27684 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
;
27686 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27687 wxTreeItemId arg2
;
27688 wxString
*arg3
= 0 ;
27690 wxTreeItemId result
;
27691 wxTreeItemId
*argp2
;
27692 bool temp3
= False
;
27694 PyObject
* obj0
= 0 ;
27695 PyObject
* obj1
= 0 ;
27696 PyObject
* obj2
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "self",(char *) "parentId",(char *) "path", NULL
27702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27705 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27706 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27709 arg3
= wxString_in_helper(obj2
);
27710 if (arg3
== NULL
) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27721 wxTreeItemId
* resultptr
;
27722 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27726 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27727 resultobj
= t_output_helper(resultobj
,o
);
27743 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27744 PyObject
*resultobj
;
27745 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27746 PyObject
* obj0
= 0 ;
27747 char *kwnames
[] = {
27748 (char *) "self", NULL
27751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27756 (arg1
)->DoResize();
27758 wxPyEndAllowThreads(__tstate
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27761 Py_INCREF(Py_None
); resultobj
= Py_None
;
27768 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27769 PyObject
*resultobj
;
27770 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27771 PyObject
* obj0
= 0 ;
27772 char *kwnames
[] = {
27773 (char *) "self", NULL
27776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 (arg1
)->ReCreateTree();
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 Py_INCREF(Py_None
); resultobj
= Py_None
;
27793 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27796 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27798 return Py_BuildValue((char *)"");
27800 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
;
27802 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27803 int arg2
= (int) (int)-1 ;
27804 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27805 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27806 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27807 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27808 long arg5
= (long) 0 ;
27809 wxDirFilterListCtrl
*result
;
27812 PyObject
* obj0
= 0 ;
27813 PyObject
* obj1
= 0 ;
27814 PyObject
* obj2
= 0 ;
27815 PyObject
* obj3
= 0 ;
27816 PyObject
* obj4
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27825 arg2
= (int const) SWIG_AsInt(obj1
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27831 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27837 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27841 arg5
= (long) SWIG_AsLong(obj4
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27846 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27858 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27859 PyObject
*resultobj
;
27860 wxDirFilterListCtrl
*result
;
27861 char *kwnames
[] = {
27865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27880 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27882 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27883 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27884 int arg3
= (int) (int)-1 ;
27885 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27886 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27887 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27888 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27889 long arg6
= (long) 0 ;
27893 PyObject
* obj0
= 0 ;
27894 PyObject
* obj1
= 0 ;
27895 PyObject
* obj2
= 0 ;
27896 PyObject
* obj3
= 0 ;
27897 PyObject
* obj4
= 0 ;
27898 PyObject
* obj5
= 0 ;
27899 char *kwnames
[] = {
27900 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27909 arg3
= (int const) SWIG_AsInt(obj2
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27925 arg6
= (long) SWIG_AsLong(obj5
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27944 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
;
27946 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27947 wxString
*arg2
= 0 ;
27949 bool temp2
= False
;
27950 PyObject
* obj0
= 0 ;
27951 PyObject
* obj1
= 0 ;
27952 PyObject
* obj2
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27961 arg2
= wxString_in_helper(obj1
);
27962 if (arg2
== NULL
) SWIG_fail
;
27965 arg3
= (int) SWIG_AsInt(obj2
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27969 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27971 wxPyEndAllowThreads(__tstate
);
27972 if (PyErr_Occurred()) SWIG_fail
;
27974 Py_INCREF(Py_None
); resultobj
= Py_None
;
27989 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27992 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27994 return Py_BuildValue((char *)"");
27996 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
;
27998 wxWindow
*arg1
= (wxWindow
*) 0 ;
28000 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28001 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28002 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28003 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28004 long arg5
= (long) 0 ;
28005 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28006 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28007 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28008 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28009 wxPyControl
*result
;
28012 bool temp7
= False
;
28013 PyObject
* obj0
= 0 ;
28014 PyObject
* obj1
= 0 ;
28015 PyObject
* obj2
= 0 ;
28016 PyObject
* obj3
= 0 ;
28017 PyObject
* obj4
= 0 ;
28018 PyObject
* obj5
= 0 ;
28019 PyObject
* obj6
= 0 ;
28020 char *kwnames
[] = {
28021 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28027 arg2
= (int const) SWIG_AsInt(obj1
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28032 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28038 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28042 arg5
= (long) SWIG_AsLong(obj4
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28046 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28049 if (arg6
== NULL
) {
28050 PyErr_SetString(PyExc_TypeError
,"null reference");
28056 arg7
= wxString_in_helper(obj6
);
28057 if (arg7
== NULL
) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28083 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28084 PyObject
*resultobj
;
28085 wxPyControl
*result
;
28086 char *kwnames
[] = {
28090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28093 result
= (wxPyControl
*)new wxPyControl();
28095 wxPyEndAllowThreads(__tstate
);
28096 if (PyErr_Occurred()) SWIG_fail
;
28098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28105 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28106 PyObject
*resultobj
;
28107 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28108 PyObject
*arg2
= (PyObject
*) 0 ;
28109 PyObject
*arg3
= (PyObject
*) 0 ;
28110 PyObject
* obj0
= 0 ;
28111 PyObject
* obj1
= 0 ;
28112 PyObject
* obj2
= 0 ;
28113 char *kwnames
[] = {
28114 (char *) "self",(char *) "self",(char *) "_class", NULL
28117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28124 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 Py_INCREF(Py_None
); resultobj
= Py_None
;
28136 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
;
28138 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28143 PyObject
* obj0
= 0 ;
28144 PyObject
* obj1
= 0 ;
28145 PyObject
* obj2
= 0 ;
28146 PyObject
* obj3
= 0 ;
28147 PyObject
* obj4
= 0 ;
28148 char *kwnames
[] = {
28149 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28155 arg2
= (int) SWIG_AsInt(obj1
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28157 arg3
= (int) SWIG_AsInt(obj2
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28159 arg4
= (int) SWIG_AsInt(obj3
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28161 arg5
= (int) SWIG_AsInt(obj4
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 Py_INCREF(Py_None
); resultobj
= Py_None
;
28177 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
;
28179 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28184 int arg6
= (int) wxSIZE_AUTO
;
28185 PyObject
* obj0
= 0 ;
28186 PyObject
* obj1
= 0 ;
28187 PyObject
* obj2
= 0 ;
28188 PyObject
* obj3
= 0 ;
28189 PyObject
* obj4
= 0 ;
28190 PyObject
* obj5
= 0 ;
28191 char *kwnames
[] = {
28192 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28198 arg2
= (int) SWIG_AsInt(obj1
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28200 arg3
= (int) SWIG_AsInt(obj2
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28202 arg4
= (int) SWIG_AsInt(obj3
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28204 arg5
= (int) SWIG_AsInt(obj4
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28207 arg6
= (int) SWIG_AsInt(obj5
);
28208 if (PyErr_Occurred()) SWIG_fail
;
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28217 Py_INCREF(Py_None
); resultobj
= Py_None
;
28224 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28225 PyObject
*resultobj
;
28226 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28229 PyObject
* obj0
= 0 ;
28230 PyObject
* obj1
= 0 ;
28231 PyObject
* obj2
= 0 ;
28232 char *kwnames
[] = {
28233 (char *) "self",(char *) "width",(char *) "height", NULL
28236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28239 arg2
= (int) SWIG_AsInt(obj1
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28241 arg3
= (int) SWIG_AsInt(obj2
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28245 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 Py_INCREF(Py_None
); resultobj
= Py_None
;
28257 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28258 PyObject
*resultobj
;
28259 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 PyObject
* obj1
= 0 ;
28264 PyObject
* obj2
= 0 ;
28265 char *kwnames
[] = {
28266 (char *) "self",(char *) "x",(char *) "y", NULL
28269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28272 arg2
= (int) SWIG_AsInt(obj1
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28274 arg3
= (int) SWIG_AsInt(obj2
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 Py_INCREF(Py_None
); resultobj
= Py_None
;
28290 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28291 PyObject
*resultobj
;
28292 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28293 int *arg2
= (int *) 0 ;
28294 int *arg3
= (int *) 0 ;
28297 PyObject
* obj0
= 0 ;
28298 char *kwnames
[] = {
28299 (char *) "self", NULL
28304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28309 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28311 wxPyEndAllowThreads(__tstate
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28314 Py_INCREF(Py_None
); resultobj
= Py_None
;
28316 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28317 resultobj
= t_output_helper(resultobj
,o
);
28320 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28321 resultobj
= t_output_helper(resultobj
,o
);
28329 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28330 PyObject
*resultobj
;
28331 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28332 int *arg2
= (int *) 0 ;
28333 int *arg3
= (int *) 0 ;
28336 PyObject
* obj0
= 0 ;
28337 char *kwnames
[] = {
28338 (char *) "self", NULL
28343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28348 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28350 wxPyEndAllowThreads(__tstate
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28353 Py_INCREF(Py_None
); resultobj
= Py_None
;
28355 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28356 resultobj
= t_output_helper(resultobj
,o
);
28359 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28360 resultobj
= t_output_helper(resultobj
,o
);
28368 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28369 PyObject
*resultobj
;
28370 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28371 int *arg2
= (int *) 0 ;
28372 int *arg3
= (int *) 0 ;
28375 PyObject
* obj0
= 0 ;
28376 char *kwnames
[] = {
28377 (char *) "self", NULL
28382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28389 wxPyEndAllowThreads(__tstate
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28392 Py_INCREF(Py_None
); resultobj
= Py_None
;
28394 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28395 resultobj
= t_output_helper(resultobj
,o
);
28398 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28399 resultobj
= t_output_helper(resultobj
,o
);
28407 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
;
28409 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28411 PyObject
* obj0
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "self", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28421 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28427 wxSize
* resultptr
;
28428 resultptr
= new wxSize((wxSize
&) result
);
28429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28437 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
;
28439 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28441 PyObject
* obj0
= 0 ;
28442 char *kwnames
[] = {
28443 (char *) "self", NULL
28446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28457 wxSize
* resultptr
;
28458 resultptr
= new wxSize((wxSize
&) result
);
28459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28467 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28468 PyObject
*resultobj
;
28469 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28470 PyObject
* obj0
= 0 ;
28471 char *kwnames
[] = {
28472 (char *) "self", NULL
28475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 (arg1
)->base_InitDialog();
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 Py_INCREF(Py_None
); resultobj
= Py_None
;
28492 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28493 PyObject
*resultobj
;
28494 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28496 PyObject
* obj0
= 0 ;
28497 char *kwnames
[] = {
28498 (char *) "self", NULL
28501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 result
= (bool)(arg1
)->base_TransferDataToWindow();
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28520 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28521 PyObject
*resultobj
;
28522 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28524 PyObject
* obj0
= 0 ;
28525 char *kwnames
[] = {
28526 (char *) "self", NULL
28529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28548 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
;
28550 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28552 PyObject
* obj0
= 0 ;
28553 char *kwnames
[] = {
28554 (char *) "self", NULL
28557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 result
= (bool)(arg1
)->base_Validate();
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28576 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28577 PyObject
*resultobj
;
28578 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28580 PyObject
* obj0
= 0 ;
28581 char *kwnames
[] = {
28582 (char *) "self", NULL
28585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28604 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28605 PyObject
*resultobj
;
28606 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28608 PyObject
* obj0
= 0 ;
28609 char *kwnames
[] = {
28610 (char *) "self", NULL
28613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28632 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28633 PyObject
*resultobj
;
28634 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28636 PyObject
* obj0
= 0 ;
28637 char *kwnames
[] = {
28638 (char *) "self", NULL
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28646 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28648 wxPyEndAllowThreads(__tstate
);
28649 if (PyErr_Occurred()) SWIG_fail
;
28652 wxSize
* resultptr
;
28653 resultptr
= new wxSize((wxSize
&) result
);
28654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28662 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
;
28664 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28665 wxWindow
*arg2
= (wxWindow
*) 0 ;
28666 PyObject
* obj0
= 0 ;
28667 PyObject
* obj1
= 0 ;
28668 char *kwnames
[] = {
28669 (char *) "self",(char *) "child", NULL
28672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 (arg1
)->base_AddChild(arg2
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 Py_INCREF(Py_None
); resultobj
= Py_None
;
28691 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
;
28693 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28694 wxWindow
*arg2
= (wxWindow
*) 0 ;
28695 PyObject
* obj0
= 0 ;
28696 PyObject
* obj1
= 0 ;
28697 char *kwnames
[] = {
28698 (char *) "self",(char *) "child", NULL
28701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28708 (arg1
)->base_RemoveChild(arg2
);
28710 wxPyEndAllowThreads(__tstate
);
28711 if (PyErr_Occurred()) SWIG_fail
;
28713 Py_INCREF(Py_None
); resultobj
= Py_None
;
28720 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28721 PyObject
*resultobj
;
28722 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28724 PyObject
* obj0
= 0 ;
28725 char *kwnames
[] = {
28726 (char *) "self", NULL
28729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 result
= (bool)(arg1
)->base_ShouldInheritColours();
28736 wxPyEndAllowThreads(__tstate
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28748 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28749 PyObject
*resultobj
;
28750 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28751 wxColour
*arg2
= 0 ;
28753 PyObject
* obj0
= 0 ;
28754 PyObject
* obj1
= 0 ;
28755 char *kwnames
[] = {
28756 (char *) "self",(char *) "c", NULL
28759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28764 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28768 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28773 Py_INCREF(Py_None
); resultobj
= Py_None
;
28780 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28783 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28785 return Py_BuildValue((char *)"");
28787 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28788 PyObject
*resultobj
;
28789 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28790 int arg2
= (int) 0 ;
28791 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28792 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28793 wxHelpEvent
*result
;
28795 PyObject
* obj0
= 0 ;
28796 PyObject
* obj1
= 0 ;
28797 PyObject
* obj2
= 0 ;
28798 char *kwnames
[] = {
28799 (char *) "type",(char *) "winid",(char *) "pt", NULL
28802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28804 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28808 arg2
= (int) SWIG_AsInt(obj1
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28814 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28831 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28832 PyObject
*resultobj
;
28833 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28835 PyObject
* obj0
= 0 ;
28836 char *kwnames
[] = {
28837 (char *) "self", NULL
28840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28851 wxPoint
* resultptr
;
28852 resultptr
= new wxPoint((wxPoint
&) result
);
28853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28861 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
;
28863 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28864 wxPoint
*arg2
= 0 ;
28866 PyObject
* obj0
= 0 ;
28867 PyObject
* obj1
= 0 ;
28868 char *kwnames
[] = {
28869 (char *) "self",(char *) "pos", NULL
28872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28877 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28886 Py_INCREF(Py_None
); resultobj
= Py_None
;
28893 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28894 PyObject
*resultobj
;
28895 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28897 PyObject
* obj0
= 0 ;
28898 char *kwnames
[] = {
28899 (char *) "self", NULL
28902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28908 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28909 result
= (wxString
*) &_result_ref
;
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28919 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28928 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28929 PyObject
*resultobj
;
28930 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28931 wxString
*arg2
= 0 ;
28932 bool temp2
= False
;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 char *kwnames
[] = {
28936 (char *) "self",(char *) "link", NULL
28939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28943 arg2
= wxString_in_helper(obj1
);
28944 if (arg2
== NULL
) SWIG_fail
;
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 (arg1
)->SetLink((wxString
const &)*arg2
);
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 Py_INCREF(Py_None
); resultobj
= Py_None
;
28969 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
;
28971 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28973 PyObject
* obj0
= 0 ;
28974 char *kwnames
[] = {
28975 (char *) "self", NULL
28978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28985 result
= (wxString
*) &_result_ref
;
28988 wxPyEndAllowThreads(__tstate
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28993 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28995 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29004 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
;
29006 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29007 wxString
*arg2
= 0 ;
29008 bool temp2
= False
;
29009 PyObject
* obj0
= 0 ;
29010 PyObject
* obj1
= 0 ;
29011 char *kwnames
[] = {
29012 (char *) "self",(char *) "target", NULL
29015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29019 arg2
= wxString_in_helper(obj1
);
29020 if (arg2
== NULL
) SWIG_fail
;
29024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29025 (arg1
)->SetTarget((wxString
const &)*arg2
);
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29030 Py_INCREF(Py_None
); resultobj
= Py_None
;
29045 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29048 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29050 return Py_BuildValue((char *)"");
29052 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29053 PyObject
*resultobj
;
29054 wxWindow
*arg1
= (wxWindow
*) NULL
;
29055 bool arg2
= (bool) True
;
29056 wxContextHelp
*result
;
29057 PyObject
* obj0
= 0 ;
29058 PyObject
* obj1
= 0 ;
29059 char *kwnames
[] = {
29060 (char *) "window",(char *) "doNow", NULL
29063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29069 arg2
= (bool) SWIG_AsBool(obj1
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29076 wxPyEndAllowThreads(__tstate
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29086 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29087 PyObject
*resultobj
;
29088 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29089 PyObject
* obj0
= 0 ;
29090 char *kwnames
[] = {
29091 (char *) "self", NULL
29094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29104 Py_INCREF(Py_None
); resultobj
= Py_None
;
29111 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
;
29113 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29114 wxWindow
*arg2
= (wxWindow
*) NULL
;
29116 PyObject
* obj0
= 0 ;
29117 PyObject
* obj1
= 0 ;
29118 char *kwnames
[] = {
29119 (char *) "self",(char *) "window", NULL
29122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29131 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29133 wxPyEndAllowThreads(__tstate
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29145 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29146 PyObject
*resultobj
;
29147 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29149 PyObject
* obj0
= 0 ;
29150 char *kwnames
[] = {
29151 (char *) "self", NULL
29154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29159 result
= (bool)(arg1
)->EndContextHelp();
29161 wxPyEndAllowThreads(__tstate
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29173 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29176 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29178 return Py_BuildValue((char *)"");
29180 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29181 PyObject
*resultobj
;
29182 wxWindow
*arg1
= (wxWindow
*) 0 ;
29183 int arg2
= (int) wxID_CONTEXT_HELP
;
29184 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29185 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29186 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29187 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29188 long arg5
= (long) wxBU_AUTODRAW
;
29189 wxContextHelpButton
*result
;
29192 PyObject
* obj0
= 0 ;
29193 PyObject
* obj1
= 0 ;
29194 PyObject
* obj2
= 0 ;
29195 PyObject
* obj3
= 0 ;
29196 PyObject
* obj4
= 0 ;
29197 char *kwnames
[] = {
29198 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29205 arg2
= (int) SWIG_AsInt(obj1
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29211 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29217 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29221 arg5
= (long) SWIG_AsLong(obj4
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29238 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29241 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29243 return Py_BuildValue((char *)"");
29245 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29246 PyObject
*resultobj
;
29247 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29248 wxHelpProvider
*result
;
29249 PyObject
* obj0
= 0 ;
29250 char *kwnames
[] = {
29251 (char *) "helpProvider", NULL
29254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29271 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
;
29273 wxHelpProvider
*result
;
29274 char *kwnames
[] = {
29278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29281 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29283 wxPyEndAllowThreads(__tstate
);
29284 if (PyErr_Occurred()) SWIG_fail
;
29286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29293 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29294 PyObject
*resultobj
;
29295 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29296 wxWindow
*arg2
= (wxWindow
*) 0 ;
29298 PyObject
* obj0
= 0 ;
29299 PyObject
* obj1
= 0 ;
29300 char *kwnames
[] = {
29301 (char *) "self",(char *) "window", NULL
29304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29329 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29330 PyObject
*resultobj
;
29331 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29332 wxWindow
*arg2
= (wxWindow
*) 0 ;
29334 PyObject
* obj0
= 0 ;
29335 PyObject
* obj1
= 0 ;
29336 char *kwnames
[] = {
29337 (char *) "self",(char *) "window", NULL
29340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 result
= (bool)(arg1
)->ShowHelp(arg2
);
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29361 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29362 PyObject
*resultobj
;
29363 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29364 wxWindow
*arg2
= (wxWindow
*) 0 ;
29365 wxString
*arg3
= 0 ;
29366 bool temp3
= False
;
29367 PyObject
* obj0
= 0 ;
29368 PyObject
* obj1
= 0 ;
29369 PyObject
* obj2
= 0 ;
29370 char *kwnames
[] = {
29371 (char *) "self",(char *) "window",(char *) "text", NULL
29374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29380 arg3
= wxString_in_helper(obj2
);
29381 if (arg3
== NULL
) SWIG_fail
;
29385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29386 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29388 wxPyEndAllowThreads(__tstate
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29391 Py_INCREF(Py_None
); resultobj
= Py_None
;
29406 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
;
29408 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29410 wxString
*arg3
= 0 ;
29411 bool temp3
= False
;
29412 PyObject
* obj0
= 0 ;
29413 PyObject
* obj1
= 0 ;
29414 PyObject
* obj2
= 0 ;
29415 char *kwnames
[] = {
29416 (char *) "self",(char *) "id",(char *) "text", NULL
29419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29422 arg2
= (int) SWIG_AsInt(obj1
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 arg3
= wxString_in_helper(obj2
);
29426 if (arg3
== NULL
) SWIG_fail
;
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29431 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 Py_INCREF(Py_None
); resultobj
= Py_None
;
29451 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
;
29453 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29454 wxWindow
*arg2
= (wxWindow
*) 0 ;
29455 PyObject
* obj0
= 0 ;
29456 PyObject
* obj1
= 0 ;
29457 char *kwnames
[] = {
29458 (char *) "self",(char *) "window", NULL
29461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 (arg1
)->RemoveHelp(arg2
);
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29473 Py_INCREF(Py_None
); resultobj
= Py_None
;
29480 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29481 PyObject
*resultobj
;
29482 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29483 PyObject
* obj0
= 0 ;
29484 char *kwnames
[] = {
29485 (char *) "self", NULL
29488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29493 wxHelpProvider_Destroy(arg1
);
29495 wxPyEndAllowThreads(__tstate
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29498 Py_INCREF(Py_None
); resultobj
= Py_None
;
29505 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29508 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29510 return Py_BuildValue((char *)"");
29512 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
;
29514 wxSimpleHelpProvider
*result
;
29515 char *kwnames
[] = {
29519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29522 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29534 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29537 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29539 return Py_BuildValue((char *)"");
29541 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
;
29543 wxBitmap
*arg1
= 0 ;
29544 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29545 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29546 wxGenericDragImage
*result
;
29547 PyObject
* obj0
= 0 ;
29548 PyObject
* obj1
= 0 ;
29549 char *kwnames
[] = {
29550 (char *) "image",(char *) "cursor", NULL
29553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29557 if (arg1
== NULL
) {
29558 PyErr_SetString(PyExc_TypeError
,"null reference");
29562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29565 if (arg2
== NULL
) {
29566 PyErr_SetString(PyExc_TypeError
,"null reference");
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29574 wxPyEndAllowThreads(__tstate
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29584 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29585 PyObject
*resultobj
;
29587 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29588 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29589 wxGenericDragImage
*result
;
29590 PyObject
* obj0
= 0 ;
29591 PyObject
* obj1
= 0 ;
29592 char *kwnames
[] = {
29593 (char *) "image",(char *) "cursor", NULL
29596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29600 if (arg1
== NULL
) {
29601 PyErr_SetString(PyExc_TypeError
,"null reference");
29605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29608 if (arg2
== NULL
) {
29609 PyErr_SetString(PyExc_TypeError
,"null reference");
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29627 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29628 PyObject
*resultobj
;
29629 wxString
*arg1
= 0 ;
29630 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29631 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29632 wxGenericDragImage
*result
;
29633 bool temp1
= False
;
29634 PyObject
* obj0
= 0 ;
29635 PyObject
* obj1
= 0 ;
29636 char *kwnames
[] = {
29637 (char *) "str",(char *) "cursor", NULL
29640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29642 arg1
= wxString_in_helper(obj0
);
29643 if (arg1
== NULL
) SWIG_fail
;
29647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29650 if (arg2
== NULL
) {
29651 PyErr_SetString(PyExc_TypeError
,"null reference");
29656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29657 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29677 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29678 PyObject
*resultobj
;
29679 wxPyTreeCtrl
*arg1
= 0 ;
29680 wxTreeItemId
*arg2
= 0 ;
29681 wxGenericDragImage
*result
;
29682 PyObject
* obj0
= 0 ;
29683 PyObject
* obj1
= 0 ;
29684 char *kwnames
[] = {
29685 (char *) "treeCtrl",(char *) "id", NULL
29688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29692 if (arg1
== NULL
) {
29693 PyErr_SetString(PyExc_TypeError
,"null reference");
29696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29699 if (arg2
== NULL
) {
29700 PyErr_SetString(PyExc_TypeError
,"null reference");
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29717 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
;
29719 wxPyListCtrl
*arg1
= 0 ;
29721 wxGenericDragImage
*result
;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 char *kwnames
[] = {
29725 (char *) "listCtrl",(char *) "id", NULL
29728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29732 if (arg1
== NULL
) {
29733 PyErr_SetString(PyExc_TypeError
,"null reference");
29736 arg2
= (long) SWIG_AsLong(obj1
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29752 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
;
29754 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29755 PyObject
* obj0
= 0 ;
29756 char *kwnames
[] = {
29757 (char *) "self", NULL
29760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 wxPyEndAllowThreads(__tstate
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29770 Py_INCREF(Py_None
); resultobj
= Py_None
;
29777 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29778 PyObject
*resultobj
;
29779 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29780 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29781 PyObject
* obj0
= 0 ;
29782 PyObject
* obj1
= 0 ;
29783 char *kwnames
[] = {
29784 (char *) "self",(char *) "bitmap", NULL
29787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29794 (arg1
)->SetBackingBitmap(arg2
);
29796 wxPyEndAllowThreads(__tstate
);
29797 if (PyErr_Occurred()) SWIG_fail
;
29799 Py_INCREF(Py_None
); resultobj
= Py_None
;
29806 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29807 PyObject
*resultobj
;
29808 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29809 wxPoint
*arg2
= 0 ;
29810 wxWindow
*arg3
= (wxWindow
*) 0 ;
29811 bool arg4
= (bool) False
;
29812 wxRect
*arg5
= (wxRect
*) NULL
;
29815 PyObject
* obj0
= 0 ;
29816 PyObject
* obj1
= 0 ;
29817 PyObject
* obj2
= 0 ;
29818 PyObject
* obj3
= 0 ;
29819 PyObject
* obj4
= 0 ;
29820 char *kwnames
[] = {
29821 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29831 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29834 arg4
= (bool) SWIG_AsBool(obj3
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29838 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29857 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29858 PyObject
*resultobj
;
29859 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29860 wxPoint
*arg2
= 0 ;
29861 wxWindow
*arg3
= (wxWindow
*) 0 ;
29862 wxWindow
*arg4
= (wxWindow
*) 0 ;
29865 PyObject
* obj0
= 0 ;
29866 PyObject
* obj1
= 0 ;
29867 PyObject
* obj2
= 0 ;
29868 PyObject
* obj3
= 0 ;
29869 char *kwnames
[] = {
29870 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29880 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29882 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29886 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29888 wxPyEndAllowThreads(__tstate
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29900 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29901 PyObject
*resultobj
;
29902 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29904 PyObject
* obj0
= 0 ;
29905 char *kwnames
[] = {
29906 (char *) "self", NULL
29909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29914 result
= (bool)(arg1
)->EndDrag();
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29928 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29929 PyObject
*resultobj
;
29930 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29931 wxPoint
*arg2
= 0 ;
29934 PyObject
* obj0
= 0 ;
29935 PyObject
* obj1
= 0 ;
29936 char *kwnames
[] = {
29937 (char *) "self",(char *) "pt", NULL
29940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29945 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29963 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29964 PyObject
*resultobj
;
29965 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29967 PyObject
* obj0
= 0 ;
29968 char *kwnames
[] = {
29969 (char *) "self", NULL
29972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29977 result
= (bool)(arg1
)->Show();
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29991 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29992 PyObject
*resultobj
;
29993 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29995 PyObject
* obj0
= 0 ;
29996 char *kwnames
[] = {
29997 (char *) "self", NULL
30000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30005 result
= (bool)(arg1
)->Hide();
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30019 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30020 PyObject
*resultobj
;
30021 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30022 wxPoint
*arg2
= 0 ;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 char *kwnames
[] = {
30028 (char *) "self",(char *) "pos", NULL
30031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30036 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30040 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30042 wxPyEndAllowThreads(__tstate
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30046 wxRect
* resultptr
;
30047 resultptr
= new wxRect((wxRect
&) result
);
30048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30056 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30057 PyObject
*resultobj
;
30058 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30060 wxPoint
*arg3
= 0 ;
30063 PyObject
* obj0
= 0 ;
30064 PyObject
* obj1
= 0 ;
30065 PyObject
* obj2
= 0 ;
30066 char *kwnames
[] = {
30067 (char *) "self",(char *) "dc",(char *) "pos", NULL
30070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30076 if (arg2
== NULL
) {
30077 PyErr_SetString(PyExc_TypeError
,"null reference");
30082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30086 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30100 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30101 PyObject
*resultobj
;
30102 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30104 wxMemoryDC
*arg3
= 0 ;
30110 PyObject
* obj0
= 0 ;
30111 PyObject
* obj1
= 0 ;
30112 PyObject
* obj2
= 0 ;
30113 PyObject
* obj3
= 0 ;
30114 PyObject
* obj4
= 0 ;
30115 char *kwnames
[] = {
30116 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30125 if (arg2
== NULL
) {
30126 PyErr_SetString(PyExc_TypeError
,"null reference");
30129 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30132 if (arg3
== NULL
) {
30133 PyErr_SetString(PyExc_TypeError
,"null reference");
30138 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30142 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30160 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30161 PyObject
*resultobj
;
30162 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30163 wxPoint
*arg2
= 0 ;
30164 wxPoint
*arg3
= 0 ;
30170 PyObject
* obj0
= 0 ;
30171 PyObject
* obj1
= 0 ;
30172 PyObject
* obj2
= 0 ;
30173 PyObject
* obj3
= 0 ;
30174 PyObject
* obj4
= 0 ;
30175 char *kwnames
[] = {
30176 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30184 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30188 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30190 arg4
= (bool) SWIG_AsBool(obj3
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30192 arg5
= (bool) SWIG_AsBool(obj4
);
30193 if (PyErr_Occurred()) SWIG_fail
;
30195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30196 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30210 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30213 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30215 return Py_BuildValue((char *)"");
30217 static PyMethodDef SwigMethods
[] = {
30218 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30222 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30224 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30232 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30239 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30241 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30250 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30251 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30257 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30260 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30275 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30277 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30283 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30288 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30289 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30290 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30292 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30298 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30300 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30302 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30309 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30310 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30332 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30341 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30342 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30343 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30350 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30371 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30425 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30430 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30433 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30441 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30453 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30464 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30468 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30485 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30491 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30512 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30516 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30519 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30523 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30543 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30549 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30551 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30558 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30560 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30565 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30567 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30572 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30577 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30580 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30603 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30607 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30611 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30630 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30638 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30646 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30652 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30657 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30660 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30669 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30673 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30677 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30704 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30720 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30721 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30728 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30729 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30743 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30745 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30748 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30751 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30752 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30753 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30754 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30755 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30756 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30757 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30759 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30760 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30762 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30763 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30764 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30765 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30766 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30768 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30770 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30771 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30772 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30773 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30774 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30775 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30778 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30779 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30781 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30783 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30786 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30789 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30791 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30792 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30794 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30796 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30798 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30799 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30800 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30801 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30802 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30803 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30804 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30805 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30806 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30807 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30808 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30809 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30810 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30811 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30812 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30813 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30814 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30815 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30816 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30817 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30818 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30819 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30820 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30821 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30822 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30823 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30824 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30825 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30826 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30827 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30828 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30829 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30830 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30831 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30832 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30833 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30834 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30835 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30836 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30837 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30838 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30839 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30840 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30841 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30842 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30843 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30844 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30845 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30846 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30847 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30848 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30849 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30850 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30851 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30852 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30853 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30854 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30855 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30856 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30857 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30858 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30859 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30860 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30861 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30862 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30863 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30864 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30865 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30866 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30867 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30868 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30869 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30870 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30871 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30872 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30873 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30874 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30875 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30876 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30877 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30878 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30879 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30880 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30881 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30882 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30883 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30884 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30885 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30886 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30887 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30888 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30889 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30890 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30891 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30892 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30893 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30894 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30895 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30896 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30897 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30898 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30899 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30900 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30901 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30902 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30903 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30904 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30905 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30906 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30907 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30908 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30909 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30910 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30911 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30912 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30913 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30914 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30915 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30916 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30917 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30918 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30919 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30920 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30921 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30922 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30923 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30924 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30925 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30926 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30927 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30928 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30929 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30930 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30931 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30932 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30933 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30934 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30935 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30936 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30937 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30938 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30939 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30940 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30941 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30942 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30943 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30944 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30945 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30946 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30947 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30948 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30949 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30950 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30951 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30952 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30953 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30954 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30955 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30956 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30957 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30958 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30959 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30960 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30961 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30962 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30963 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30964 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30965 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
30966 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30967 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30968 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30969 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30970 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30971 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30972 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30973 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30974 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30975 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30976 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30977 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30978 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30979 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30980 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30981 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30982 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30983 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30984 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30985 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
30986 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30987 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30988 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30989 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30990 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30991 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30992 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30993 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30994 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30995 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30996 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30997 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30998 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30999 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31000 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31001 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31002 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31003 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31004 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31005 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31006 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31007 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31008 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31009 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31010 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31011 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31012 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31013 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31014 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31015 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31016 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31017 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31018 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31019 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31020 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31021 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31022 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31023 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31026 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31036 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31038 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31039 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31041 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31042 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31044 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31045 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31047 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31048 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31050 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31051 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31053 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31054 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31056 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31057 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31059 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31060 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31062 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31063 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31065 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31066 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31068 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31069 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31071 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31072 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31074 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31075 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31077 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31078 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31080 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31081 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31083 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31084 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31086 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31087 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31089 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31090 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31092 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31095 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31096 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31098 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31099 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31101 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31102 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31104 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31105 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31107 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31108 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31110 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31111 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31113 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31114 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31116 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31117 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31119 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31120 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31122 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31123 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31125 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31126 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31128 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31129 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31131 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31132 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31134 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31135 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31137 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31138 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31140 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31141 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31143 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31144 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31146 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31147 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31149 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31150 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31152 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31153 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31155 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31156 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31158 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31159 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31161 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31162 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31164 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31165 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31167 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31168 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31170 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31171 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31173 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31174 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31176 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31177 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31179 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31180 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31182 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31183 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31185 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31186 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31188 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31189 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31191 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31192 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31194 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31195 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31197 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31198 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
31200 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31201 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31203 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31204 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31206 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31207 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31209 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31210 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31212 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31213 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31215 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31216 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31218 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31219 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31221 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31222 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31224 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31225 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31227 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31228 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31230 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31231 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31233 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31234 return (void *)((wxControl
*) ((wxComboBox
*) x
));
31236 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31237 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31239 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31240 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31242 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31243 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31245 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31246 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31248 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31249 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31251 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31252 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31254 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31255 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31257 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31258 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31260 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31261 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31263 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31264 return (void *)((wxControl
*) ((wxGauge
*) x
));
31266 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31267 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31269 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31270 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31272 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31273 return (void *)((wxControl
*) ((wxButton
*) x
));
31275 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31276 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31278 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31279 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31281 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31282 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31284 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31285 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31287 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31288 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31290 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31291 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31293 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31294 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31296 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31297 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31299 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31300 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31302 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31303 return (void *)((wxControl
*) ((wxSlider
*) x
));
31305 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31306 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31308 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31309 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31311 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31312 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31314 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31315 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31317 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31318 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31320 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31321 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31323 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31324 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31326 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31327 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31329 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31330 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31332 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31333 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31335 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31336 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31338 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31339 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31341 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31344 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31345 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31347 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31348 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31350 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31351 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31353 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31356 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31357 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31359 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31362 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31363 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31365 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31366 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31368 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31369 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31371 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31374 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31377 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31380 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31381 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31383 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31386 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31387 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31389 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31390 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31392 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31395 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31398 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31401 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31404 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31407 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31410 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31413 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31414 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31416 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31419 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31422 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31425 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31428 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31431 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31434 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31437 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31440 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31443 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31446 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31449 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31452 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31455 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31458 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31461 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31462 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31464 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31465 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31467 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31468 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31470 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31471 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31473 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31474 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31476 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31477 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31479 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31480 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31482 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31483 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31485 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31486 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31488 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31489 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31491 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31492 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31494 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31495 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31497 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31500 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31501 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31503 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31504 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31506 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31507 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31509 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31510 return (void *)((wxObject
*) ((wxSizer
*) x
));
31512 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31513 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31515 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31518 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31521 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31522 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31524 static void *_p_wxEventTo_p_wxObject(void *x
) {
31525 return (void *)((wxObject
*) ((wxEvent
*) x
));
31527 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31528 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31530 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31531 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31533 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31534 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31536 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31539 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31540 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31542 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31545 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31546 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31548 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31549 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31551 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31552 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31554 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31555 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31557 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31558 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31560 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31561 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31563 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31566 static void *_p_wxControlTo_p_wxObject(void *x
) {
31567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31569 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31572 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31575 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31578 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31581 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31584 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31585 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31587 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31590 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31591 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31593 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31594 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31596 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31599 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31602 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31605 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31606 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31608 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31611 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31614 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31615 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31617 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31620 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31623 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31624 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31626 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31627 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31629 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31630 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31632 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31633 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31635 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31636 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31638 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31639 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31641 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31642 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31644 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31645 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31647 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31648 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31650 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31653 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31654 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31656 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31657 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31659 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31660 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31662 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31663 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31665 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31666 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31668 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31669 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31671 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31674 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31675 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31677 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31678 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31680 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31681 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31683 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31684 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31686 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31687 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31689 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31690 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31692 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31693 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31695 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31696 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31698 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31701 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31704 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31707 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31710 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31713 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31716 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31719 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31720 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31722 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31725 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31728 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31731 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31734 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31735 return (void *)((wxObject
*) ((wxListItem
*) x
));
31737 static void *_p_wxImageTo_p_wxObject(void *x
) {
31738 return (void *)((wxObject
*) ((wxImage
*) x
));
31740 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31741 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31743 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31744 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31746 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31749 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31750 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31752 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31755 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31756 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31758 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31759 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31761 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31762 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31764 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31765 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31767 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31768 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31770 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31771 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31773 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31774 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31776 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31779 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31780 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31782 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31783 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31785 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31786 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31788 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31789 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31791 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31792 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31794 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31795 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31797 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31798 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31800 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31801 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31803 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31804 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31806 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31807 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31809 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31812 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31813 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31815 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31816 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31818 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31819 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31821 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31824 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31825 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31827 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31830 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31833 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31834 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31836 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31837 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31839 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31840 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31842 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31843 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31845 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31846 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31848 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31849 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31851 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31852 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31854 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31855 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31857 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31858 return (void *)((wxWindow
*) ((wxControl
*) x
));
31860 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31861 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31863 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31864 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31866 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31867 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31869 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31870 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31872 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31873 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31875 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31876 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31878 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31879 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31881 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31882 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31884 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31885 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31887 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31888 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31890 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31891 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31893 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31894 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31896 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31897 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31899 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31900 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31902 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31903 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31905 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31906 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31908 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31909 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31911 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31912 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31914 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31915 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31917 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31918 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31920 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31921 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31923 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31924 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31926 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31927 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31929 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31930 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31932 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31933 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31935 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31936 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31938 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31939 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31941 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31942 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31944 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31945 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31947 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31948 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31950 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31951 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31953 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31954 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31956 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31957 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31959 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31960 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31962 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31963 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31965 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31966 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31968 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31969 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31971 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31972 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31974 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31975 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31977 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31978 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31980 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31981 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31983 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31984 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31986 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31987 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31989 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31990 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31992 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31993 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31995 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31996 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31998 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31999 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32001 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32002 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32004 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32005 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32007 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}};
32008 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}};
32009 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}};
32010 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}};
32011 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}};
32012 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}};
32013 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}};
32014 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}};
32015 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}};
32016 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}};
32017 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}};
32018 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}};
32019 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}};
32020 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}};
32021 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}};
32022 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}};
32023 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}};
32024 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}};
32025 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}};
32026 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}};
32027 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}};
32028 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}};
32029 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}};
32030 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}};
32031 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}};
32032 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}};
32033 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}};
32034 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}};
32035 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}};
32036 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}};
32037 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}};
32038 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}};
32039 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}};
32040 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}};
32041 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}};
32042 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}};
32043 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}};
32044 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}};
32045 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}};
32046 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}};
32047 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}};
32048 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}};
32049 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}};
32050 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}};
32051 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}};
32052 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}};
32053 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}};
32054 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}};
32055 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}};
32056 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}};
32057 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}};
32058 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}};
32059 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}};
32060 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}};
32061 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}};
32062 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}};
32063 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}};
32064 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}};
32065 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}};
32066 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}};
32067 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}};
32068 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}};
32069 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}};
32070 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}};
32071 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}};
32072 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}};
32073 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}};
32074 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}};
32075 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}};
32076 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}};
32077 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}};
32078 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}};
32079 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}};
32080 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}};
32081 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}};
32082 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}};
32083 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}};
32084 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}};
32085 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}};
32086 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}};
32087 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}};
32088 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}};
32089 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}};
32090 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}};
32091 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}};
32093 static swig_type_info
*swig_types_initial
[] = {
32094 _swigt__p_wxTextUrlEvent
,
32095 _swigt__p_wxBookCtrlEvent
,
32097 _swigt__p_wxCheckBox
,
32098 _swigt__p_wxPyTreeCtrl
,
32100 _swigt__p_wxGenericDirCtrl
,
32102 _swigt__p_wxPyTreeItemData
,
32103 _swigt__p_wxItemContainer
,
32104 _swigt__p_wxPyListCtrl
,
32105 _swigt__p_wxDirFilterListCtrl
,
32106 _swigt__p_wxStaticLine
,
32107 _swigt__p_wxControl
,
32108 _swigt__p_wxPyControl
,
32110 _swigt__p_wxToolBarBase
,
32112 _swigt__p_wxToggleButton
,
32113 _swigt__p_wxRadioButton
,
32114 _swigt__p_wxChoice
,
32115 _swigt__p_wxMemoryDC
,
32116 _swigt__p_wxListItemAttr
,
32121 _swigt__p_wxListView
,
32123 _swigt__p_wxVisualAttributes
,
32124 _swigt__p_wxTextCtrl
,
32125 _swigt__p_wxNotebook
,
32126 _swigt__p_wxNotifyEvent
,
32127 _swigt__p_wxArrayString
,
32128 _swigt__p_wxListbook
,
32129 _swigt__p_wxStaticBitmap
,
32130 _swigt__p_wxSlider
,
32131 _swigt__p_wxStaticBox
,
32132 _swigt__p_wxArrayInt
,
32133 _swigt__p_wxContextHelp
,
32135 _swigt__p_wxEvtHandler
,
32136 _swigt__p_wxListEvent
,
32137 _swigt__p_wxCheckListBox
,
32138 _swigt__p_wxListBox
,
32139 _swigt__p_wxBookCtrl
,
32140 _swigt__p_wxSpinButton
,
32141 _swigt__p_wxButton
,
32142 _swigt__p_wxBitmapButton
,
32144 _swigt__p_wxContextHelpButton
,
32145 _swigt__p_wxRadioBox
,
32146 _swigt__p_wxScrollBar
,
32148 _swigt__p_wxTreeItemId
,
32149 _swigt__p_wxComboBox
,
32150 _swigt__p_wxHelpEvent
,
32151 _swigt__p_wxListItem
,
32152 _swigt__p_wxNotebookSizer
,
32153 _swigt__p_wxSpinEvent
,
32154 _swigt__p_wxGenericDragImage
,
32155 _swigt__p_wxSpinCtrl
,
32156 _swigt__p_wxImageList
,
32157 _swigt__p_wxHelpProvider
,
32158 _swigt__p_wxTextAttr
,
32159 _swigt__p_wxSimpleHelpProvider
,
32161 _swigt__p_wxListbookEvent
,
32162 _swigt__p_wxNotebookEvent
,
32163 _swigt__p_wxObject
,
32164 _swigt__p_wxCursor
,
32165 _swigt__p_wxKeyEvent
,
32166 _swigt__p_wxWindow
,
32167 _swigt__p_wxString
,
32168 _swigt__p_wxBitmap
,
32169 _swigt__p_wxTreeEvent
,
32170 _swigt__p_wxMouseEvent
,
32171 _swigt__p_wxCommandEvent
,
32172 _swigt__p_wxStaticText
,
32173 _swigt__p_wxControlWithItems
,
32174 _swigt__p_wxToolBarToolBase
,
32175 _swigt__p_wxColour
,
32176 _swigt__p_wxToolBar
,
32177 _swigt__p_wxBookCtrlSizer
,
32178 _swigt__p_wxValidator
,
32183 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32185 static swig_const_info swig_const_table
[] = {
32195 SWIGEXPORT(void) SWIG_init(void) {
32196 static PyObject
*SWIG_globals
= 0;
32197 static int typeinit
= 0;
32200 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32201 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32202 d
= PyModule_GetDict(m
);
32205 for (i
= 0; swig_types_initial
[i
]; i
++) {
32206 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32210 SWIG_InstallConstants(d
,swig_const_table
);
32212 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32213 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32214 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32215 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32216 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32217 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32218 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32219 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32220 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32221 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32222 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32223 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32224 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32225 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32226 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32227 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32228 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32229 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32230 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32231 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32232 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32233 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32234 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32235 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32236 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32237 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32238 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32239 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32240 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32241 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32242 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32243 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32244 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32245 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32246 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32247 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32248 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32249 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32250 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32251 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32252 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32253 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32254 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32255 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32256 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32257 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32258 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32259 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32260 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32261 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32262 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32263 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32264 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32265 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32266 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32267 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32268 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32269 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32270 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32271 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32272 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32273 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32274 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32275 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32276 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32277 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32278 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32279 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32280 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32281 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32282 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32283 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32284 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32285 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32286 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32287 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32288 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32289 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32290 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32291 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32292 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32293 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32294 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32295 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32296 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32297 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32298 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32299 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32300 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32301 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32302 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32303 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32304 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32305 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32306 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32307 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32308 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32309 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32310 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32311 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32312 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32313 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32314 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32315 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32316 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32317 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32318 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32319 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32320 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32321 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32322 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32323 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32324 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32325 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32326 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32327 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32328 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32329 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32330 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32331 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32332 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32333 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32334 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32335 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32336 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32337 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32338 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32339 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32340 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32341 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32342 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32343 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32344 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32345 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32346 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32347 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32348 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32349 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32350 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32351 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32352 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32353 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32354 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32355 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32356 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32357 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32358 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32359 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32360 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32361 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32362 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32363 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32364 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32365 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32366 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32367 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32368 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32369 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32370 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32371 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32372 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32373 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32374 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32375 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32376 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32377 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32378 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32379 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32380 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32381 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32382 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32383 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32384 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32385 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32386 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32387 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32388 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32389 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32390 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32391 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32392 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32393 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32394 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32395 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32396 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32397 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32398 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32399 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32400 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32401 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32402 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32403 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32404 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32405 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32406 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32407 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32408 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32409 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32410 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32411 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32412 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32413 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32414 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32415 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32416 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32417 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32418 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32419 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32420 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32421 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32422 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32424 // Map renamed classes back to their common name for OOR
32425 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32427 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32428 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32429 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32430 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32431 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32432 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32433 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32434 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32435 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32436 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32437 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32438 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32439 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32440 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32441 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32442 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32443 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32444 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32445 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32446 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32447 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32448 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32449 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32450 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32451 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32452 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32453 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32454 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32455 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32456 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32457 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32458 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32459 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32460 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32461 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32462 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32463 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32464 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32465 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32466 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32467 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32468 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32469 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32470 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32471 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32472 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32473 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32474 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32475 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32476 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32477 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32478 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32479 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32480 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32481 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32482 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32484 // Map renamed classes back to their common name for OOR
32485 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32486 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32488 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32489 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32490 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32491 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32492 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32493 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32494 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32495 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32496 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32497 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32499 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");