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 ;
2388 int arg2
= (int) -1 ;
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 *)"O|OOOOOOO: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
;
2421 arg2
= (int) SWIG_AsInt(obj1
);
2422 if (PyErr_Occurred()) SWIG_fail
;
2427 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2433 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2438 if (! PySequence_Check(obj4
)) {
2439 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2442 arg5
= new wxArrayString
;
2444 int i
, len
=PySequence_Length(obj4
);
2445 for (i
=0; i
<len
; i
++) {
2446 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2448 PyObject
* str
= PyObject_Unicode(item
);
2450 PyObject
* str
= PyObject_Str(item
);
2452 if (PyErr_Occurred()) SWIG_fail
;
2453 arg5
->Add(Py2wxString(str
));
2460 arg6
= (long) SWIG_AsLong(obj5
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2464 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2468 PyErr_SetString(PyExc_TypeError
,"null reference");
2474 arg8
= wxString_in_helper(obj7
);
2475 if (arg8
== NULL
) SWIG_fail
;
2480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2488 if (temp5
) delete arg5
;
2497 if (temp5
) delete arg5
;
2507 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
*resultobj
;
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2517 result
= (wxChoice
*)new wxChoice();
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2529 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxChoice
*arg1
= (wxChoice
*) 0 ;
2532 wxWindow
*arg2
= (wxWindow
*) 0 ;
2533 int arg3
= (int) -1 ;
2534 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2535 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2536 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2537 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2538 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2539 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2540 long arg7
= (long) 0 ;
2541 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2542 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2543 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2544 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2548 bool temp6
= False
;
2549 bool temp9
= False
;
2550 PyObject
* obj0
= 0 ;
2551 PyObject
* obj1
= 0 ;
2552 PyObject
* obj2
= 0 ;
2553 PyObject
* obj3
= 0 ;
2554 PyObject
* obj4
= 0 ;
2555 PyObject
* obj5
= 0 ;
2556 PyObject
* obj6
= 0 ;
2557 PyObject
* obj7
= 0 ;
2558 PyObject
* obj8
= 0 ;
2560 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2569 arg3
= (int) SWIG_AsInt(obj2
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2575 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2581 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2586 if (! PySequence_Check(obj5
)) {
2587 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2590 arg6
= new wxArrayString
;
2592 int i
, len
=PySequence_Length(obj5
);
2593 for (i
=0; i
<len
; i
++) {
2594 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2596 PyObject
* str
= PyObject_Unicode(item
);
2598 PyObject
* str
= PyObject_Str(item
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2601 arg6
->Add(Py2wxString(str
));
2608 arg7
= (long) SWIG_AsLong(obj6
);
2609 if (PyErr_Occurred()) SWIG_fail
;
2612 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2616 PyErr_SetString(PyExc_TypeError
,"null reference");
2622 arg9
= wxString_in_helper(obj8
);
2623 if (arg9
== NULL
) SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2638 if (temp6
) delete arg6
;
2647 if (temp6
) delete arg6
;
2657 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
*resultobj
;
2659 wxChoice
*arg1
= (wxChoice
*) 0 ;
2661 PyObject
* obj0
= 0 ;
2662 PyObject
* obj1
= 0 ;
2664 (char *) "self",(char *) "n", NULL
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2670 arg2
= (int const) SWIG_AsInt(obj1
);
2671 if (PyErr_Occurred()) SWIG_fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 (arg1
)->SetSelection(arg2
);
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2679 Py_INCREF(Py_None
); resultobj
= Py_None
;
2686 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
*resultobj
;
2688 wxChoice
*arg1
= (wxChoice
*) 0 ;
2689 wxString
*arg2
= 0 ;
2690 bool temp2
= False
;
2691 PyObject
* obj0
= 0 ;
2692 PyObject
* obj1
= 0 ;
2694 (char *) "self",(char *) "string", NULL
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2701 arg2
= wxString_in_helper(obj1
);
2702 if (arg2
== NULL
) SWIG_fail
;
2706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2707 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2709 wxPyEndAllowThreads(__tstate
);
2710 if (PyErr_Occurred()) SWIG_fail
;
2712 Py_INCREF(Py_None
); resultobj
= Py_None
;
2727 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2729 wxChoice
*arg1
= (wxChoice
*) 0 ;
2731 wxString
*arg3
= 0 ;
2732 bool temp3
= False
;
2733 PyObject
* obj0
= 0 ;
2734 PyObject
* obj1
= 0 ;
2735 PyObject
* obj2
= 0 ;
2737 (char *) "self",(char *) "n",(char *) "string", NULL
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2743 arg2
= (int) SWIG_AsInt(obj1
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 arg3
= wxString_in_helper(obj2
);
2747 if (arg3
== NULL
) SWIG_fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 Py_INCREF(Py_None
); resultobj
= Py_None
;
2772 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2775 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2777 return Py_BuildValue((char *)"");
2779 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2780 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2785 static PyObject
*_wrap_ComboBoxNameStr_get() {
2790 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2792 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2799 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2801 wxWindow
*arg1
= (wxWindow
*) 0 ;
2802 int arg2
= (int) -1 ;
2803 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2804 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2805 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2806 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2807 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2808 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2809 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2810 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2811 long arg7
= (long) 0 ;
2812 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2813 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2814 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2815 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2817 bool temp3
= False
;
2820 bool temp6
= False
;
2821 bool temp9
= False
;
2822 PyObject
* obj0
= 0 ;
2823 PyObject
* obj1
= 0 ;
2824 PyObject
* obj2
= 0 ;
2825 PyObject
* obj3
= 0 ;
2826 PyObject
* obj4
= 0 ;
2827 PyObject
* obj5
= 0 ;
2828 PyObject
* obj6
= 0 ;
2829 PyObject
* obj7
= 0 ;
2830 PyObject
* obj8
= 0 ;
2832 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2839 arg2
= (int) SWIG_AsInt(obj1
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2844 arg3
= wxString_in_helper(obj2
);
2845 if (arg3
== NULL
) SWIG_fail
;
2852 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2858 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2863 if (! PySequence_Check(obj5
)) {
2864 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2867 arg6
= new wxArrayString
;
2869 int i
, len
=PySequence_Length(obj5
);
2870 for (i
=0; i
<len
; i
++) {
2871 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2873 PyObject
* str
= PyObject_Unicode(item
);
2875 PyObject
* str
= PyObject_Str(item
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2878 arg6
->Add(Py2wxString(str
));
2885 arg7
= (long) SWIG_AsLong(obj6
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2889 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2893 PyErr_SetString(PyExc_TypeError
,"null reference");
2899 arg9
= wxString_in_helper(obj8
);
2900 if (arg9
== NULL
) SWIG_fail
;
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 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
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2917 if (temp6
) delete arg6
;
2930 if (temp6
) delete arg6
;
2940 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2950 result
= (wxComboBox
*)new wxComboBox();
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2962 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
*resultobj
;
2964 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2965 wxWindow
*arg2
= (wxWindow
*) 0 ;
2966 int arg3
= (int) -1 ;
2967 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2968 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2969 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2970 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2971 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2972 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2973 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2974 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2975 long arg8
= (long) 0 ;
2976 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2977 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2978 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2979 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2981 bool temp4
= False
;
2984 bool temp7
= False
;
2985 bool temp10
= False
;
2986 PyObject
* obj0
= 0 ;
2987 PyObject
* obj1
= 0 ;
2988 PyObject
* obj2
= 0 ;
2989 PyObject
* obj3
= 0 ;
2990 PyObject
* obj4
= 0 ;
2991 PyObject
* obj5
= 0 ;
2992 PyObject
* obj6
= 0 ;
2993 PyObject
* obj7
= 0 ;
2994 PyObject
* obj8
= 0 ;
2995 PyObject
* obj9
= 0 ;
2997 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3006 arg3
= (int) SWIG_AsInt(obj2
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3011 arg4
= wxString_in_helper(obj3
);
3012 if (arg4
== NULL
) SWIG_fail
;
3019 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3025 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3030 if (! PySequence_Check(obj6
)) {
3031 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3034 arg7
= new wxArrayString
;
3036 int i
, len
=PySequence_Length(obj6
);
3037 for (i
=0; i
<len
; i
++) {
3038 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3040 PyObject
* str
= PyObject_Unicode(item
);
3042 PyObject
* str
= PyObject_Str(item
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3045 arg7
->Add(Py2wxString(str
));
3052 arg8
= (long) SWIG_AsLong(obj7
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3056 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3060 PyErr_SetString(PyExc_TypeError
,"null reference");
3066 arg10
= wxString_in_helper(obj9
);
3067 if (arg10
== NULL
) SWIG_fail
;
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 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
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3086 if (temp7
) delete arg7
;
3099 if (temp7
) delete arg7
;
3109 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
*resultobj
;
3111 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3113 PyObject
* obj0
= 0 ;
3115 (char *) "self", NULL
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 result
= ((wxComboBox
const *)arg1
)->GetValue();
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3141 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3144 wxString
*arg2
= 0 ;
3145 bool temp2
= False
;
3146 PyObject
* obj0
= 0 ;
3147 PyObject
* obj1
= 0 ;
3149 (char *) "self",(char *) "value", NULL
3152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3156 arg2
= wxString_in_helper(obj1
);
3157 if (arg2
== NULL
) SWIG_fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 (arg1
)->SetValue((wxString
const &)*arg2
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3167 Py_INCREF(Py_None
); resultobj
= Py_None
;
3182 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
*resultobj
;
3184 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3185 PyObject
* obj0
= 0 ;
3187 (char *) "self", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 Py_INCREF(Py_None
); resultobj
= Py_None
;
3207 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3209 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3210 PyObject
* obj0
= 0 ;
3212 (char *) "self", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3225 Py_INCREF(Py_None
); resultobj
= Py_None
;
3232 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3235 PyObject
* obj0
= 0 ;
3237 (char *) "self", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 Py_INCREF(Py_None
); resultobj
= Py_None
;
3257 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3261 PyObject
* obj0
= 0 ;
3262 PyObject
* obj1
= 0 ;
3264 (char *) "self",(char *) "pos", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3270 arg2
= (long) SWIG_AsLong(obj1
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 (arg1
)->SetInsertionPoint(arg2
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 Py_INCREF(Py_None
); resultobj
= Py_None
;
3286 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3292 (char *) "self", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= SWIG_FromLong((long)result
);
3312 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3316 PyObject
* obj0
= 0 ;
3318 (char *) "self", NULL
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3331 resultobj
= SWIG_FromLong((long)result
);
3338 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
*resultobj
;
3340 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3343 wxString
*arg4
= 0 ;
3344 bool temp4
= False
;
3345 PyObject
* obj0
= 0 ;
3346 PyObject
* obj1
= 0 ;
3347 PyObject
* obj2
= 0 ;
3348 PyObject
* obj3
= 0 ;
3350 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 arg2
= (long) SWIG_AsLong(obj1
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3358 arg3
= (long) SWIG_AsLong(obj2
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 arg4
= wxString_in_helper(obj3
);
3362 if (arg4
== NULL
) SWIG_fail
;
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 Py_INCREF(Py_None
); resultobj
= Py_None
;
3387 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
*resultobj
;
3389 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3391 PyObject
* obj0
= 0 ;
3392 PyObject
* obj1
= 0 ;
3394 (char *) "self",(char *) "n", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3400 arg2
= (int) SWIG_AsInt(obj1
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 (arg1
)->SetSelection(arg2
);
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3409 Py_INCREF(Py_None
); resultobj
= Py_None
;
3416 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3423 PyObject
* obj2
= 0 ;
3425 (char *) "self",(char *) "from",(char *) "to", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3431 arg2
= (long) SWIG_AsLong(obj1
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3433 arg3
= (long) SWIG_AsLong(obj2
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 (arg1
)->SetSelection(arg2
,arg3
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 Py_INCREF(Py_None
); resultobj
= Py_None
;
3449 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3454 PyObject
* obj1
= 0 ;
3456 (char *) "self",(char *) "editable", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3462 arg2
= (bool) SWIG_AsBool(obj1
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 (arg1
)->SetEditable(arg2
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3471 Py_INCREF(Py_None
); resultobj
= Py_None
;
3478 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3479 PyObject
*resultobj
;
3480 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3481 PyObject
* obj0
= 0 ;
3483 (char *) "self", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 (arg1
)->SetInsertionPointEnd();
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3496 Py_INCREF(Py_None
); resultobj
= Py_None
;
3503 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3508 PyObject
* obj0
= 0 ;
3509 PyObject
* obj1
= 0 ;
3510 PyObject
* obj2
= 0 ;
3512 (char *) "self",(char *) "from",(char *) "to", NULL
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3518 arg2
= (long) SWIG_AsLong(obj1
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3520 arg3
= (long) SWIG_AsLong(obj2
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 (arg1
)->Remove(arg2
,arg3
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3529 Py_INCREF(Py_None
); resultobj
= Py_None
;
3536 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3539 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3541 return Py_BuildValue((char *)"");
3543 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3544 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3549 static PyObject
*_wrap_GaugeNameStr_get() {
3554 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3556 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3563 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
;
3565 wxWindow
*arg1
= (wxWindow
*) 0 ;
3568 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3569 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3570 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3571 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3572 long arg6
= (long) wxGA_HORIZONTAL
;
3573 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3574 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3575 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3576 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3580 bool temp8
= False
;
3581 PyObject
* obj0
= 0 ;
3582 PyObject
* obj1
= 0 ;
3583 PyObject
* obj2
= 0 ;
3584 PyObject
* obj3
= 0 ;
3585 PyObject
* obj4
= 0 ;
3586 PyObject
* obj5
= 0 ;
3587 PyObject
* obj6
= 0 ;
3588 PyObject
* obj7
= 0 ;
3590 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3596 arg2
= (int) SWIG_AsInt(obj1
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3598 arg3
= (int) SWIG_AsInt(obj2
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3603 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3609 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3613 arg6
= (long) SWIG_AsLong(obj5
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3617 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3621 PyErr_SetString(PyExc_TypeError
,"null reference");
3627 arg8
= wxString_in_helper(obj7
);
3628 if (arg8
== NULL
) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3654 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
*resultobj
;
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 result
= (wxGauge
*)new wxGauge();
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3676 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 wxGauge
*arg1
= (wxGauge
*) 0 ;
3679 wxWindow
*arg2
= (wxWindow
*) 0 ;
3682 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3683 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3684 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3685 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3686 long arg7
= (long) wxGA_HORIZONTAL
;
3687 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3688 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3689 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3690 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3694 bool temp9
= False
;
3695 PyObject
* obj0
= 0 ;
3696 PyObject
* obj1
= 0 ;
3697 PyObject
* obj2
= 0 ;
3698 PyObject
* obj3
= 0 ;
3699 PyObject
* obj4
= 0 ;
3700 PyObject
* obj5
= 0 ;
3701 PyObject
* obj6
= 0 ;
3702 PyObject
* obj7
= 0 ;
3703 PyObject
* obj8
= 0 ;
3705 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3713 arg3
= (int) SWIG_AsInt(obj2
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3715 arg4
= (int) SWIG_AsInt(obj3
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3720 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3726 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3730 arg7
= (long) SWIG_AsLong(obj6
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3734 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3738 PyErr_SetString(PyExc_TypeError
,"null reference");
3744 arg9
= wxString_in_helper(obj8
);
3745 if (arg9
== NULL
) SWIG_fail
;
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3773 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
;
3775 wxGauge
*arg1
= (wxGauge
*) 0 ;
3777 PyObject
* obj0
= 0 ;
3778 PyObject
* obj1
= 0 ;
3780 (char *) "self",(char *) "range", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3786 arg2
= (int) SWIG_AsInt(obj1
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 (arg1
)->SetRange(arg2
);
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 Py_INCREF(Py_None
); resultobj
= Py_None
;
3802 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
;
3804 wxGauge
*arg1
= (wxGauge
*) 0 ;
3806 PyObject
* obj0
= 0 ;
3808 (char *) "self", NULL
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 resultobj
= SWIG_FromInt((int)result
);
3828 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 wxGauge
*arg1
= (wxGauge
*) 0 ;
3832 PyObject
* obj0
= 0 ;
3833 PyObject
* obj1
= 0 ;
3835 (char *) "self",(char *) "pos", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3841 arg2
= (int) SWIG_AsInt(obj1
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 (arg1
)->SetValue(arg2
);
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3850 Py_INCREF(Py_None
); resultobj
= Py_None
;
3857 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3859 wxGauge
*arg1
= (wxGauge
*) 0 ;
3861 PyObject
* obj0
= 0 ;
3863 (char *) "self", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 resultobj
= SWIG_FromInt((int)result
);
3883 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxGauge
*arg1
= (wxGauge
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3889 (char *) "self", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3911 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3913 wxGauge
*arg1
= (wxGauge
*) 0 ;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3918 (char *) "self",(char *) "w", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3924 arg2
= (int) SWIG_AsInt(obj1
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 (arg1
)->SetShadowWidth(arg2
);
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 Py_INCREF(Py_None
); resultobj
= Py_None
;
3940 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxGauge
*arg1
= (wxGauge
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3946 (char *) "self", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_FromInt((int)result
);
3966 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxGauge
*arg1
= (wxGauge
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3971 PyObject
* obj1
= 0 ;
3973 (char *) "self",(char *) "w", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 arg2
= (int) SWIG_AsInt(obj1
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 (arg1
)->SetBezelFace(arg2
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3995 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxGauge
*arg1
= (wxGauge
*) 0 ;
3999 PyObject
* obj0
= 0 ;
4001 (char *) "self", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= SWIG_FromInt((int)result
);
4021 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4024 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4026 return Py_BuildValue((char *)"");
4028 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4029 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4034 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4039 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4041 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4048 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4049 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4054 static PyObject
*_wrap_StaticBoxNameStr_get() {
4059 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4061 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4068 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4069 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4074 static PyObject
*_wrap_StaticTextNameStr_get() {
4079 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4081 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4088 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4090 wxWindow
*arg1
= (wxWindow
*) 0 ;
4092 wxString
*arg3
= 0 ;
4093 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4094 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4095 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4096 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4097 long arg6
= (long) 0 ;
4098 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4099 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4100 wxStaticBox
*result
;
4101 bool temp3
= False
;
4104 bool temp7
= False
;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4107 PyObject
* obj2
= 0 ;
4108 PyObject
* obj3
= 0 ;
4109 PyObject
* obj4
= 0 ;
4110 PyObject
* obj5
= 0 ;
4111 PyObject
* obj6
= 0 ;
4113 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 arg2
= (int) SWIG_AsInt(obj1
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 arg3
= wxString_in_helper(obj2
);
4123 if (arg3
== NULL
) SWIG_fail
;
4129 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4135 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4139 arg6
= (long) SWIG_AsLong(obj5
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4144 arg7
= wxString_in_helper(obj6
);
4145 if (arg7
== NULL
) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= wxPyMake_wxObject(result
);
4181 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
;
4183 wxStaticBox
*result
;
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (wxStaticBox
*)new wxStaticBox();
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= wxPyMake_wxObject(result
);
4205 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4207 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4208 wxWindow
*arg2
= (wxWindow
*) 0 ;
4210 wxString
*arg4
= 0 ;
4211 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4212 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4213 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4214 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4215 long arg7
= (long) 0 ;
4216 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4217 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4219 bool temp4
= False
;
4222 bool temp8
= False
;
4223 PyObject
* obj0
= 0 ;
4224 PyObject
* obj1
= 0 ;
4225 PyObject
* obj2
= 0 ;
4226 PyObject
* obj3
= 0 ;
4227 PyObject
* obj4
= 0 ;
4228 PyObject
* obj5
= 0 ;
4229 PyObject
* obj6
= 0 ;
4230 PyObject
* obj7
= 0 ;
4232 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4240 arg3
= (int) SWIG_AsInt(obj2
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 arg4
= wxString_in_helper(obj3
);
4244 if (arg4
== NULL
) SWIG_fail
;
4250 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4256 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4260 arg7
= (long) SWIG_AsLong(obj6
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4265 arg8
= wxString_in_helper(obj7
);
4266 if (arg8
== NULL
) SWIG_fail
;
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4302 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4305 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4307 return Py_BuildValue((char *)"");
4309 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxWindow
*arg1
= (wxWindow
*) 0 ;
4313 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4314 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4315 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4316 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4317 long arg5
= (long) wxLI_HORIZONTAL
;
4318 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4319 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4320 wxStaticLine
*result
;
4323 bool temp6
= False
;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4326 PyObject
* obj2
= 0 ;
4327 PyObject
* obj3
= 0 ;
4328 PyObject
* obj4
= 0 ;
4329 PyObject
* obj5
= 0 ;
4331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4337 arg2
= (int) SWIG_AsInt(obj1
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4342 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4348 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4352 arg5
= (long) SWIG_AsLong(obj4
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4357 arg6
= wxString_in_helper(obj5
);
4358 if (arg6
== NULL
) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4384 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxStaticLine
*result
;
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 result
= (wxStaticLine
*)new wxStaticLine();
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4406 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
;
4408 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4409 wxWindow
*arg2
= (wxWindow
*) 0 ;
4411 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4412 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4413 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4414 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4415 long arg6
= (long) wxLI_HORIZONTAL
;
4416 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4417 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4421 bool temp7
= False
;
4422 PyObject
* obj0
= 0 ;
4423 PyObject
* obj1
= 0 ;
4424 PyObject
* obj2
= 0 ;
4425 PyObject
* obj3
= 0 ;
4426 PyObject
* obj4
= 0 ;
4427 PyObject
* obj5
= 0 ;
4428 PyObject
* obj6
= 0 ;
4430 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4438 arg3
= (int) SWIG_AsInt(obj2
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4443 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4449 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4453 arg6
= (long) SWIG_AsLong(obj5
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4458 arg7
= wxString_in_helper(obj6
);
4459 if (arg7
== NULL
) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4487 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4489 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4493 (char *) "self", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4515 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
*resultobj
;
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (int)wxStaticLine::GetDefaultSize();
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= SWIG_FromInt((int)result
);
4537 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4540 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4542 return Py_BuildValue((char *)"");
4544 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4546 wxWindow
*arg1
= (wxWindow
*) 0 ;
4548 wxString
*arg3
= 0 ;
4549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4553 long arg6
= (long) 0 ;
4554 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4556 wxStaticText
*result
;
4557 bool temp3
= False
;
4560 bool temp7
= False
;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4563 PyObject
* obj2
= 0 ;
4564 PyObject
* obj3
= 0 ;
4565 PyObject
* obj4
= 0 ;
4566 PyObject
* obj5
= 0 ;
4567 PyObject
* obj6
= 0 ;
4569 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4575 arg2
= (int) SWIG_AsInt(obj1
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4578 arg3
= wxString_in_helper(obj2
);
4579 if (arg3
== NULL
) SWIG_fail
;
4585 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4591 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4595 arg6
= (long) SWIG_AsLong(obj5
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4600 arg7
= wxString_in_helper(obj6
);
4601 if (arg7
== NULL
) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4635 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
;
4637 wxStaticText
*result
;
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (wxStaticText
*)new wxStaticText();
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4657 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4660 wxWindow
*arg2
= (wxWindow
*) 0 ;
4662 wxString
*arg4
= 0 ;
4663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4667 long arg7
= (long) 0 ;
4668 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4669 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4671 bool temp4
= False
;
4674 bool temp8
= False
;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 PyObject
* obj2
= 0 ;
4678 PyObject
* obj3
= 0 ;
4679 PyObject
* obj4
= 0 ;
4680 PyObject
* obj5
= 0 ;
4681 PyObject
* obj6
= 0 ;
4682 PyObject
* obj7
= 0 ;
4684 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4692 arg3
= (int) SWIG_AsInt(obj2
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 arg4
= wxString_in_helper(obj3
);
4696 if (arg4
== NULL
) SWIG_fail
;
4702 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4708 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4712 arg7
= (long) SWIG_AsLong(obj6
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4717 arg8
= wxString_in_helper(obj7
);
4718 if (arg8
== NULL
) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4754 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4757 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4759 return Py_BuildValue((char *)"");
4761 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
;
4763 wxWindow
*arg1
= (wxWindow
*) 0 ;
4765 wxBitmap
*arg3
= 0 ;
4766 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4767 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4768 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4769 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4770 long arg6
= (long) 0 ;
4771 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4772 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4773 wxStaticBitmap
*result
;
4776 bool temp7
= False
;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4779 PyObject
* obj2
= 0 ;
4780 PyObject
* obj3
= 0 ;
4781 PyObject
* obj4
= 0 ;
4782 PyObject
* obj5
= 0 ;
4783 PyObject
* obj6
= 0 ;
4785 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4791 arg2
= (int) SWIG_AsInt(obj1
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4793 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4797 PyErr_SetString(PyExc_TypeError
,"null reference");
4803 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4809 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4813 arg6
= (long) SWIG_AsLong(obj5
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4818 arg7
= wxString_in_helper(obj6
);
4819 if (arg7
== NULL
) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4845 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxStaticBitmap
*result
;
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4867 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
;
4869 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4870 wxWindow
*arg2
= (wxWindow
*) 0 ;
4872 wxBitmap
*arg4
= 0 ;
4873 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4874 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4875 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4876 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4877 long arg7
= (long) 0 ;
4878 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4879 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4883 bool temp8
= False
;
4884 PyObject
* obj0
= 0 ;
4885 PyObject
* obj1
= 0 ;
4886 PyObject
* obj2
= 0 ;
4887 PyObject
* obj3
= 0 ;
4888 PyObject
* obj4
= 0 ;
4889 PyObject
* obj5
= 0 ;
4890 PyObject
* obj6
= 0 ;
4891 PyObject
* obj7
= 0 ;
4893 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4901 arg3
= (int) SWIG_AsInt(obj2
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4903 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4907 PyErr_SetString(PyExc_TypeError
,"null reference");
4913 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4919 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4923 arg7
= (long) SWIG_AsLong(obj6
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4928 arg8
= wxString_in_helper(obj7
);
4929 if (arg8
== NULL
) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4957 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
;
4959 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4961 PyObject
* obj0
= 0 ;
4963 (char *) "self", NULL
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 result
= (arg1
)->GetBitmap();
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4977 wxBitmap
* resultptr
;
4978 resultptr
= new wxBitmap((wxBitmap
&) result
);
4979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4987 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4990 wxBitmap
*arg2
= 0 ;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4994 (char *) "self",(char *) "bitmap", NULL
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5004 PyErr_SetString(PyExc_TypeError
,"null reference");
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 Py_INCREF(Py_None
); resultobj
= Py_None
;
5021 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5026 PyObject
* obj1
= 0 ;
5028 (char *) "self",(char *) "icon", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5038 PyErr_SetString(PyExc_TypeError
,"null reference");
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 Py_INCREF(Py_None
); resultobj
= Py_None
;
5055 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5058 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5060 return Py_BuildValue((char *)"");
5062 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5063 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5068 static PyObject
*_wrap_ListBoxNameStr_get() {
5073 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5075 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5082 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxWindow
*arg1
= (wxWindow
*) 0 ;
5086 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5087 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5088 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5089 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5090 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5091 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5092 long arg6
= (long) 0 ;
5093 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5094 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5095 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5096 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5100 bool temp5
= False
;
5101 bool temp8
= False
;
5102 PyObject
* obj0
= 0 ;
5103 PyObject
* obj1
= 0 ;
5104 PyObject
* obj2
= 0 ;
5105 PyObject
* obj3
= 0 ;
5106 PyObject
* obj4
= 0 ;
5107 PyObject
* obj5
= 0 ;
5108 PyObject
* obj6
= 0 ;
5109 PyObject
* obj7
= 0 ;
5111 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5117 arg2
= (int) SWIG_AsInt(obj1
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5122 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5128 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5133 if (! PySequence_Check(obj4
)) {
5134 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5137 arg5
= new wxArrayString
;
5139 int i
, len
=PySequence_Length(obj4
);
5140 for (i
=0; i
<len
; i
++) {
5141 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5143 PyObject
* str
= PyObject_Unicode(item
);
5145 PyObject
* str
= PyObject_Str(item
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5148 arg5
->Add(Py2wxString(str
));
5155 arg6
= (long) SWIG_AsLong(obj5
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5159 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5163 PyErr_SetString(PyExc_TypeError
,"null reference");
5169 arg8
= wxString_in_helper(obj7
);
5170 if (arg8
== NULL
) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5183 if (temp5
) delete arg5
;
5192 if (temp5
) delete arg5
;
5202 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (wxListBox
*)new wxListBox();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5224 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxListBox
*arg1
= (wxListBox
*) 0 ;
5227 wxWindow
*arg2
= (wxWindow
*) 0 ;
5229 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5230 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5231 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5232 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5233 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5234 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5235 long arg7
= (long) 0 ;
5236 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5237 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5238 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5239 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5243 bool temp6
= False
;
5244 bool temp9
= False
;
5245 PyObject
* obj0
= 0 ;
5246 PyObject
* obj1
= 0 ;
5247 PyObject
* obj2
= 0 ;
5248 PyObject
* obj3
= 0 ;
5249 PyObject
* obj4
= 0 ;
5250 PyObject
* obj5
= 0 ;
5251 PyObject
* obj6
= 0 ;
5252 PyObject
* obj7
= 0 ;
5253 PyObject
* obj8
= 0 ;
5255 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5263 arg3
= (int) SWIG_AsInt(obj2
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5274 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5279 if (! PySequence_Check(obj5
)) {
5280 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5283 arg6
= new wxArrayString
;
5285 int i
, len
=PySequence_Length(obj5
);
5286 for (i
=0; i
<len
; i
++) {
5287 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5289 PyObject
* str
= PyObject_Unicode(item
);
5291 PyObject
* str
= PyObject_Str(item
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5294 arg6
->Add(Py2wxString(str
));
5301 arg7
= (long) SWIG_AsLong(obj6
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5305 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5309 PyErr_SetString(PyExc_TypeError
,"null reference");
5315 arg9
= wxString_in_helper(obj8
);
5316 if (arg9
== NULL
) SWIG_fail
;
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5331 if (temp6
) delete arg6
;
5340 if (temp6
) delete arg6
;
5350 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
*resultobj
;
5352 wxListBox
*arg1
= (wxListBox
*) 0 ;
5353 wxString
*arg2
= 0 ;
5355 PyObject
*arg4
= (PyObject
*) NULL
;
5356 bool temp2
= False
;
5357 PyObject
* obj0
= 0 ;
5358 PyObject
* obj1
= 0 ;
5359 PyObject
* obj2
= 0 ;
5360 PyObject
* obj3
= 0 ;
5362 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5369 arg2
= wxString_in_helper(obj1
);
5370 if (arg2
== NULL
) SWIG_fail
;
5373 arg3
= (int) SWIG_AsInt(obj2
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 Py_INCREF(Py_None
); resultobj
= Py_None
;
5400 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxListBox
*arg1
= (wxListBox
*) 0 ;
5403 wxArrayString
*arg2
= 0 ;
5405 bool temp2
= False
;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5408 PyObject
* obj2
= 0 ;
5410 (char *) "self",(char *) "items",(char *) "pos", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5417 if (! PySequence_Check(obj1
)) {
5418 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5421 arg2
= new wxArrayString
;
5423 int i
, len
=PySequence_Length(obj1
);
5424 for (i
=0; i
<len
; i
++) {
5425 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5427 PyObject
* str
= PyObject_Unicode(item
);
5429 PyObject
* str
= PyObject_Str(item
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5432 arg2
->Add(Py2wxString(str
));
5437 arg3
= (int) SWIG_AsInt(obj2
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5446 Py_INCREF(Py_None
); resultobj
= Py_None
;
5448 if (temp2
) delete arg2
;
5453 if (temp2
) delete arg2
;
5459 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
*resultobj
;
5461 wxListBox
*arg1
= (wxListBox
*) 0 ;
5462 wxArrayString
*arg2
= 0 ;
5463 bool temp2
= False
;
5464 PyObject
* obj0
= 0 ;
5465 PyObject
* obj1
= 0 ;
5467 (char *) "self",(char *) "items", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5474 if (! PySequence_Check(obj1
)) {
5475 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5478 arg2
= new wxArrayString
;
5480 int i
, len
=PySequence_Length(obj1
);
5481 for (i
=0; i
<len
; i
++) {
5482 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5484 PyObject
* str
= PyObject_Unicode(item
);
5486 PyObject
* str
= PyObject_Str(item
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5489 arg2
->Add(Py2wxString(str
));
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 (arg1
)->Set((wxArrayString
const &)*arg2
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 Py_INCREF(Py_None
); resultobj
= Py_None
;
5503 if (temp2
) delete arg2
;
5508 if (temp2
) delete arg2
;
5514 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxListBox
*arg1
= (wxListBox
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5522 (char *) "self",(char *) "n", NULL
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5528 arg2
= (int) SWIG_AsInt(obj1
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5546 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxListBox
*arg1
= (wxListBox
*) 0 ;
5550 bool arg3
= (bool) True
;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5553 PyObject
* obj2
= 0 ;
5555 (char *) "self",(char *) "n",(char *) "select", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5561 arg2
= (int) SWIG_AsInt(obj1
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 arg3
= (bool) SWIG_AsBool(obj2
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 (arg1
)->SetSelection(arg2
,arg3
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 Py_INCREF(Py_None
); resultobj
= Py_None
;
5581 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxListBox
*arg1
= (wxListBox
*) 0 ;
5585 PyObject
* obj0
= 0 ;
5586 PyObject
* obj1
= 0 ;
5588 (char *) "self",(char *) "n", NULL
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5594 arg2
= (int) SWIG_AsInt(obj1
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 (arg1
)->Select(arg2
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 Py_INCREF(Py_None
); resultobj
= Py_None
;
5610 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
;
5612 wxListBox
*arg1
= (wxListBox
*) 0 ;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5617 (char *) "self",(char *) "n", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5623 arg2
= (int) SWIG_AsInt(obj1
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 (arg1
)->Deselect(arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 Py_INCREF(Py_None
); resultobj
= Py_None
;
5639 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxListBox
*arg1
= (wxListBox
*) 0 ;
5642 int arg2
= (int) -1 ;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5646 (char *) "self",(char *) "itemToLeaveSelected", NULL
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5653 arg2
= (int) SWIG_AsInt(obj1
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 (arg1
)->DeselectAll(arg2
);
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 Py_INCREF(Py_None
); resultobj
= Py_None
;
5670 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxListBox
*arg1
= (wxListBox
*) 0 ;
5673 wxString
*arg2
= 0 ;
5674 bool arg3
= (bool) True
;
5676 bool temp2
= False
;
5677 PyObject
* obj0
= 0 ;
5678 PyObject
* obj1
= 0 ;
5679 PyObject
* obj2
= 0 ;
5681 (char *) "self",(char *) "s",(char *) "select", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5688 arg2
= wxString_in_helper(obj1
);
5689 if (arg2
== NULL
) SWIG_fail
;
5693 arg3
= (bool) SWIG_AsBool(obj2
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5720 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxListBox
*arg1
= (wxListBox
*) 0 ;
5724 PyObject
* obj0
= 0 ;
5726 (char *) "self", NULL
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5746 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxListBox
*arg1
= (wxListBox
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "n", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5759 arg2
= (int) SWIG_AsInt(obj1
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 (arg1
)->SetFirstItem(arg2
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 Py_INCREF(Py_None
); resultobj
= Py_None
;
5775 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxListBox
*arg1
= (wxListBox
*) 0 ;
5778 wxString
*arg2
= 0 ;
5779 bool temp2
= False
;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5783 (char *) "self",(char *) "s", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5790 arg2
= wxString_in_helper(obj1
);
5791 if (arg2
== NULL
) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 Py_INCREF(Py_None
); resultobj
= Py_None
;
5816 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxListBox
*arg1
= (wxListBox
*) 0 ;
5820 PyObject
* obj0
= 0 ;
5821 PyObject
* obj1
= 0 ;
5823 (char *) "self",(char *) "n", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5829 arg2
= (int) SWIG_AsInt(obj1
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 (arg1
)->EnsureVisible(arg2
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5838 Py_INCREF(Py_None
); resultobj
= Py_None
;
5845 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5847 wxListBox
*arg1
= (wxListBox
*) 0 ;
5848 wxString
*arg2
= 0 ;
5849 bool temp2
= False
;
5850 PyObject
* obj0
= 0 ;
5851 PyObject
* obj1
= 0 ;
5853 (char *) "self",(char *) "s", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 arg2
= wxString_in_helper(obj1
);
5861 if (arg2
== NULL
) SWIG_fail
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5871 Py_INCREF(Py_None
); resultobj
= Py_None
;
5886 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxListBox
*arg1
= (wxListBox
*) 0 ;
5890 PyObject
* obj0
= 0 ;
5892 (char *) "self", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5914 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5916 wxListBox
*arg1
= (wxListBox
*) 0 ;
5918 wxColour
*arg3
= 0 ;
5920 PyObject
* obj0
= 0 ;
5921 PyObject
* obj1
= 0 ;
5922 PyObject
* obj2
= 0 ;
5924 (char *) "self",(char *) "item",(char *) "c", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5930 arg2
= (int) SWIG_AsInt(obj1
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5934 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 Py_INCREF(Py_None
); resultobj
= Py_None
;
5950 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5952 wxListBox
*arg1
= (wxListBox
*) 0 ;
5954 wxColour
*arg3
= 0 ;
5956 PyObject
* obj0
= 0 ;
5957 PyObject
* obj1
= 0 ;
5958 PyObject
* obj2
= 0 ;
5960 (char *) "self",(char *) "item",(char *) "c", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5966 arg2
= (int) SWIG_AsInt(obj1
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5970 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 Py_INCREF(Py_None
); resultobj
= Py_None
;
5986 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
;
5988 wxListBox
*arg1
= (wxListBox
*) 0 ;
5991 PyObject
* obj0
= 0 ;
5992 PyObject
* obj1
= 0 ;
5993 PyObject
* obj2
= 0 ;
5995 (char *) "self",(char *) "item",(char *) "f", NULL
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6001 arg2
= (int) SWIG_AsInt(obj1
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6003 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6007 PyErr_SetString(PyExc_TypeError
,"null reference");
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 Py_INCREF(Py_None
); resultobj
= Py_None
;
6024 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
;
6026 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6027 wxVisualAttributes result
;
6028 PyObject
* obj0
= 0 ;
6030 (char *) "variant", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6035 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 wxVisualAttributes
* resultptr
;
6047 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6056 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6059 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6061 return Py_BuildValue((char *)"");
6063 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
;
6065 wxWindow
*arg1
= (wxWindow
*) 0 ;
6067 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6068 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6069 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6070 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6071 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6072 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6073 long arg6
= (long) 0 ;
6074 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6075 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6076 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6077 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6078 wxCheckListBox
*result
;
6081 bool temp5
= False
;
6082 bool temp8
= False
;
6083 PyObject
* obj0
= 0 ;
6084 PyObject
* obj1
= 0 ;
6085 PyObject
* obj2
= 0 ;
6086 PyObject
* obj3
= 0 ;
6087 PyObject
* obj4
= 0 ;
6088 PyObject
* obj5
= 0 ;
6089 PyObject
* obj6
= 0 ;
6090 PyObject
* obj7
= 0 ;
6092 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 arg2
= (int) SWIG_AsInt(obj1
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6109 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6114 if (! PySequence_Check(obj4
)) {
6115 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6118 arg5
= new wxArrayString
;
6120 int i
, len
=PySequence_Length(obj4
);
6121 for (i
=0; i
<len
; i
++) {
6122 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6124 PyObject
* str
= PyObject_Unicode(item
);
6126 PyObject
* str
= PyObject_Str(item
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6129 arg5
->Add(Py2wxString(str
));
6136 arg6
= (long) SWIG_AsLong(obj5
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6144 PyErr_SetString(PyExc_TypeError
,"null reference");
6150 arg8
= wxString_in_helper(obj7
);
6151 if (arg8
== NULL
) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6164 if (temp5
) delete arg5
;
6173 if (temp5
) delete arg5
;
6183 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxCheckListBox
*result
;
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 result
= (wxCheckListBox
*)new wxCheckListBox();
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6205 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6208 wxWindow
*arg2
= (wxWindow
*) 0 ;
6210 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6211 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6212 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6213 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6214 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6215 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6216 long arg7
= (long) 0 ;
6217 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6218 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6219 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6220 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6224 bool temp6
= False
;
6225 bool temp9
= False
;
6226 PyObject
* obj0
= 0 ;
6227 PyObject
* obj1
= 0 ;
6228 PyObject
* obj2
= 0 ;
6229 PyObject
* obj3
= 0 ;
6230 PyObject
* obj4
= 0 ;
6231 PyObject
* obj5
= 0 ;
6232 PyObject
* obj6
= 0 ;
6233 PyObject
* obj7
= 0 ;
6234 PyObject
* obj8
= 0 ;
6236 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6244 arg3
= (int) SWIG_AsInt(obj2
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6249 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6255 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6260 if (! PySequence_Check(obj5
)) {
6261 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6264 arg6
= new wxArrayString
;
6266 int i
, len
=PySequence_Length(obj5
);
6267 for (i
=0; i
<len
; i
++) {
6268 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6270 PyObject
* str
= PyObject_Unicode(item
);
6272 PyObject
* str
= PyObject_Str(item
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6275 arg6
->Add(Py2wxString(str
));
6282 arg7
= (long) SWIG_AsLong(obj6
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6290 PyErr_SetString(PyExc_TypeError
,"null reference");
6296 arg9
= wxString_in_helper(obj8
);
6297 if (arg9
== NULL
) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6312 if (temp6
) delete arg6
;
6321 if (temp6
) delete arg6
;
6331 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6339 (char *) "self",(char *) "index", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6345 arg2
= (int) SWIG_AsInt(obj1
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (bool)(arg1
)->IsChecked(arg2
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6363 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6367 int arg3
= (int) True
;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6370 PyObject
* obj2
= 0 ;
6372 (char *) "self",(char *) "index",(char *) "check", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6378 arg2
= (int) SWIG_AsInt(obj1
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 arg3
= (int) SWIG_AsInt(obj2
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 (arg1
)->Check(arg2
,arg3
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 Py_INCREF(Py_None
); resultobj
= Py_None
;
6398 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6402 PyObject
* obj0
= 0 ;
6404 (char *) "self", NULL
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (int)(arg1
)->GetItemHeight();
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= SWIG_FromInt((int)result
);
6424 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6431 PyObject
* obj1
= 0 ;
6433 (char *) "self",(char *) "pt", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6441 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= SWIG_FromInt((int)result
);
6457 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 PyObject
* obj2
= 0 ;
6467 (char *) "self",(char *) "x",(char *) "y", NULL
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6473 arg2
= (int) SWIG_AsInt(obj1
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6475 arg3
= (int) SWIG_AsInt(obj2
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_FromInt((int)result
);
6491 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6494 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6496 return Py_BuildValue((char *)"");
6498 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6499 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6504 static PyObject
*_wrap_TextCtrlNameStr_get() {
6509 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6511 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6518 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6519 PyObject
*resultobj
;
6522 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (wxTextAttr
*)new wxTextAttr();
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6537 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6538 PyObject
*resultobj
;
6539 wxColour
*arg1
= 0 ;
6540 wxColour
const &arg2_defvalue
= wxNullColour
;
6541 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6542 wxFont
const &arg3_defvalue
= wxNullFont
;
6543 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6544 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6548 PyObject
* obj0
= 0 ;
6549 PyObject
* obj1
= 0 ;
6550 PyObject
* obj2
= 0 ;
6551 PyObject
* obj3
= 0 ;
6553 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6556 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6561 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6565 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6569 PyErr_SetString(PyExc_TypeError
,"null reference");
6574 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6591 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6596 argc
= PyObject_Length(args
);
6597 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6598 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6601 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6603 if ((argc
>= 1) && (argc
<= 4)) {
6606 _v
= wxColour_typecheck(argv
[0]);
6610 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6613 _v
= wxColour_typecheck(argv
[1]);
6617 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6621 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6630 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6632 _v
= SWIG_CheckInt(argv
[3]);
6634 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6641 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6646 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
;
6648 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6649 PyObject
* obj0
= 0 ;
6651 (char *) "self", NULL
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 Py_INCREF(Py_None
); resultobj
= Py_None
;
6671 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6674 PyObject
* obj0
= 0 ;
6676 (char *) "self", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6689 Py_INCREF(Py_None
); resultobj
= Py_None
;
6696 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
*resultobj
;
6698 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6699 wxColour
*arg2
= 0 ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6704 (char *) "self",(char *) "colText", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6712 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6721 Py_INCREF(Py_None
); resultobj
= Py_None
;
6728 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
*resultobj
;
6730 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6731 wxColour
*arg2
= 0 ;
6733 PyObject
* obj0
= 0 ;
6734 PyObject
* obj1
= 0 ;
6736 (char *) "self",(char *) "colBack", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 Py_INCREF(Py_None
); resultobj
= Py_None
;
6760 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6764 long arg3
= (long) wxTEXT_ATTR_FONT
;
6765 PyObject
* obj0
= 0 ;
6766 PyObject
* obj1
= 0 ;
6767 PyObject
* obj2
= 0 ;
6769 (char *) "self",(char *) "font",(char *) "flags", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6779 PyErr_SetString(PyExc_TypeError
,"null reference");
6783 arg3
= (long) SWIG_AsLong(obj2
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6793 Py_INCREF(Py_None
); resultobj
= Py_None
;
6800 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6804 PyObject
* obj0
= 0 ;
6805 PyObject
* obj1
= 0 ;
6807 (char *) "self",(char *) "alignment", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6813 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 Py_INCREF(Py_None
); resultobj
= Py_None
;
6829 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6832 wxArrayInt
*arg2
= 0 ;
6833 bool temp2
= False
;
6834 PyObject
* obj0
= 0 ;
6835 PyObject
* obj1
= 0 ;
6837 (char *) "self",(char *) "tabs", NULL
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6844 if (! PySequence_Check(obj1
)) {
6845 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6848 arg2
= new wxArrayInt
;
6850 int i
, len
=PySequence_Length(obj1
);
6851 for (i
=0; i
<len
; i
++) {
6852 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6853 PyObject
* number
= PyNumber_Int(item
);
6854 arg2
->Add(PyInt_AS_LONG(number
));
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 Py_INCREF(Py_None
); resultobj
= Py_None
;
6868 if (temp2
) delete arg2
;
6873 if (temp2
) delete arg2
;
6879 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6886 (char *) "self",(char *) "indent", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6892 arg2
= (int) SWIG_AsInt(obj1
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 (arg1
)->SetLeftIndent(arg2
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 Py_INCREF(Py_None
); resultobj
= Py_None
;
6908 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6915 (char *) "self",(char *) "indent", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6921 arg2
= (int) SWIG_AsInt(obj1
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 (arg1
)->SetRightIndent(arg2
);
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 Py_INCREF(Py_None
); resultobj
= Py_None
;
6937 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6941 PyObject
* obj0
= 0 ;
6942 PyObject
* obj1
= 0 ;
6944 (char *) "self",(char *) "flags", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6950 arg2
= (long) SWIG_AsLong(obj1
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 (arg1
)->SetFlags(arg2
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 Py_INCREF(Py_None
); resultobj
= Py_None
;
6966 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6972 (char *) "self", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6994 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6998 PyObject
* obj0
= 0 ;
7000 (char *) "self", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7022 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7050 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7056 (char *) "self", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7078 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7082 PyObject
* obj0
= 0 ;
7084 (char *) "self", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7106 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
;
7108 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7110 PyObject
* obj0
= 0 ;
7112 (char *) "self", NULL
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7134 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7140 (char *) "self", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7162 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7168 PyObject
* obj1
= 0 ;
7170 (char *) "self",(char *) "flag", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7176 arg2
= (long) SWIG_AsLong(obj1
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7194 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
;
7196 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7198 PyObject
* obj0
= 0 ;
7200 (char *) "self", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7210 result
= (wxColour
*) &_result_ref
;
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7223 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7239 result
= (wxColour
*) &_result_ref
;
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7252 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7258 (char *) "self", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7268 result
= (wxFont
*) &_result_ref
;
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7275 wxFont
* resultptr
= new wxFont(*result
);
7276 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7284 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
;
7286 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7288 PyObject
* obj0
= 0 ;
7290 (char *) "self", NULL
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_FromInt((int)result
);
7310 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7312 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7314 PyObject
* obj0
= 0 ;
7316 (char *) "self", NULL
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7326 result
= (wxArrayInt
*) &_result_ref
;
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= PyList_New(0);
7335 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7336 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7337 PyList_Append(resultobj
, val
);
7347 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7351 PyObject
* obj0
= 0 ;
7353 (char *) "self", NULL
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= SWIG_FromLong((long)result
);
7373 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7379 (char *) "self", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= SWIG_FromLong((long)result
);
7399 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 resultobj
= SWIG_FromLong((long)result
);
7425 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7429 PyObject
* obj0
= 0 ;
7431 (char *) "self", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7453 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxTextAttr
*arg1
= 0 ;
7456 wxTextAttr
*arg2
= 0 ;
7457 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7463 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7471 PyErr_SetString(PyExc_TypeError
,"null reference");
7474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7478 PyErr_SetString(PyExc_TypeError
,"null reference");
7481 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7491 wxTextAttr
* resultptr
;
7492 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7501 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7504 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7506 return Py_BuildValue((char *)"");
7508 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxWindow
*arg1
= (wxWindow
*) 0 ;
7512 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7513 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7516 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7517 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7518 long arg6
= (long) 0 ;
7519 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7520 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7521 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7522 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7524 bool temp3
= False
;
7527 bool temp8
= False
;
7528 PyObject
* obj0
= 0 ;
7529 PyObject
* obj1
= 0 ;
7530 PyObject
* obj2
= 0 ;
7531 PyObject
* obj3
= 0 ;
7532 PyObject
* obj4
= 0 ;
7533 PyObject
* obj5
= 0 ;
7534 PyObject
* obj6
= 0 ;
7535 PyObject
* obj7
= 0 ;
7537 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7543 arg2
= (int) SWIG_AsInt(obj1
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7547 arg3
= wxString_in_helper(obj2
);
7548 if (arg3
== NULL
) SWIG_fail
;
7555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7561 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7565 arg6
= (long) SWIG_AsLong(obj5
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7569 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7573 PyErr_SetString(PyExc_TypeError
,"null reference");
7579 arg8
= wxString_in_helper(obj7
);
7580 if (arg8
== NULL
) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= wxPyMake_wxObject(result
);
7616 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 result
= (wxTextCtrl
*)new wxTextCtrl();
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= wxPyMake_wxObject(result
);
7640 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7643 wxWindow
*arg2
= (wxWindow
*) 0 ;
7645 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7646 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7647 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7648 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7649 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7650 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7651 long arg7
= (long) 0 ;
7652 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7653 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7654 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7655 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7657 bool temp4
= False
;
7660 bool temp9
= False
;
7661 PyObject
* obj0
= 0 ;
7662 PyObject
* obj1
= 0 ;
7663 PyObject
* obj2
= 0 ;
7664 PyObject
* obj3
= 0 ;
7665 PyObject
* obj4
= 0 ;
7666 PyObject
* obj5
= 0 ;
7667 PyObject
* obj6
= 0 ;
7668 PyObject
* obj7
= 0 ;
7669 PyObject
* obj8
= 0 ;
7671 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7679 arg3
= (int) SWIG_AsInt(obj2
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7683 arg4
= wxString_in_helper(obj3
);
7684 if (arg4
== NULL
) SWIG_fail
;
7691 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7697 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7701 arg7
= (long) SWIG_AsLong(obj6
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7705 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7709 PyErr_SetString(PyExc_TypeError
,"null reference");
7715 arg9
= wxString_in_helper(obj8
);
7716 if (arg9
== NULL
) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7752 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "self", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7773 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7775 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7784 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7787 wxString
*arg2
= 0 ;
7788 bool temp2
= False
;
7789 PyObject
* obj0
= 0 ;
7790 PyObject
* obj1
= 0 ;
7792 (char *) "self",(char *) "value", NULL
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7799 arg2
= wxString_in_helper(obj1
);
7800 if (arg2
== NULL
) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 (arg1
)->SetValue((wxString
const &)*arg2
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 Py_INCREF(Py_None
); resultobj
= Py_None
;
7825 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
;
7827 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7831 PyObject
* obj0
= 0 ;
7832 PyObject
* obj1
= 0 ;
7833 PyObject
* obj2
= 0 ;
7835 (char *) "self",(char *) "from",(char *) "to", NULL
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7841 arg2
= (long) SWIG_AsLong(obj1
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7843 arg3
= (long) SWIG_AsLong(obj2
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7865 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7870 PyObject
* obj0
= 0 ;
7871 PyObject
* obj1
= 0 ;
7873 (char *) "self",(char *) "lineNo", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7879 arg2
= (long) SWIG_AsLong(obj1
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_FromInt((int)result
);
7895 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7900 PyObject
* obj0
= 0 ;
7901 PyObject
* obj1
= 0 ;
7903 (char *) "self",(char *) "lineNo", NULL
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7909 arg2
= (long) SWIG_AsLong(obj1
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7931 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7935 PyObject
* obj0
= 0 ;
7937 (char *) "self", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= SWIG_FromInt((int)result
);
7957 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7963 (char *) "self", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7985 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
*resultobj
;
7987 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7991 (char *) "self", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8013 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
;
8015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8017 PyObject
* obj0
= 0 ;
8019 (char *) "self", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8041 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
;
8043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8045 PyObject
* obj0
= 0 ;
8047 (char *) "self", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8069 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8072 long *arg2
= (long *) 0 ;
8073 long *arg3
= (long *) 0 ;
8076 PyObject
* obj0
= 0 ;
8078 (char *) "self", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8093 Py_INCREF(Py_None
); resultobj
= Py_None
;
8095 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8096 resultobj
= t_output_helper(resultobj
,o
);
8099 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8100 resultobj
= t_output_helper(resultobj
,o
);
8108 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8114 (char *) "self", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8140 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
;
8142 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8143 PyObject
* obj0
= 0 ;
8145 (char *) "self", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8158 Py_INCREF(Py_None
); resultobj
= Py_None
;
8165 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
;
8167 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8170 wxString
*arg4
= 0 ;
8171 bool temp4
= False
;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8174 PyObject
* obj2
= 0 ;
8175 PyObject
* obj3
= 0 ;
8177 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8183 arg2
= (long) SWIG_AsLong(obj1
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8185 arg3
= (long) SWIG_AsLong(obj2
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 arg4
= wxString_in_helper(obj3
);
8189 if (arg4
== NULL
) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 Py_INCREF(Py_None
); resultobj
= Py_None
;
8214 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8219 PyObject
* obj0
= 0 ;
8220 PyObject
* obj1
= 0 ;
8221 PyObject
* obj2
= 0 ;
8223 (char *) "self",(char *) "from",(char *) "to", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8229 arg2
= (long) SWIG_AsLong(obj1
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8231 arg3
= (long) SWIG_AsLong(obj2
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 (arg1
)->Remove(arg2
,arg3
);
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8240 Py_INCREF(Py_None
); resultobj
= Py_None
;
8247 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
;
8249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8250 wxString
*arg2
= 0 ;
8252 bool temp2
= False
;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8256 (char *) "self",(char *) "file", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8263 arg2
= wxString_in_helper(obj1
);
8264 if (arg2
== NULL
) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8291 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
;
8293 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8294 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8295 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8297 bool temp2
= False
;
8298 PyObject
* obj0
= 0 ;
8299 PyObject
* obj1
= 0 ;
8301 (char *) "self",(char *) "file", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8309 arg2
= wxString_in_helper(obj1
);
8310 if (arg2
== NULL
) SWIG_fail
;
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8338 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8341 PyObject
* obj0
= 0 ;
8343 (char *) "self", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 (arg1
)->MarkDirty();
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8356 Py_INCREF(Py_None
); resultobj
= Py_None
;
8363 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
;
8365 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8366 PyObject
* obj0
= 0 ;
8368 (char *) "self", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 (arg1
)->DiscardEdits();
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 Py_INCREF(Py_None
); resultobj
= Py_None
;
8388 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
;
8390 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8391 unsigned long arg2
;
8392 PyObject
* obj0
= 0 ;
8393 PyObject
* obj1
= 0 ;
8395 (char *) "self",(char *) "len", NULL
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8401 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 (arg1
)->SetMaxLength(arg2
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 Py_INCREF(Py_None
); resultobj
= Py_None
;
8417 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8420 wxString
*arg2
= 0 ;
8421 bool temp2
= False
;
8422 PyObject
* obj0
= 0 ;
8423 PyObject
* obj1
= 0 ;
8425 (char *) "self",(char *) "text", NULL
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8432 arg2
= wxString_in_helper(obj1
);
8433 if (arg2
== NULL
) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 (arg1
)->WriteText((wxString
const &)*arg2
);
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 Py_INCREF(Py_None
); resultobj
= Py_None
;
8458 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8461 wxString
*arg2
= 0 ;
8462 bool temp2
= False
;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8466 (char *) "self",(char *) "text", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8473 arg2
= wxString_in_helper(obj1
);
8474 if (arg2
== NULL
) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 (arg1
)->AppendText((wxString
const &)*arg2
);
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 Py_INCREF(Py_None
); resultobj
= Py_None
;
8499 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8502 wxKeyEvent
*arg2
= 0 ;
8504 PyObject
* obj0
= 0 ;
8505 PyObject
* obj1
= 0 ;
8507 (char *) "self",(char *) "event", NULL
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8517 PyErr_SetString(PyExc_TypeError
,"null reference");
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8536 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8541 wxTextAttr
*arg4
= 0 ;
8543 PyObject
* obj0
= 0 ;
8544 PyObject
* obj1
= 0 ;
8545 PyObject
* obj2
= 0 ;
8546 PyObject
* obj3
= 0 ;
8548 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8554 arg2
= (long) SWIG_AsLong(obj1
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8556 arg3
= (long) SWIG_AsLong(obj2
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8558 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8562 PyErr_SetString(PyExc_TypeError
,"null reference");
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8581 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8585 wxTextAttr
*arg3
= 0 ;
8587 PyObject
* obj0
= 0 ;
8588 PyObject
* obj1
= 0 ;
8589 PyObject
* obj2
= 0 ;
8591 (char *) "self",(char *) "position",(char *) "style", NULL
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8597 arg2
= (long) SWIG_AsLong(obj1
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8599 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8603 PyErr_SetString(PyExc_TypeError
,"null reference");
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8622 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8625 wxTextAttr
*arg2
= 0 ;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8630 (char *) "self",(char *) "style", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8640 PyErr_SetString(PyExc_TypeError
,"null reference");
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8659 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
;
8661 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8663 PyObject
* obj0
= 0 ;
8665 (char *) "self", NULL
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8675 result
= (wxTextAttr
*) &_result_ref
;
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8688 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8694 PyObject
* obj0
= 0 ;
8695 PyObject
* obj1
= 0 ;
8696 PyObject
* obj2
= 0 ;
8698 (char *) "self",(char *) "x",(char *) "y", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8704 arg2
= (long) SWIG_AsLong(obj1
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8706 arg3
= (long) SWIG_AsLong(obj2
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 resultobj
= SWIG_FromLong((long)result
);
8722 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8726 long *arg3
= (long *) 0 ;
8727 long *arg4
= (long *) 0 ;
8730 PyObject
* obj0
= 0 ;
8731 PyObject
* obj1
= 0 ;
8733 (char *) "self",(char *) "pos", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8741 arg2
= (long) SWIG_AsLong(obj1
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 Py_INCREF(Py_None
); resultobj
= Py_None
;
8752 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8753 resultobj
= t_output_helper(resultobj
,o
);
8756 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8757 resultobj
= t_output_helper(resultobj
,o
);
8765 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8769 PyObject
* obj0
= 0 ;
8770 PyObject
* obj1
= 0 ;
8772 (char *) "self",(char *) "pos", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8778 arg2
= (long) SWIG_AsLong(obj1
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->ShowPosition(arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 Py_INCREF(Py_None
); resultobj
= Py_None
;
8794 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8798 long *arg3
= (long *) 0 ;
8799 long *arg4
= (long *) 0 ;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8807 (char *) "self",(char *) "pt", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8817 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 resultobj
= SWIG_FromInt((int)result
);
8828 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8829 resultobj
= t_output_helper(resultobj
,o
);
8832 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8833 resultobj
= t_output_helper(resultobj
,o
);
8841 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8844 PyObject
* obj0
= 0 ;
8846 (char *) "self", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 Py_INCREF(Py_None
); resultobj
= Py_None
;
8866 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8869 PyObject
* obj0
= 0 ;
8871 (char *) "self", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 Py_INCREF(Py_None
); resultobj
= Py_None
;
8891 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
;
8893 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8896 (char *) "self", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 Py_INCREF(Py_None
); resultobj
= Py_None
;
8916 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "self", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8944 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "self", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8972 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8976 PyObject
* obj0
= 0 ;
8978 (char *) "self", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9000 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9003 PyObject
* obj0
= 0 ;
9005 (char *) "self", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9018 Py_INCREF(Py_None
); resultobj
= Py_None
;
9025 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9027 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9028 PyObject
* obj0
= 0 ;
9030 (char *) "self", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 Py_INCREF(Py_None
); resultobj
= Py_None
;
9050 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9052 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9054 PyObject
* obj0
= 0 ;
9056 (char *) "self", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9078 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
;
9080 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9082 PyObject
* obj0
= 0 ;
9084 (char *) "self", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9106 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9113 (char *) "self",(char *) "pos", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9119 arg2
= (long) SWIG_AsLong(obj1
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 (arg1
)->SetInsertionPoint(arg2
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 Py_INCREF(Py_None
); resultobj
= Py_None
;
9135 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9138 PyObject
* obj0
= 0 ;
9140 (char *) "self", NULL
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 (arg1
)->SetInsertionPointEnd();
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 Py_INCREF(Py_None
); resultobj
= Py_None
;
9160 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
;
9162 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9164 PyObject
* obj0
= 0 ;
9166 (char *) "self", NULL
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_FromLong((long)result
);
9186 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9190 PyObject
* obj0
= 0 ;
9192 (char *) "self", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_FromLong((long)result
);
9212 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9219 PyObject
* obj2
= 0 ;
9221 (char *) "self",(char *) "from",(char *) "to", NULL
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9227 arg2
= (long) SWIG_AsLong(obj1
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9229 arg3
= (long) SWIG_AsLong(obj2
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 (arg1
)->SetSelection(arg2
,arg3
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 Py_INCREF(Py_None
); resultobj
= Py_None
;
9245 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9248 PyObject
* obj0
= 0 ;
9250 (char *) "self", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 (arg1
)->SelectAll();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 Py_INCREF(Py_None
); resultobj
= Py_None
;
9270 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9275 PyObject
* obj1
= 0 ;
9277 (char *) "self",(char *) "editable", NULL
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 arg2
= (bool) SWIG_AsBool(obj1
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 (arg1
)->SetEditable(arg2
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 Py_INCREF(Py_None
); resultobj
= Py_None
;
9299 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9302 wxString
*arg2
= 0 ;
9303 bool temp2
= False
;
9304 PyObject
* obj0
= 0 ;
9305 PyObject
* obj1
= 0 ;
9307 (char *) "self",(char *) "text", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9314 arg2
= wxString_in_helper(obj1
);
9315 if (arg2
== NULL
) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 Py_INCREF(Py_None
); resultobj
= Py_None
;
9340 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9348 PyObject
* obj2
= 0 ;
9350 (char *) "self",(char *) "from",(char *) "to", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9356 arg2
= (long) SWIG_AsLong(obj1
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9358 arg3
= (long) SWIG_AsLong(obj2
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9380 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9383 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9385 return Py_BuildValue((char *)"");
9387 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9390 wxMouseEvent
*arg2
= 0 ;
9393 wxTextUrlEvent
*result
;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9396 PyObject
* obj2
= 0 ;
9397 PyObject
* obj3
= 0 ;
9399 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9403 arg1
= (int) SWIG_AsInt(obj0
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9409 PyErr_SetString(PyExc_TypeError
,"null reference");
9412 arg3
= (long) SWIG_AsLong(obj2
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9414 arg4
= (long) SWIG_AsLong(obj3
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9430 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9433 wxMouseEvent
*result
;
9434 PyObject
* obj0
= 0 ;
9436 (char *) "self", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9446 result
= (wxMouseEvent
*) &_result_ref
;
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9459 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
;
9461 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9465 (char *) "self", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_FromLong((long)result
);
9485 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9489 PyObject
* obj0
= 0 ;
9491 (char *) "self", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_FromLong((long)result
);
9511 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9514 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9516 return Py_BuildValue((char *)"");
9518 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9519 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9524 static PyObject
*_wrap_ScrollBarNameStr_get() {
9529 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9531 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9538 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxWindow
*arg1
= (wxWindow
*) 0 ;
9541 int arg2
= (int) -1 ;
9542 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9543 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9544 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9545 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9546 long arg5
= (long) wxSB_HORIZONTAL
;
9547 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9548 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9549 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9550 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9551 wxScrollBar
*result
;
9554 bool temp7
= False
;
9555 PyObject
* obj0
= 0 ;
9556 PyObject
* obj1
= 0 ;
9557 PyObject
* obj2
= 0 ;
9558 PyObject
* obj3
= 0 ;
9559 PyObject
* obj4
= 0 ;
9560 PyObject
* obj5
= 0 ;
9561 PyObject
* obj6
= 0 ;
9563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9570 arg2
= (int) SWIG_AsInt(obj1
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9582 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9586 arg5
= (long) SWIG_AsLong(obj4
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9590 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9594 PyErr_SetString(PyExc_TypeError
,"null reference");
9600 arg7
= wxString_in_helper(obj6
);
9601 if (arg7
== NULL
) SWIG_fail
;
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9627 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9629 wxScrollBar
*result
;
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= (wxScrollBar
*)new wxScrollBar();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9649 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
;
9651 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9652 wxWindow
*arg2
= (wxWindow
*) 0 ;
9653 int arg3
= (int) -1 ;
9654 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9655 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9656 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9657 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9658 long arg6
= (long) wxSB_HORIZONTAL
;
9659 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9660 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9661 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9662 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9666 bool temp8
= False
;
9667 PyObject
* obj0
= 0 ;
9668 PyObject
* obj1
= 0 ;
9669 PyObject
* obj2
= 0 ;
9670 PyObject
* obj3
= 0 ;
9671 PyObject
* obj4
= 0 ;
9672 PyObject
* obj5
= 0 ;
9673 PyObject
* obj6
= 0 ;
9674 PyObject
* obj7
= 0 ;
9676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9685 arg3
= (int) SWIG_AsInt(obj2
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9691 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9697 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9701 arg6
= (long) SWIG_AsLong(obj5
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9705 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9709 PyErr_SetString(PyExc_TypeError
,"null reference");
9715 arg8
= wxString_in_helper(obj7
);
9716 if (arg8
== NULL
) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9744 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9750 (char *) "self", NULL
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= SWIG_FromInt((int)result
);
9770 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
;
9772 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9776 (char *) "self", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= SWIG_FromInt((int)result
);
9796 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "self", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= SWIG_FromInt((int)result
);
9822 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9824 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "self", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= SWIG_FromInt((int)result
);
9848 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "self", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9876 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9880 PyObject
* obj0
= 0 ;
9881 PyObject
* obj1
= 0 ;
9883 (char *) "self",(char *) "viewStart", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9889 arg2
= (int) SWIG_AsInt(obj1
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 (arg1
)->SetThumbPosition(arg2
);
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 Py_INCREF(Py_None
); resultobj
= Py_None
;
9905 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
;
9907 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9912 bool arg6
= (bool) True
;
9913 PyObject
* obj0
= 0 ;
9914 PyObject
* obj1
= 0 ;
9915 PyObject
* obj2
= 0 ;
9916 PyObject
* obj3
= 0 ;
9917 PyObject
* obj4
= 0 ;
9918 PyObject
* obj5
= 0 ;
9920 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9926 arg2
= (int) SWIG_AsInt(obj1
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9928 arg3
= (int) SWIG_AsInt(obj2
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9930 arg4
= (int) SWIG_AsInt(obj3
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9932 arg5
= (int) SWIG_AsInt(obj4
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 arg6
= (bool) SWIG_AsBool(obj5
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 Py_INCREF(Py_None
); resultobj
= Py_None
;
9952 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9955 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9957 return Py_BuildValue((char *)"");
9959 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9960 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9965 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9970 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9972 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9979 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9980 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9985 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9990 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9992 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9999 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxWindow
*arg1
= (wxWindow
*) 0 ;
10002 int arg2
= (int) -1 ;
10003 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10004 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10005 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10006 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10007 long arg5
= (long) wxSP_HORIZONTAL
;
10008 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10009 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10010 wxSpinButton
*result
;
10013 bool temp6
= False
;
10014 PyObject
* obj0
= 0 ;
10015 PyObject
* obj1
= 0 ;
10016 PyObject
* obj2
= 0 ;
10017 PyObject
* obj3
= 0 ;
10018 PyObject
* obj4
= 0 ;
10019 PyObject
* obj5
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10028 arg2
= (int) SWIG_AsInt(obj1
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10034 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10040 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10044 arg5
= (long) SWIG_AsLong(obj4
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10049 arg6
= wxString_in_helper(obj5
);
10050 if (arg6
== NULL
) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10076 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
;
10078 wxSpinButton
*result
;
10079 char *kwnames
[] = {
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (wxSpinButton
*)new wxSpinButton();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10098 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10101 wxWindow
*arg2
= (wxWindow
*) 0 ;
10102 int arg3
= (int) -1 ;
10103 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10104 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10105 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10106 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10107 long arg6
= (long) wxSP_HORIZONTAL
;
10108 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10109 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10113 bool temp7
= False
;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 PyObject
* obj2
= 0 ;
10117 PyObject
* obj3
= 0 ;
10118 PyObject
* obj4
= 0 ;
10119 PyObject
* obj5
= 0 ;
10120 PyObject
* obj6
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10131 arg3
= (int) SWIG_AsInt(obj2
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10137 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10143 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10147 arg6
= (long) SWIG_AsLong(obj5
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10152 arg7
= wxString_in_helper(obj6
);
10153 if (arg7
== NULL
) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10181 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10185 PyObject
* obj0
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "self", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= SWIG_FromInt((int)result
);
10207 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10211 PyObject
* obj0
= 0 ;
10212 char *kwnames
[] = {
10213 (char *) "self", NULL
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= SWIG_FromInt((int)result
);
10233 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
;
10235 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10237 PyObject
* obj0
= 0 ;
10238 char *kwnames
[] = {
10239 (char *) "self", NULL
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= SWIG_FromInt((int)result
);
10259 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
;
10261 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10263 PyObject
* obj0
= 0 ;
10264 PyObject
* obj1
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "self",(char *) "val", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10272 arg2
= (int) SWIG_AsInt(obj1
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 (arg1
)->SetValue(arg2
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 Py_INCREF(Py_None
); resultobj
= Py_None
;
10288 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10290 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self",(char *) "minVal", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10301 arg2
= (int) SWIG_AsInt(obj1
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 (arg1
)->SetMin(arg2
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 Py_INCREF(Py_None
); resultobj
= Py_None
;
10317 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self",(char *) "maxVal", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10330 arg2
= (int) SWIG_AsInt(obj1
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 (arg1
)->SetMax(arg2
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 Py_INCREF(Py_None
); resultobj
= Py_None
;
10346 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
;
10348 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 PyObject
* obj1
= 0 ;
10353 PyObject
* obj2
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10361 arg2
= (int) SWIG_AsInt(obj1
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10363 arg3
= (int) SWIG_AsInt(obj2
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 (arg1
)->SetRange(arg2
,arg3
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 Py_INCREF(Py_None
); resultobj
= Py_None
;
10379 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10383 PyObject
* obj0
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10407 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10410 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10412 return Py_BuildValue((char *)"");
10414 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxWindow
*arg1
= (wxWindow
*) 0 ;
10417 int arg2
= (int) -1 ;
10418 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10419 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10420 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10421 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10422 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10423 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10424 long arg6
= (long) wxSP_ARROW_KEYS
;
10425 int arg7
= (int) 0 ;
10426 int arg8
= (int) 100 ;
10427 int arg9
= (int) 0 ;
10428 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10429 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10430 wxSpinCtrl
*result
;
10431 bool temp3
= False
;
10434 bool temp10
= False
;
10435 PyObject
* obj0
= 0 ;
10436 PyObject
* obj1
= 0 ;
10437 PyObject
* obj2
= 0 ;
10438 PyObject
* obj3
= 0 ;
10439 PyObject
* obj4
= 0 ;
10440 PyObject
* obj5
= 0 ;
10441 PyObject
* obj6
= 0 ;
10442 PyObject
* obj7
= 0 ;
10443 PyObject
* obj8
= 0 ;
10444 PyObject
* obj9
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10453 arg2
= (int) SWIG_AsInt(obj1
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10458 arg3
= wxString_in_helper(obj2
);
10459 if (arg3
== NULL
) SWIG_fail
;
10466 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10472 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10476 arg6
= (long) SWIG_AsLong(obj5
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10480 arg7
= (int) SWIG_AsInt(obj6
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 arg8
= (int) SWIG_AsInt(obj7
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10488 arg9
= (int) SWIG_AsInt(obj8
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10493 arg10
= wxString_in_helper(obj9
);
10494 if (arg10
== NULL
) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10528 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxSpinCtrl
*result
;
10531 char *kwnames
[] = {
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10550 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10553 wxWindow
*arg2
= (wxWindow
*) 0 ;
10554 int arg3
= (int) -1 ;
10555 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10556 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10557 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10558 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10559 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10560 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10561 long arg7
= (long) wxSP_ARROW_KEYS
;
10562 int arg8
= (int) 0 ;
10563 int arg9
= (int) 100 ;
10564 int arg10
= (int) 0 ;
10565 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10566 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10568 bool temp4
= False
;
10571 bool temp11
= False
;
10572 PyObject
* obj0
= 0 ;
10573 PyObject
* obj1
= 0 ;
10574 PyObject
* obj2
= 0 ;
10575 PyObject
* obj3
= 0 ;
10576 PyObject
* obj4
= 0 ;
10577 PyObject
* obj5
= 0 ;
10578 PyObject
* obj6
= 0 ;
10579 PyObject
* obj7
= 0 ;
10580 PyObject
* obj8
= 0 ;
10581 PyObject
* obj9
= 0 ;
10582 PyObject
* obj10
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10593 arg3
= (int) SWIG_AsInt(obj2
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10598 arg4
= wxString_in_helper(obj3
);
10599 if (arg4
== NULL
) SWIG_fail
;
10606 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10612 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10616 arg7
= (long) SWIG_AsLong(obj6
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10620 arg8
= (int) SWIG_AsInt(obj7
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10624 arg9
= (int) SWIG_AsInt(obj8
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10628 arg10
= (int) SWIG_AsInt(obj9
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10633 arg11
= wxString_in_helper(obj10
);
10634 if (arg11
== NULL
) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10670 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10674 PyObject
* obj0
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= SWIG_FromInt((int)result
);
10696 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj1
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self",(char *) "value", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10709 arg2
= (int) SWIG_AsInt(obj1
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 (arg1
)->SetValue(arg2
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 Py_INCREF(Py_None
); resultobj
= Py_None
;
10725 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10728 wxString
*arg2
= 0 ;
10729 bool temp2
= False
;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 char *kwnames
[] = {
10733 (char *) "self",(char *) "text", NULL
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10740 arg2
= wxString_in_helper(obj1
);
10741 if (arg2
== NULL
) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->SetValue((wxString
const &)*arg2
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 Py_INCREF(Py_None
); resultobj
= Py_None
;
10766 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
*resultobj
;
10768 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 PyObject
* obj2
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 arg2
= (int) SWIG_AsInt(obj1
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10783 arg3
= (int) SWIG_AsInt(obj2
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 (arg1
)->SetRange(arg2
,arg3
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10792 Py_INCREF(Py_None
); resultobj
= Py_None
;
10799 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 resultobj
= SWIG_FromInt((int)result
);
10825 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "self", NULL
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= SWIG_FromInt((int)result
);
10851 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 PyObject
* obj2
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "self",(char *) "from",(char *) "to", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10866 arg2
= (long) SWIG_AsLong(obj1
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10868 arg3
= (long) SWIG_AsLong(obj2
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->SetSelection(arg2
,arg3
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 Py_INCREF(Py_None
); resultobj
= Py_None
;
10884 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10887 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10889 return Py_BuildValue((char *)"");
10891 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10894 int arg2
= (int) 0 ;
10895 wxSpinEvent
*result
;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "commandType",(char *) "winid", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10904 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10908 arg2
= (int) SWIG_AsInt(obj1
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10925 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 char *kwnames
[] = {
10931 (char *) "self", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= SWIG_FromInt((int)result
);
10951 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10952 PyObject
*resultobj
;
10953 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10955 PyObject
* obj0
= 0 ;
10956 PyObject
* obj1
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self",(char *) "pos", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10964 arg2
= (int) SWIG_AsInt(obj1
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 (arg1
)->SetPosition(arg2
);
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 Py_INCREF(Py_None
); resultobj
= Py_None
;
10980 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10983 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10985 return Py_BuildValue((char *)"");
10987 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10988 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10993 static PyObject
*_wrap_RadioBoxNameStr_get() {
10998 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11000 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11007 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11008 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11013 static PyObject
*_wrap_RadioButtonNameStr_get() {
11018 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11020 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11027 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxWindow
*arg1
= (wxWindow
*) 0 ;
11031 wxString
*arg3
= 0 ;
11032 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11033 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11034 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11035 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11036 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11037 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11038 int arg7
= (int) 0 ;
11039 long arg8
= (long) wxRA_HORIZONTAL
;
11040 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11041 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11042 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11043 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11044 wxRadioBox
*result
;
11045 bool temp3
= False
;
11048 bool temp6
= False
;
11049 bool temp10
= False
;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 PyObject
* obj2
= 0 ;
11053 PyObject
* obj3
= 0 ;
11054 PyObject
* obj4
= 0 ;
11055 PyObject
* obj5
= 0 ;
11056 PyObject
* obj6
= 0 ;
11057 PyObject
* obj7
= 0 ;
11058 PyObject
* obj8
= 0 ;
11059 PyObject
* obj9
= 0 ;
11060 char *kwnames
[] = {
11061 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11067 arg2
= (int) SWIG_AsInt(obj1
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 arg3
= wxString_in_helper(obj2
);
11071 if (arg3
== NULL
) SWIG_fail
;
11077 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11083 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11088 if (! PySequence_Check(obj5
)) {
11089 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11092 arg6
= new wxArrayString
;
11094 int i
, len
=PySequence_Length(obj5
);
11095 for (i
=0; i
<len
; i
++) {
11096 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11098 PyObject
* str
= PyObject_Unicode(item
);
11100 PyObject
* str
= PyObject_Str(item
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11103 arg6
->Add(Py2wxString(str
));
11110 arg7
= (int) SWIG_AsInt(obj6
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11114 arg8
= (long) SWIG_AsLong(obj7
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11118 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11121 if (arg9
== NULL
) {
11122 PyErr_SetString(PyExc_TypeError
,"null reference");
11128 arg10
= wxString_in_helper(obj9
);
11129 if (arg10
== NULL
) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 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
);
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11146 if (temp6
) delete arg6
;
11159 if (temp6
) delete arg6
;
11169 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11171 wxRadioBox
*result
;
11172 char *kwnames
[] = {
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 result
= (wxRadioBox
*)new wxRadioBox();
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11191 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11194 wxWindow
*arg2
= (wxWindow
*) 0 ;
11196 wxString
*arg4
= 0 ;
11197 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11198 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11199 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11200 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11201 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11202 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11203 int arg8
= (int) 0 ;
11204 long arg9
= (long) wxRA_HORIZONTAL
;
11205 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11206 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11207 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11208 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11210 bool temp4
= False
;
11213 bool temp7
= False
;
11214 bool temp11
= False
;
11215 PyObject
* obj0
= 0 ;
11216 PyObject
* obj1
= 0 ;
11217 PyObject
* obj2
= 0 ;
11218 PyObject
* obj3
= 0 ;
11219 PyObject
* obj4
= 0 ;
11220 PyObject
* obj5
= 0 ;
11221 PyObject
* obj6
= 0 ;
11222 PyObject
* obj7
= 0 ;
11223 PyObject
* obj8
= 0 ;
11224 PyObject
* obj9
= 0 ;
11225 PyObject
* obj10
= 0 ;
11226 char *kwnames
[] = {
11227 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11235 arg3
= (int) SWIG_AsInt(obj2
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 arg4
= wxString_in_helper(obj3
);
11239 if (arg4
== NULL
) SWIG_fail
;
11245 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11251 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11256 if (! PySequence_Check(obj6
)) {
11257 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11260 arg7
= new wxArrayString
;
11262 int i
, len
=PySequence_Length(obj6
);
11263 for (i
=0; i
<len
; i
++) {
11264 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11266 PyObject
* str
= PyObject_Unicode(item
);
11268 PyObject
* str
= PyObject_Str(item
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11271 arg7
->Add(Py2wxString(str
));
11278 arg8
= (int) SWIG_AsInt(obj7
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11282 arg9
= (long) SWIG_AsLong(obj8
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11286 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11289 if (arg10
== NULL
) {
11290 PyErr_SetString(PyExc_TypeError
,"null reference");
11296 arg11
= wxString_in_helper(obj10
);
11297 if (arg11
== NULL
) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 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
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11316 if (temp7
) delete arg7
;
11329 if (temp7
) delete arg7
;
11339 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11343 PyObject
* obj0
= 0 ;
11344 PyObject
* obj1
= 0 ;
11345 char *kwnames
[] = {
11346 (char *) "self",(char *) "n", NULL
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 arg2
= (int) SWIG_AsInt(obj1
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 (arg1
)->SetSelection(arg2
);
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 Py_INCREF(Py_None
); resultobj
= Py_None
;
11368 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
;
11370 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 resultobj
= SWIG_FromInt((int)result
);
11394 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11426 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11428 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11429 wxString
*arg2
= 0 ;
11431 bool temp2
= False
;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 char *kwnames
[] = {
11435 (char *) "self",(char *) "s", NULL
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11442 arg2
= wxString_in_helper(obj1
);
11443 if (arg2
== NULL
) SWIG_fail
;
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11470 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
;
11472 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11474 PyObject
* obj0
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11484 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11486 wxPyEndAllowThreads(__tstate
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11489 resultobj
= SWIG_FromInt((int)result
);
11496 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
;
11498 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11499 wxString
*arg2
= 0 ;
11501 bool temp2
= False
;
11502 PyObject
* obj0
= 0 ;
11503 PyObject
* obj1
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self",(char *) "s", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11512 arg2
= wxString_in_helper(obj1
);
11513 if (arg2
== NULL
) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_FromInt((int)result
);
11538 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
;
11540 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11543 PyObject
* obj0
= 0 ;
11544 PyObject
* obj1
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "self",(char *) "n", NULL
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11552 arg2
= (int) SWIG_AsInt(obj1
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11574 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11578 wxString
*arg3
= 0 ;
11579 bool temp3
= False
;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 PyObject
* obj2
= 0 ;
11583 char *kwnames
[] = {
11584 (char *) "self",(char *) "n",(char *) "label", NULL
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11590 arg2
= (int) SWIG_AsInt(obj1
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11593 arg3
= wxString_in_helper(obj2
);
11594 if (arg3
== NULL
) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 Py_INCREF(Py_None
); resultobj
= Py_None
;
11619 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
;
11621 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11623 bool arg3
= (bool) True
;
11624 PyObject
* obj0
= 0 ;
11625 PyObject
* obj1
= 0 ;
11626 PyObject
* obj2
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self",(char *) "n",(char *) "enable", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11634 arg2
= (int) SWIG_AsInt(obj1
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 arg3
= (bool) SWIG_AsBool(obj2
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 (arg1
)->Enable(arg2
,arg3
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 Py_INCREF(Py_None
); resultobj
= Py_None
;
11654 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11658 bool arg3
= (bool) True
;
11659 PyObject
* obj0
= 0 ;
11660 PyObject
* obj1
= 0 ;
11661 PyObject
* obj2
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "self",(char *) "n",(char *) "show", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11669 arg2
= (int) SWIG_AsInt(obj1
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 arg3
= (bool) SWIG_AsBool(obj2
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 (arg1
)->Show(arg2
,arg3
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 Py_INCREF(Py_None
); resultobj
= Py_None
;
11689 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 resultobj
= SWIG_FromInt((int)result
);
11715 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11719 PyObject
* obj0
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "self", NULL
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= SWIG_FromInt((int)result
);
11741 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11748 PyObject
* obj0
= 0 ;
11749 PyObject
* obj1
= 0 ;
11750 PyObject
* obj2
= 0 ;
11751 PyObject
* obj3
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11759 arg2
= (int) SWIG_AsInt(obj1
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11761 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11763 arg4
= (long) SWIG_AsLong(obj3
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= SWIG_FromInt((int)result
);
11779 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11782 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11784 return Py_BuildValue((char *)"");
11786 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxWindow
*arg1
= (wxWindow
*) 0 ;
11790 wxString
*arg3
= 0 ;
11791 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11792 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11793 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11794 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11795 long arg6
= (long) 0 ;
11796 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11797 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11798 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11799 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11800 wxRadioButton
*result
;
11801 bool temp3
= False
;
11804 bool temp8
= False
;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 PyObject
* obj2
= 0 ;
11808 PyObject
* obj3
= 0 ;
11809 PyObject
* obj4
= 0 ;
11810 PyObject
* obj5
= 0 ;
11811 PyObject
* obj6
= 0 ;
11812 PyObject
* obj7
= 0 ;
11813 char *kwnames
[] = {
11814 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11820 arg2
= (int) SWIG_AsInt(obj1
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 arg3
= wxString_in_helper(obj2
);
11824 if (arg3
== NULL
) SWIG_fail
;
11830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11840 arg6
= (long) SWIG_AsLong(obj5
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11847 if (arg7
== NULL
) {
11848 PyErr_SetString(PyExc_TypeError
,"null reference");
11854 arg8
= wxString_in_helper(obj7
);
11855 if (arg8
== NULL
) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11889 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
;
11891 wxRadioButton
*result
;
11892 char *kwnames
[] = {
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= (wxRadioButton
*)new wxRadioButton();
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11911 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
;
11913 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11914 wxWindow
*arg2
= (wxWindow
*) 0 ;
11916 wxString
*arg4
= 0 ;
11917 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11918 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11919 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11920 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11921 long arg7
= (long) 0 ;
11922 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11923 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11924 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11925 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11927 bool temp4
= False
;
11930 bool temp9
= False
;
11931 PyObject
* obj0
= 0 ;
11932 PyObject
* obj1
= 0 ;
11933 PyObject
* obj2
= 0 ;
11934 PyObject
* obj3
= 0 ;
11935 PyObject
* obj4
= 0 ;
11936 PyObject
* obj5
= 0 ;
11937 PyObject
* obj6
= 0 ;
11938 PyObject
* obj7
= 0 ;
11939 PyObject
* obj8
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11949 arg3
= (int) SWIG_AsInt(obj2
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 arg4
= wxString_in_helper(obj3
);
11953 if (arg4
== NULL
) SWIG_fail
;
11959 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11965 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11969 arg7
= (long) SWIG_AsLong(obj6
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11973 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11976 if (arg8
== NULL
) {
11977 PyErr_SetString(PyExc_TypeError
,"null reference");
11983 arg9
= wxString_in_helper(obj8
);
11984 if (arg9
== NULL
) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12020 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
;
12022 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12024 PyObject
* obj0
= 0 ;
12025 char *kwnames
[] = {
12026 (char *) "self", NULL
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 result
= (bool)(arg1
)->GetValue();
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12048 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
;
12050 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 char *kwnames
[] = {
12055 (char *) "self",(char *) "value", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12061 arg2
= (bool) SWIG_AsBool(obj1
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 (arg1
)->SetValue(arg2
);
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 Py_INCREF(Py_None
); resultobj
= Py_None
;
12077 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12080 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12082 return Py_BuildValue((char *)"");
12084 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12085 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12090 static PyObject
*_wrap_SliderNameStr_get() {
12095 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12097 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12104 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
;
12106 wxWindow
*arg1
= (wxWindow
*) 0 ;
12111 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12112 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12113 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12114 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12115 long arg8
= (long) wxSL_HORIZONTAL
;
12116 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12117 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12118 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12119 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12123 bool temp10
= False
;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 PyObject
* obj2
= 0 ;
12127 PyObject
* obj3
= 0 ;
12128 PyObject
* obj4
= 0 ;
12129 PyObject
* obj5
= 0 ;
12130 PyObject
* obj6
= 0 ;
12131 PyObject
* obj7
= 0 ;
12132 PyObject
* obj8
= 0 ;
12133 PyObject
* obj9
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12141 arg2
= (int) SWIG_AsInt(obj1
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12143 arg3
= (int) SWIG_AsInt(obj2
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12145 arg4
= (int) SWIG_AsInt(obj3
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12147 arg5
= (int) SWIG_AsInt(obj4
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12152 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12158 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12162 arg8
= (long) SWIG_AsLong(obj7
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12166 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12169 if (arg9
== NULL
) {
12170 PyErr_SetString(PyExc_TypeError
,"null reference");
12176 arg10
= wxString_in_helper(obj9
);
12177 if (arg10
== NULL
) SWIG_fail
;
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12203 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12206 char *kwnames
[] = {
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= (wxSlider
*)new wxSlider();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12225 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
;
12227 wxSlider
*arg1
= (wxSlider
*) 0 ;
12228 wxWindow
*arg2
= (wxWindow
*) 0 ;
12233 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12234 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12235 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12236 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12237 long arg9
= (long) wxSL_HORIZONTAL
;
12238 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12239 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12240 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12241 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12245 bool temp11
= False
;
12246 PyObject
* obj0
= 0 ;
12247 PyObject
* obj1
= 0 ;
12248 PyObject
* obj2
= 0 ;
12249 PyObject
* obj3
= 0 ;
12250 PyObject
* obj4
= 0 ;
12251 PyObject
* obj5
= 0 ;
12252 PyObject
* obj6
= 0 ;
12253 PyObject
* obj7
= 0 ;
12254 PyObject
* obj8
= 0 ;
12255 PyObject
* obj9
= 0 ;
12256 PyObject
* obj10
= 0 ;
12257 char *kwnames
[] = {
12258 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12266 arg3
= (int) SWIG_AsInt(obj2
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12268 arg4
= (int) SWIG_AsInt(obj3
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12270 arg5
= (int) SWIG_AsInt(obj4
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12272 arg6
= (int) SWIG_AsInt(obj5
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12277 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12283 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12287 arg9
= (long) SWIG_AsLong(obj8
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12294 if (arg10
== NULL
) {
12295 PyErr_SetString(PyExc_TypeError
,"null reference");
12301 arg11
= wxString_in_helper(obj10
);
12302 if (arg11
== NULL
) SWIG_fail
;
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12330 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxSlider
*arg1
= (wxSlider
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 char *kwnames
[] = {
12336 (char *) "self", NULL
12339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= SWIG_FromInt((int)result
);
12356 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxSlider
*arg1
= (wxSlider
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 PyObject
* obj1
= 0 ;
12362 char *kwnames
[] = {
12363 (char *) "self",(char *) "value", NULL
12366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12369 arg2
= (int) SWIG_AsInt(obj1
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 (arg1
)->SetValue(arg2
);
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 Py_INCREF(Py_None
); resultobj
= Py_None
;
12385 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxSlider
*arg1
= (wxSlider
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 PyObject
* obj1
= 0 ;
12392 PyObject
* obj2
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12400 arg2
= (int) SWIG_AsInt(obj1
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12402 arg3
= (int) SWIG_AsInt(obj2
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 (arg1
)->SetRange(arg2
,arg3
);
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 Py_INCREF(Py_None
); resultobj
= Py_None
;
12418 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxSlider
*arg1
= (wxSlider
*) 0 ;
12422 PyObject
* obj0
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= SWIG_FromInt((int)result
);
12444 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
;
12446 wxSlider
*arg1
= (wxSlider
*) 0 ;
12448 PyObject
* obj0
= 0 ;
12449 char *kwnames
[] = {
12450 (char *) "self", NULL
12453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 resultobj
= SWIG_FromInt((int)result
);
12470 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxSlider
*arg1
= (wxSlider
*) 0 ;
12474 PyObject
* obj0
= 0 ;
12475 PyObject
* obj1
= 0 ;
12476 char *kwnames
[] = {
12477 (char *) "self",(char *) "minValue", NULL
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12483 arg2
= (int) SWIG_AsInt(obj1
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 (arg1
)->SetMin(arg2
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 Py_INCREF(Py_None
); resultobj
= Py_None
;
12499 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxSlider
*arg1
= (wxSlider
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self",(char *) "maxValue", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12512 arg2
= (int) SWIG_AsInt(obj1
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 (arg1
)->SetMax(arg2
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 Py_INCREF(Py_None
); resultobj
= Py_None
;
12528 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxSlider
*arg1
= (wxSlider
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 PyObject
* obj1
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self",(char *) "lineSize", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 arg2
= (int) SWIG_AsInt(obj1
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 (arg1
)->SetLineSize(arg2
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxSlider
*arg1
= (wxSlider
*) 0 ;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self",(char *) "pageSize", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12570 arg2
= (int) SWIG_AsInt(obj1
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 (arg1
)->SetPageSize(arg2
);
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 Py_INCREF(Py_None
); resultobj
= Py_None
;
12586 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
;
12588 wxSlider
*arg1
= (wxSlider
*) 0 ;
12590 PyObject
* obj0
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_FromInt((int)result
);
12612 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxSlider
*arg1
= (wxSlider
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= SWIG_FromInt((int)result
);
12638 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxSlider
*arg1
= (wxSlider
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 PyObject
* obj1
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self",(char *) "lenPixels", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12651 arg2
= (int) SWIG_AsInt(obj1
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->SetThumbLength(arg2
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 Py_INCREF(Py_None
); resultobj
= Py_None
;
12667 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxSlider
*arg1
= (wxSlider
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 resultobj
= SWIG_FromInt((int)result
);
12693 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxSlider
*arg1
= (wxSlider
*) 0 ;
12697 int arg3
= (int) 1 ;
12698 PyObject
* obj0
= 0 ;
12699 PyObject
* obj1
= 0 ;
12700 PyObject
* obj2
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self",(char *) "n",(char *) "pos", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12708 arg2
= (int) SWIG_AsInt(obj1
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 arg3
= (int) SWIG_AsInt(obj2
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 (arg1
)->SetTickFreq(arg2
,arg3
);
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 Py_INCREF(Py_None
); resultobj
= Py_None
;
12728 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
;
12730 wxSlider
*arg1
= (wxSlider
*) 0 ;
12732 PyObject
* obj0
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= SWIG_FromInt((int)result
);
12754 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxSlider
*arg1
= (wxSlider
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 char *kwnames
[] = {
12759 (char *) "self", NULL
12762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 (arg1
)->ClearTicks();
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 Py_INCREF(Py_None
); resultobj
= Py_None
;
12779 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxSlider
*arg1
= (wxSlider
*) 0 ;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "self",(char *) "tickPos", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12792 arg2
= (int) SWIG_AsInt(obj1
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 (arg1
)->SetTick(arg2
);
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 Py_INCREF(Py_None
); resultobj
= Py_None
;
12808 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxSlider
*arg1
= (wxSlider
*) 0 ;
12811 PyObject
* obj0
= 0 ;
12812 char *kwnames
[] = {
12813 (char *) "self", NULL
12816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 (arg1
)->ClearSel();
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 Py_INCREF(Py_None
); resultobj
= Py_None
;
12833 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
;
12835 wxSlider
*arg1
= (wxSlider
*) 0 ;
12837 PyObject
* obj0
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= SWIG_FromInt((int)result
);
12859 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxSlider
*arg1
= (wxSlider
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= SWIG_FromInt((int)result
);
12885 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxSlider
*arg1
= (wxSlider
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 PyObject
* obj2
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self",(char *) "min",(char *) "max", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12900 arg2
= (int) SWIG_AsInt(obj1
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12902 arg3
= (int) SWIG_AsInt(obj2
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 (arg1
)->SetSelection(arg2
,arg3
);
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 Py_INCREF(Py_None
); resultobj
= Py_None
;
12918 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12921 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12923 return Py_BuildValue((char *)"");
12925 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12926 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12931 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12936 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12938 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12945 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
;
12947 wxWindow
*arg1
= (wxWindow
*) 0 ;
12949 wxString
*arg3
= 0 ;
12950 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12951 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12952 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12953 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12954 long arg6
= (long) 0 ;
12955 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12956 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12957 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12958 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12959 wxToggleButton
*result
;
12960 bool temp3
= False
;
12963 bool temp8
= False
;
12964 PyObject
* obj0
= 0 ;
12965 PyObject
* obj1
= 0 ;
12966 PyObject
* obj2
= 0 ;
12967 PyObject
* obj3
= 0 ;
12968 PyObject
* obj4
= 0 ;
12969 PyObject
* obj5
= 0 ;
12970 PyObject
* obj6
= 0 ;
12971 PyObject
* obj7
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12979 arg2
= (int) SWIG_AsInt(obj1
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 arg3
= wxString_in_helper(obj2
);
12983 if (arg3
== NULL
) SWIG_fail
;
12989 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12995 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12999 arg6
= (long) SWIG_AsLong(obj5
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13003 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13006 if (arg7
== NULL
) {
13007 PyErr_SetString(PyExc_TypeError
,"null reference");
13013 arg8
= wxString_in_helper(obj7
);
13014 if (arg8
== NULL
) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13048 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxToggleButton
*result
;
13051 char *kwnames
[] = {
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 result
= (wxToggleButton
*)new wxToggleButton();
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13070 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13073 wxWindow
*arg2
= (wxWindow
*) 0 ;
13075 wxString
*arg4
= 0 ;
13076 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13077 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13078 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13079 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13080 long arg7
= (long) 0 ;
13081 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13082 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13083 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13084 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13086 bool temp4
= False
;
13089 bool temp9
= False
;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 PyObject
* obj2
= 0 ;
13093 PyObject
* obj3
= 0 ;
13094 PyObject
* obj4
= 0 ;
13095 PyObject
* obj5
= 0 ;
13096 PyObject
* obj6
= 0 ;
13097 PyObject
* obj7
= 0 ;
13098 PyObject
* obj8
= 0 ;
13099 char *kwnames
[] = {
13100 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13108 arg3
= (int) SWIG_AsInt(obj2
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 arg4
= wxString_in_helper(obj3
);
13112 if (arg4
== NULL
) SWIG_fail
;
13118 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13124 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13128 arg7
= (long) SWIG_AsLong(obj6
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13132 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13135 if (arg8
== NULL
) {
13136 PyErr_SetString(PyExc_TypeError
,"null reference");
13142 arg9
= wxString_in_helper(obj8
);
13143 if (arg9
== NULL
) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13179 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 char *kwnames
[] = {
13186 (char *) "self",(char *) "value", NULL
13189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13192 arg2
= (bool) SWIG_AsBool(obj1
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 (arg1
)->SetValue(arg2
);
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 Py_INCREF(Py_None
); resultobj
= Py_None
;
13208 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
*resultobj
;
13210 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13212 PyObject
* obj0
= 0 ;
13213 char *kwnames
[] = {
13214 (char *) "self", NULL
13217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13236 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13239 wxString
*arg2
= 0 ;
13240 bool temp2
= False
;
13241 PyObject
* obj0
= 0 ;
13242 PyObject
* obj1
= 0 ;
13243 char *kwnames
[] = {
13244 (char *) "self",(char *) "label", NULL
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13251 arg2
= wxString_in_helper(obj1
);
13252 if (arg2
== NULL
) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 (arg1
)->SetLabel((wxString
const &)*arg2
);
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 Py_INCREF(Py_None
); resultobj
= Py_None
;
13277 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13280 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13282 return Py_BuildValue((char *)"");
13284 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13285 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13290 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13295 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13297 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13304 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
;
13306 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13308 PyObject
* obj0
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13330 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self",(char *) "n", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= wxPyMake_wxObject(result
);
13362 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
;
13364 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13366 PyObject
* obj0
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= SWIG_FromInt((int)result
);
13388 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
;
13390 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13392 wxString
*arg3
= 0 ;
13394 bool temp3
= False
;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj1
= 0 ;
13397 PyObject
* obj2
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "self",(char *) "n",(char *) "strText", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13405 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 arg3
= wxString_in_helper(obj2
);
13409 if (arg3
== NULL
) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13436 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
;
13438 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13441 PyObject
* obj0
= 0 ;
13442 PyObject
* obj1
= 0 ;
13443 char *kwnames
[] = {
13444 (char *) "self",(char *) "n", NULL
13447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13450 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13472 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13475 wxImageList
*arg2
= (wxImageList
*) 0 ;
13476 PyObject
* obj0
= 0 ;
13477 PyObject
* obj1
= 0 ;
13478 char *kwnames
[] = {
13479 (char *) "self",(char *) "imageList", NULL
13482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 (arg1
)->SetImageList(arg2
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 Py_INCREF(Py_None
); resultobj
= Py_None
;
13501 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
;
13503 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13504 wxImageList
*arg2
= (wxImageList
*) 0 ;
13505 PyObject
* obj0
= 0 ;
13506 PyObject
* obj1
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "self",(char *) "imageList", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13515 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 (arg1
)->AssignImageList(arg2
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 Py_INCREF(Py_None
); resultobj
= Py_None
;
13530 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13533 wxImageList
*result
;
13534 PyObject
* obj0
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= wxPyMake_wxObject(result
);
13558 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 PyObject
* obj1
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self",(char *) "n", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13572 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_FromInt((int)result
);
13588 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13594 PyObject
* obj0
= 0 ;
13595 PyObject
* obj1
= 0 ;
13596 PyObject
* obj2
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self",(char *) "n",(char *) "imageId", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13604 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13606 arg3
= (int) SWIG_AsInt(obj2
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13624 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
;
13626 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13629 PyObject
* obj0
= 0 ;
13630 PyObject
* obj1
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self",(char *) "size", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13640 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13649 Py_INCREF(Py_None
); resultobj
= Py_None
;
13656 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 PyObject
* obj1
= 0 ;
13664 char *kwnames
[] = {
13665 (char *) "self",(char *) "sizePage", NULL
13668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13673 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13683 wxSize
* resultptr
;
13684 resultptr
= new wxSize((wxSize
&) result
);
13685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13693 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
;
13695 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13698 PyObject
* obj0
= 0 ;
13699 PyObject
* obj1
= 0 ;
13700 char *kwnames
[] = {
13701 (char *) "self",(char *) "n", NULL
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13707 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= (bool)(arg1
)->DeletePage(arg2
);
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13725 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 PyObject
* obj1
= 0 ;
13732 char *kwnames
[] = {
13733 (char *) "self",(char *) "n", NULL
13736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= (bool)(arg1
)->RemovePage(arg2
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13757 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13761 PyObject
* obj0
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "self", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 result
= (bool)(arg1
)->DeleteAllPages();
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13785 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13788 wxWindow
*arg2
= (wxWindow
*) 0 ;
13789 wxString
*arg3
= 0 ;
13790 bool arg4
= (bool) False
;
13791 int arg5
= (int) -1 ;
13793 bool temp3
= False
;
13794 PyObject
* obj0
= 0 ;
13795 PyObject
* obj1
= 0 ;
13796 PyObject
* obj2
= 0 ;
13797 PyObject
* obj3
= 0 ;
13798 PyObject
* obj4
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13809 arg3
= wxString_in_helper(obj2
);
13810 if (arg3
== NULL
) SWIG_fail
;
13814 arg4
= (bool) SWIG_AsBool(obj3
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13818 arg5
= (int) SWIG_AsInt(obj4
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13845 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13849 wxWindow
*arg3
= (wxWindow
*) 0 ;
13850 wxString
*arg4
= 0 ;
13851 bool arg5
= (bool) False
;
13852 int arg6
= (int) -1 ;
13854 bool temp4
= False
;
13855 PyObject
* obj0
= 0 ;
13856 PyObject
* obj1
= 0 ;
13857 PyObject
* obj2
= 0 ;
13858 PyObject
* obj3
= 0 ;
13859 PyObject
* obj4
= 0 ;
13860 PyObject
* obj5
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13868 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13870 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13873 arg4
= wxString_in_helper(obj3
);
13874 if (arg4
== NULL
) SWIG_fail
;
13878 arg5
= (bool) SWIG_AsBool(obj4
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13882 arg6
= (int) SWIG_AsInt(obj5
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13889 wxPyEndAllowThreads(__tstate
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13909 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
;
13911 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13914 PyObject
* obj0
= 0 ;
13915 PyObject
* obj1
= 0 ;
13916 char *kwnames
[] = {
13917 (char *) "self",(char *) "n", NULL
13920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13923 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 result
= (int)(arg1
)->SetSelection(arg2
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_FromInt((int)result
);
13939 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13942 bool arg2
= (bool) True
;
13943 PyObject
* obj0
= 0 ;
13944 PyObject
* obj1
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "self",(char *) "forward", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13953 arg2
= (bool) SWIG_AsBool(obj1
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 (arg1
)->AdvanceSelection(arg2
);
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 Py_INCREF(Py_None
); resultobj
= Py_None
;
13970 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13973 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13975 return Py_BuildValue((char *)"");
13977 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13980 int arg2
= (int) 0 ;
13981 int arg3
= (int) -1 ;
13982 int arg4
= (int) -1 ;
13983 wxBookCtrlEvent
*result
;
13984 PyObject
* obj0
= 0 ;
13985 PyObject
* obj1
= 0 ;
13986 PyObject
* obj2
= 0 ;
13987 PyObject
* obj3
= 0 ;
13988 char *kwnames
[] = {
13989 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13994 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13998 arg2
= (int) SWIG_AsInt(obj1
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14002 arg3
= (int) SWIG_AsInt(obj2
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14006 arg4
= (int) SWIG_AsInt(obj3
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14023 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= SWIG_FromInt((int)result
);
14049 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14053 PyObject
* obj0
= 0 ;
14054 PyObject
* obj1
= 0 ;
14055 char *kwnames
[] = {
14056 (char *) "self",(char *) "nSel", NULL
14059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14062 arg2
= (int) SWIG_AsInt(obj1
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 (arg1
)->SetSelection(arg2
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 Py_INCREF(Py_None
); resultobj
= Py_None
;
14078 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14079 PyObject
*resultobj
;
14080 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14082 PyObject
* obj0
= 0 ;
14083 char *kwnames
[] = {
14084 (char *) "self", NULL
14087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= SWIG_FromInt((int)result
);
14104 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14108 PyObject
* obj0
= 0 ;
14109 PyObject
* obj1
= 0 ;
14110 char *kwnames
[] = {
14111 (char *) "self",(char *) "nOldSel", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14117 arg2
= (int) SWIG_AsInt(obj1
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 (arg1
)->SetOldSelection(arg2
);
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 Py_INCREF(Py_None
); resultobj
= Py_None
;
14133 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14136 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14138 return Py_BuildValue((char *)"");
14140 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxWindow
*arg1
= (wxWindow
*) 0 ;
14143 int arg2
= (int) -1 ;
14144 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14145 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14146 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14147 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14148 long arg5
= (long) 0 ;
14149 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14150 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14151 wxNotebook
*result
;
14154 bool temp6
= False
;
14155 PyObject
* obj0
= 0 ;
14156 PyObject
* obj1
= 0 ;
14157 PyObject
* obj2
= 0 ;
14158 PyObject
* obj3
= 0 ;
14159 PyObject
* obj4
= 0 ;
14160 PyObject
* obj5
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14169 arg2
= (int) SWIG_AsInt(obj1
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14175 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14181 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14185 arg5
= (long) SWIG_AsLong(obj4
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14190 arg6
= wxString_in_helper(obj5
);
14191 if (arg6
== NULL
) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= wxPyMake_wxObject(result
);
14219 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxNotebook
*result
;
14222 char *kwnames
[] = {
14226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 result
= (wxNotebook
*)new wxNotebook();
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14235 resultobj
= wxPyMake_wxObject(result
);
14243 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
;
14245 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14246 wxWindow
*arg2
= (wxWindow
*) 0 ;
14248 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14249 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14250 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14251 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14252 long arg6
= (long) 0 ;
14253 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14254 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14258 bool temp7
= False
;
14259 PyObject
* obj0
= 0 ;
14260 PyObject
* obj1
= 0 ;
14261 PyObject
* obj2
= 0 ;
14262 PyObject
* obj3
= 0 ;
14263 PyObject
* obj4
= 0 ;
14264 PyObject
* obj5
= 0 ;
14265 PyObject
* obj6
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14275 arg3
= (int) SWIG_AsInt(obj2
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14280 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14286 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14290 arg6
= (long) SWIG_AsLong(obj5
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14295 arg7
= wxString_in_helper(obj6
);
14296 if (arg7
== NULL
) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14324 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14325 PyObject
*resultobj
;
14326 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14328 PyObject
* obj0
= 0 ;
14329 char *kwnames
[] = {
14330 (char *) "self", NULL
14333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_FromInt((int)result
);
14350 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14355 PyObject
* obj0
= 0 ;
14356 PyObject
* obj1
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "self",(char *) "padding", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14366 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 Py_INCREF(Py_None
); resultobj
= Py_None
;
14382 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14387 PyObject
* obj0
= 0 ;
14388 PyObject
* obj1
= 0 ;
14389 char *kwnames
[] = {
14390 (char *) "self",(char *) "sz", NULL
14393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14398 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 Py_INCREF(Py_None
); resultobj
= Py_None
;
14414 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14417 wxPoint
*arg2
= 0 ;
14418 long *arg3
= (long *) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 PyObject
* obj1
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self",(char *) "pt", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14434 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= SWIG_FromInt((int)result
);
14445 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14446 resultobj
= t_output_helper(resultobj
,o
);
14454 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
;
14456 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14460 PyObject
* obj0
= 0 ;
14461 PyObject
* obj1
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self",(char *) "sizePage", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14481 wxSize
* resultptr
;
14482 resultptr
= new wxSize((wxSize
&) result
);
14483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14491 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14494 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14496 return Py_BuildValue((char *)"");
14498 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14501 int arg2
= (int) 0 ;
14502 int arg3
= (int) -1 ;
14503 int arg4
= (int) -1 ;
14504 wxNotebookEvent
*result
;
14505 PyObject
* obj0
= 0 ;
14506 PyObject
* obj1
= 0 ;
14507 PyObject
* obj2
= 0 ;
14508 PyObject
* obj3
= 0 ;
14509 char *kwnames
[] = {
14510 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14515 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14519 arg2
= (int) SWIG_AsInt(obj1
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14523 arg3
= (int) SWIG_AsInt(obj2
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14527 arg4
= (int) SWIG_AsInt(obj3
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14544 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14547 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14549 return Py_BuildValue((char *)"");
14551 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxWindow
*arg1
= (wxWindow
*) 0 ;
14554 int arg2
= (int) -1 ;
14555 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14556 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14557 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14558 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14559 long arg5
= (long) 0 ;
14560 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14561 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14562 wxListbook
*result
;
14565 bool temp6
= False
;
14566 PyObject
* obj0
= 0 ;
14567 PyObject
* obj1
= 0 ;
14568 PyObject
* obj2
= 0 ;
14569 PyObject
* obj3
= 0 ;
14570 PyObject
* obj4
= 0 ;
14571 PyObject
* obj5
= 0 ;
14572 char *kwnames
[] = {
14573 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14580 arg2
= (int) SWIG_AsInt(obj1
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14586 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14592 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14596 arg5
= (long) SWIG_AsLong(obj4
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14601 arg6
= wxString_in_helper(obj5
);
14602 if (arg6
== NULL
) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14628 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxListbook
*result
;
14631 char *kwnames
[] = {
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= (wxListbook
*)new wxListbook();
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14650 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
*resultobj
;
14652 wxListbook
*arg1
= (wxListbook
*) 0 ;
14653 wxWindow
*arg2
= (wxWindow
*) 0 ;
14655 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14656 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14657 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14658 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14659 long arg6
= (long) 0 ;
14660 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14661 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14665 bool temp7
= False
;
14666 PyObject
* obj0
= 0 ;
14667 PyObject
* obj1
= 0 ;
14668 PyObject
* obj2
= 0 ;
14669 PyObject
* obj3
= 0 ;
14670 PyObject
* obj4
= 0 ;
14671 PyObject
* obj5
= 0 ;
14672 PyObject
* obj6
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14682 arg3
= (int) SWIG_AsInt(obj2
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14697 arg6
= (long) SWIG_AsLong(obj5
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14702 arg7
= wxString_in_helper(obj6
);
14703 if (arg7
== NULL
) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14731 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxListbook
*arg1
= (wxListbook
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14759 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14762 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14764 return Py_BuildValue((char *)"");
14766 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14769 int arg2
= (int) 0 ;
14770 int arg3
= (int) -1 ;
14771 int arg4
= (int) -1 ;
14772 wxListbookEvent
*result
;
14773 PyObject
* obj0
= 0 ;
14774 PyObject
* obj1
= 0 ;
14775 PyObject
* obj2
= 0 ;
14776 PyObject
* obj3
= 0 ;
14777 char *kwnames
[] = {
14778 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14783 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14787 arg2
= (int) SWIG_AsInt(obj1
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14791 arg3
= (int) SWIG_AsInt(obj2
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14795 arg4
= (int) SWIG_AsInt(obj3
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14812 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14815 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14817 return Py_BuildValue((char *)"");
14819 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14822 wxBookCtrlSizer
*result
;
14823 PyObject
* obj0
= 0 ;
14824 char *kwnames
[] = {
14825 (char *) "nb", NULL
14828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14845 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
;
14847 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 (arg1
)->RecalcSizes();
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 Py_INCREF(Py_None
); resultobj
= Py_None
;
14870 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 result
= (arg1
)->CalcMin();
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14890 wxSize
* resultptr
;
14891 resultptr
= new wxSize((wxSize
&) result
);
14892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14900 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14903 wxBookCtrl
*result
;
14904 PyObject
* obj0
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "self", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14926 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14929 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14931 return Py_BuildValue((char *)"");
14933 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14936 wxNotebookSizer
*result
;
14937 PyObject
* obj0
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "nb", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14959 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 (arg1
)->RecalcSizes();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 Py_INCREF(Py_None
); resultobj
= Py_None
;
14984 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (arg1
)->CalcMin();
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15004 wxSize
* resultptr
;
15005 resultptr
= new wxSize((wxSize
&) result
);
15006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15014 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
;
15016 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15017 wxNotebook
*result
;
15018 PyObject
* obj0
= 0 ;
15019 char *kwnames
[] = {
15020 (char *) "self", NULL
15023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= wxPyMake_wxObject(result
);
15042 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15045 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15047 return Py_BuildValue((char *)"");
15049 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15053 PyObject
* obj0
= 0 ;
15054 char *kwnames
[] = {
15055 (char *) "self", NULL
15058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= (int)(arg1
)->GetId();
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= SWIG_FromInt((int)result
);
15075 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 result
= (wxControl
*)(arg1
)->GetControl();
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= wxPyMake_wxObject(result
);
15103 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
;
15105 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15106 wxToolBarBase
*result
;
15107 PyObject
* obj0
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "self", NULL
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15123 resultobj
= wxPyMake_wxObject(result
);
15131 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
;
15133 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15135 PyObject
* obj0
= 0 ;
15136 char *kwnames
[] = {
15137 (char *) "self", NULL
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 result
= (int)(arg1
)->IsButton();
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= SWIG_FromInt((int)result
);
15157 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
;
15159 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15161 PyObject
* obj0
= 0 ;
15162 char *kwnames
[] = {
15163 (char *) "self", NULL
15166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 result
= (int)(arg1
)->IsControl();
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= SWIG_FromInt((int)result
);
15183 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15184 PyObject
*resultobj
;
15185 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15187 PyObject
* obj0
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= (int)(arg1
)->IsSeparator();
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= SWIG_FromInt((int)result
);
15209 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15211 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15213 PyObject
* obj0
= 0 ;
15214 char *kwnames
[] = {
15215 (char *) "self", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= (int)(arg1
)->GetStyle();
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= SWIG_FromInt((int)result
);
15235 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
;
15237 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15239 PyObject
* obj0
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (int)(arg1
)->GetKind();
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= SWIG_FromInt((int)result
);
15261 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15263 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15265 PyObject
* obj0
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self", NULL
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 result
= (bool)(arg1
)->IsEnabled();
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15289 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 char *kwnames
[] = {
15295 (char *) "self", NULL
15298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= (bool)(arg1
)->IsToggled();
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15317 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
;
15319 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15321 PyObject
* obj0
= 0 ;
15322 char *kwnames
[] = {
15323 (char *) "self", NULL
15326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 result
= (bool)(arg1
)->CanBeToggled();
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15345 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
;
15347 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15349 PyObject
* obj0
= 0 ;
15350 char *kwnames
[] = {
15351 (char *) "self", NULL
15354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15361 result
= (wxBitmap
*) &_result_ref
;
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15368 wxBitmap
* resultptr
= new wxBitmap(*result
);
15369 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15377 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 char *kwnames
[] = {
15383 (char *) "self", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15393 result
= (wxBitmap
*) &_result_ref
;
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15400 wxBitmap
* resultptr
= new wxBitmap(*result
);
15401 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15409 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15413 PyObject
* obj0
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (arg1
)->GetBitmap();
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15429 wxBitmap
* resultptr
;
15430 resultptr
= new wxBitmap((wxBitmap
&) result
);
15431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15439 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15443 PyObject
* obj0
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (arg1
)->GetLabel();
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15471 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 char *kwnames
[] = {
15477 (char *) "self", NULL
15480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (arg1
)->GetShortHelp();
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15503 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (arg1
)->GetLongHelp();
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15535 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15537 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15540 PyObject
* obj0
= 0 ;
15541 PyObject
* obj1
= 0 ;
15542 char *kwnames
[] = {
15543 (char *) "self",(char *) "enable", NULL
15546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15549 arg2
= (bool) SWIG_AsBool(obj1
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 result
= (bool)(arg1
)->Enable(arg2
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15567 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15570 PyObject
* obj0
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 Py_INCREF(Py_None
); resultobj
= Py_None
;
15592 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15593 PyObject
*resultobj
;
15594 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15597 PyObject
* obj0
= 0 ;
15598 PyObject
* obj1
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "self",(char *) "toggle", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15606 arg2
= (bool) SWIG_AsBool(obj1
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (bool)(arg1
)->SetToggle(arg2
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15624 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15627 wxString
*arg2
= 0 ;
15629 bool temp2
= False
;
15630 PyObject
* obj0
= 0 ;
15631 PyObject
* obj1
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self",(char *) "help", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15640 arg2
= wxString_in_helper(obj1
);
15641 if (arg2
== NULL
) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15668 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15671 wxString
*arg2
= 0 ;
15673 bool temp2
= False
;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self",(char *) "help", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15684 arg2
= wxString_in_helper(obj1
);
15685 if (arg2
== NULL
) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15712 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15715 wxBitmap
*arg2
= 0 ;
15716 PyObject
* obj0
= 0 ;
15717 PyObject
* obj1
= 0 ;
15718 char *kwnames
[] = {
15719 (char *) "self",(char *) "bmp", NULL
15722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15728 if (arg2
== NULL
) {
15729 PyErr_SetString(PyExc_TypeError
,"null reference");
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 Py_INCREF(Py_None
); resultobj
= Py_None
;
15746 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
;
15748 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15749 wxBitmap
*arg2
= 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self",(char *) "bmp", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15762 if (arg2
== NULL
) {
15763 PyErr_SetString(PyExc_TypeError
,"null reference");
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 Py_INCREF(Py_None
); resultobj
= Py_None
;
15780 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
;
15782 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15783 wxString
*arg2
= 0 ;
15784 bool temp2
= False
;
15785 PyObject
* obj0
= 0 ;
15786 PyObject
* obj1
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self",(char *) "label", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15795 arg2
= wxString_in_helper(obj1
);
15796 if (arg2
== NULL
) SWIG_fail
;
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 (arg1
)->SetLabel((wxString
const &)*arg2
);
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 Py_INCREF(Py_None
); resultobj
= Py_None
;
15821 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15824 PyObject
* obj0
= 0 ;
15825 char *kwnames
[] = {
15826 (char *) "self", NULL
15829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 Py_INCREF(Py_None
); resultobj
= Py_None
;
15846 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15849 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 PyObject
* obj1
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self",(char *) "tbar", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 (arg1
)->Attach(arg2
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 Py_INCREF(Py_None
); resultobj
= Py_None
;
15875 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15879 PyObject
* obj0
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= result
;
15901 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15904 PyObject
*arg2
= (PyObject
*) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 PyObject
* obj1
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self",(char *) "clientData", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 Py_INCREF(Py_None
); resultobj
= Py_None
;
15929 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15932 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15934 return Py_BuildValue((char *)"");
15936 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15940 wxString
*arg3
= 0 ;
15941 wxBitmap
*arg4
= 0 ;
15942 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15943 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15944 int arg6
= (int) wxITEM_NORMAL
;
15945 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15946 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15947 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15948 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15949 PyObject
*arg9
= (PyObject
*) NULL
;
15950 wxToolBarToolBase
*result
;
15951 bool temp3
= False
;
15952 bool temp7
= False
;
15953 bool temp8
= False
;
15954 PyObject
* obj0
= 0 ;
15955 PyObject
* obj1
= 0 ;
15956 PyObject
* obj2
= 0 ;
15957 PyObject
* obj3
= 0 ;
15958 PyObject
* obj4
= 0 ;
15959 PyObject
* obj5
= 0 ;
15960 PyObject
* obj6
= 0 ;
15961 PyObject
* obj7
= 0 ;
15962 PyObject
* obj8
= 0 ;
15963 char *kwnames
[] = {
15964 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15970 arg2
= (int) SWIG_AsInt(obj1
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 arg3
= wxString_in_helper(obj2
);
15974 if (arg3
== NULL
) SWIG_fail
;
15977 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15980 if (arg4
== NULL
) {
15981 PyErr_SetString(PyExc_TypeError
,"null reference");
15985 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15988 if (arg5
== NULL
) {
15989 PyErr_SetString(PyExc_TypeError
,"null reference");
15994 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15999 arg7
= wxString_in_helper(obj6
);
16000 if (arg7
== NULL
) SWIG_fail
;
16006 arg8
= wxString_in_helper(obj7
);
16007 if (arg8
== NULL
) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= wxPyMake_wxObject(result
);
16054 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
;
16056 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16059 wxString
*arg4
= 0 ;
16060 wxBitmap
*arg5
= 0 ;
16061 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16062 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16063 int arg7
= (int) wxITEM_NORMAL
;
16064 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16065 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16066 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16067 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16068 PyObject
*arg10
= (PyObject
*) NULL
;
16069 wxToolBarToolBase
*result
;
16070 bool temp4
= False
;
16071 bool temp8
= False
;
16072 bool temp9
= False
;
16073 PyObject
* obj0
= 0 ;
16074 PyObject
* obj1
= 0 ;
16075 PyObject
* obj2
= 0 ;
16076 PyObject
* obj3
= 0 ;
16077 PyObject
* obj4
= 0 ;
16078 PyObject
* obj5
= 0 ;
16079 PyObject
* obj6
= 0 ;
16080 PyObject
* obj7
= 0 ;
16081 PyObject
* obj8
= 0 ;
16082 PyObject
* obj9
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16090 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16092 arg3
= (int) SWIG_AsInt(obj2
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16095 arg4
= wxString_in_helper(obj3
);
16096 if (arg4
== NULL
) SWIG_fail
;
16099 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16102 if (arg5
== NULL
) {
16103 PyErr_SetString(PyExc_TypeError
,"null reference");
16107 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16110 if (arg6
== NULL
) {
16111 PyErr_SetString(PyExc_TypeError
,"null reference");
16116 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16121 arg8
= wxString_in_helper(obj7
);
16122 if (arg8
== NULL
) SWIG_fail
;
16128 arg9
= wxString_in_helper(obj8
);
16129 if (arg9
== NULL
) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 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
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16144 resultobj
= wxPyMake_wxObject(result
);
16176 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16179 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16180 wxToolBarToolBase
*result
;
16181 PyObject
* obj0
= 0 ;
16182 PyObject
* obj1
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self",(char *) "tool", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16200 resultobj
= wxPyMake_wxObject(result
);
16208 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16212 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16213 wxToolBarToolBase
*result
;
16214 PyObject
* obj0
= 0 ;
16215 PyObject
* obj1
= 0 ;
16216 PyObject
* obj2
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self",(char *) "pos",(char *) "tool", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16224 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16226 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= wxPyMake_wxObject(result
);
16244 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
;
16246 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16247 wxControl
*arg2
= (wxControl
*) 0 ;
16248 wxToolBarToolBase
*result
;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "self",(char *) "control", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= wxPyMake_wxObject(result
);
16276 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16280 wxControl
*arg3
= (wxControl
*) 0 ;
16281 wxToolBarToolBase
*result
;
16282 PyObject
* obj0
= 0 ;
16283 PyObject
* obj1
= 0 ;
16284 PyObject
* obj2
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "pos",(char *) "control", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16292 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16294 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= wxPyMake_wxObject(result
);
16312 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 PyObject
* obj1
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self",(char *) "id", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 arg2
= (int) SWIG_AsInt(obj1
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= wxPyMake_wxObject(result
);
16344 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
;
16346 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16347 wxToolBarToolBase
*result
;
16348 PyObject
* obj0
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= wxPyMake_wxObject(result
);
16372 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16376 wxToolBarToolBase
*result
;
16377 PyObject
* obj0
= 0 ;
16378 PyObject
* obj1
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self",(char *) "pos", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16386 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= wxPyMake_wxObject(result
);
16404 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16408 wxToolBarToolBase
*result
;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self",(char *) "id", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16418 arg2
= (int) SWIG_AsInt(obj1
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= wxPyMake_wxObject(result
);
16436 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16441 PyObject
* obj0
= 0 ;
16442 PyObject
* obj1
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self",(char *) "pos", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16450 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16468 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16473 PyObject
* obj0
= 0 ;
16474 PyObject
* obj1
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self",(char *) "id", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 arg2
= (int) SWIG_AsInt(obj1
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (bool)(arg1
)->DeleteTool(arg2
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16500 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 (arg1
)->ClearTools();
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 Py_INCREF(Py_None
); resultobj
= Py_None
;
16525 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "self", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (bool)(arg1
)->Realize();
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16553 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16558 PyObject
* obj0
= 0 ;
16559 PyObject
* obj1
= 0 ;
16560 PyObject
* obj2
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self",(char *) "id",(char *) "enable", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16568 arg2
= (int) SWIG_AsInt(obj1
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16570 arg3
= (bool) SWIG_AsBool(obj2
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 (arg1
)->EnableTool(arg2
,arg3
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 Py_INCREF(Py_None
); resultobj
= Py_None
;
16586 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
;
16588 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 PyObject
* obj1
= 0 ;
16593 PyObject
* obj2
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "self",(char *) "id",(char *) "toggle", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16601 arg2
= (int) SWIG_AsInt(obj1
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16603 arg3
= (bool) SWIG_AsBool(obj2
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 (arg1
)->ToggleTool(arg2
,arg3
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 Py_INCREF(Py_None
); resultobj
= Py_None
;
16619 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16624 PyObject
* obj0
= 0 ;
16625 PyObject
* obj1
= 0 ;
16626 PyObject
* obj2
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "self",(char *) "id",(char *) "toggle", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16634 arg2
= (int) SWIG_AsInt(obj1
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16636 arg3
= (bool) SWIG_AsBool(obj2
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 (arg1
)->SetToggle(arg2
,arg3
);
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 Py_INCREF(Py_None
); resultobj
= Py_None
;
16652 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16657 PyObject
* obj0
= 0 ;
16658 PyObject
* obj1
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "self",(char *) "id", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16666 arg2
= (int) SWIG_AsInt(obj1
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16675 resultobj
= result
;
16682 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16684 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16686 PyObject
*arg3
= (PyObject
*) 0 ;
16687 PyObject
* obj0
= 0 ;
16688 PyObject
* obj1
= 0 ;
16689 PyObject
* obj2
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self",(char *) "id",(char *) "clientData", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16697 arg2
= (int) SWIG_AsInt(obj1
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 Py_INCREF(Py_None
); resultobj
= Py_None
;
16714 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 PyObject
* obj1
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "self",(char *) "id", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16728 arg2
= (int) SWIG_AsInt(obj1
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= SWIG_FromInt((int)result
);
16744 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16749 PyObject
* obj0
= 0 ;
16750 PyObject
* obj1
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "self",(char *) "id", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16758 arg2
= (int) SWIG_AsInt(obj1
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= (bool)(arg1
)->GetToolState(arg2
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16776 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
;
16778 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 PyObject
* obj1
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self",(char *) "id", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16790 arg2
= (int) SWIG_AsInt(obj1
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16808 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16812 wxString
*arg3
= 0 ;
16813 bool temp3
= False
;
16814 PyObject
* obj0
= 0 ;
16815 PyObject
* obj1
= 0 ;
16816 PyObject
* obj2
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self",(char *) "id",(char *) "helpString", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16824 arg2
= (int) SWIG_AsInt(obj1
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 arg3
= wxString_in_helper(obj2
);
16828 if (arg3
== NULL
) SWIG_fail
;
16832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16833 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16835 wxPyEndAllowThreads(__tstate
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16838 Py_INCREF(Py_None
); resultobj
= Py_None
;
16853 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16855 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16858 PyObject
* obj0
= 0 ;
16859 PyObject
* obj1
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "self",(char *) "id", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16867 arg2
= (int) SWIG_AsInt(obj1
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 result
= (arg1
)->GetToolShortHelp(arg2
);
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16889 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16893 wxString
*arg3
= 0 ;
16894 bool temp3
= False
;
16895 PyObject
* obj0
= 0 ;
16896 PyObject
* obj1
= 0 ;
16897 PyObject
* obj2
= 0 ;
16898 char *kwnames
[] = {
16899 (char *) "self",(char *) "id",(char *) "helpString", NULL
16902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16905 arg2
= (int) SWIG_AsInt(obj1
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 arg3
= wxString_in_helper(obj2
);
16909 if (arg3
== NULL
) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 Py_INCREF(Py_None
); resultobj
= Py_None
;
16934 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16939 PyObject
* obj0
= 0 ;
16940 PyObject
* obj1
= 0 ;
16941 char *kwnames
[] = {
16942 (char *) "self",(char *) "id", NULL
16945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16948 arg2
= (int) SWIG_AsInt(obj1
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16952 result
= (arg1
)->GetToolLongHelp(arg2
);
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16970 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16975 PyObject
* obj0
= 0 ;
16976 PyObject
* obj1
= 0 ;
16977 PyObject
* obj2
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self",(char *) "x",(char *) "y", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16985 arg2
= (int) SWIG_AsInt(obj1
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16987 arg3
= (int) SWIG_AsInt(obj2
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 (arg1
)->SetMargins(arg2
,arg3
);
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16996 Py_INCREF(Py_None
); resultobj
= Py_None
;
17003 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
;
17005 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 PyObject
* obj1
= 0 ;
17010 char *kwnames
[] = {
17011 (char *) "self",(char *) "size", NULL
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17019 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 Py_INCREF(Py_None
); resultobj
= Py_None
;
17035 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self",(char *) "packing", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17048 arg2
= (int) SWIG_AsInt(obj1
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 (arg1
)->SetToolPacking(arg2
);
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 Py_INCREF(Py_None
); resultobj
= Py_None
;
17064 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17068 PyObject
* obj0
= 0 ;
17069 PyObject
* obj1
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self",(char *) "separation", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17077 arg2
= (int) SWIG_AsInt(obj1
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 (arg1
)->SetToolSeparation(arg2
);
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 Py_INCREF(Py_None
); resultobj
= Py_None
;
17093 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
;
17095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17097 PyObject
* obj0
= 0 ;
17098 char *kwnames
[] = {
17099 (char *) "self", NULL
17102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (arg1
)->GetToolMargins();
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17113 wxSize
* resultptr
;
17114 resultptr
= new wxSize((wxSize
&) result
);
17115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17123 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
;
17125 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17127 PyObject
* obj0
= 0 ;
17128 char *kwnames
[] = {
17129 (char *) "self", NULL
17132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17137 result
= (arg1
)->GetMargins();
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17143 wxSize
* resultptr
;
17144 resultptr
= new wxSize((wxSize
&) result
);
17145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17153 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17154 PyObject
*resultobj
;
17155 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17157 PyObject
* obj0
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "self", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 result
= (int)(arg1
)->GetToolPacking();
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_FromInt((int)result
);
17179 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17183 PyObject
* obj0
= 0 ;
17184 char *kwnames
[] = {
17185 (char *) "self", NULL
17188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 result
= (int)(arg1
)->GetToolSeparation();
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= SWIG_FromInt((int)result
);
17205 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
;
17207 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 PyObject
* obj1
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "self",(char *) "nRows", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17218 arg2
= (int) SWIG_AsInt(obj1
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 (arg1
)->SetRows(arg2
);
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 Py_INCREF(Py_None
); resultobj
= Py_None
;
17234 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
;
17236 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 PyObject
* obj2
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self",(char *) "rows",(char *) "cols", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17249 arg2
= (int) SWIG_AsInt(obj1
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17251 arg3
= (int) SWIG_AsInt(obj2
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 Py_INCREF(Py_None
); resultobj
= Py_None
;
17267 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "self", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (int)(arg1
)->GetMaxRows();
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= SWIG_FromInt((int)result
);
17293 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17295 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17297 PyObject
* obj0
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (int)(arg1
)->GetMaxCols();
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= SWIG_FromInt((int)result
);
17319 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17324 PyObject
* obj0
= 0 ;
17325 PyObject
* obj1
= 0 ;
17326 char *kwnames
[] = {
17327 (char *) "self",(char *) "size", NULL
17330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17335 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 Py_INCREF(Py_None
); resultobj
= Py_None
;
17351 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (arg1
)->GetToolBitmapSize();
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17371 wxSize
* resultptr
;
17372 resultptr
= new wxSize((wxSize
&) result
);
17373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17381 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 char *kwnames
[] = {
17387 (char *) "self", NULL
17390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 result
= (arg1
)->GetToolSize();
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17401 wxSize
* resultptr
;
17402 resultptr
= new wxSize((wxSize
&) result
);
17403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17411 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17416 wxToolBarToolBase
*result
;
17417 PyObject
* obj0
= 0 ;
17418 PyObject
* obj1
= 0 ;
17419 PyObject
* obj2
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "self",(char *) "x",(char *) "y", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17427 arg2
= (int) SWIG_AsInt(obj1
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17429 arg3
= (int) SWIG_AsInt(obj2
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= wxPyMake_wxObject(result
);
17447 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17451 wxToolBarToolBase
*result
;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self",(char *) "toolid", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17461 arg2
= (int) SWIG_AsInt(obj1
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= wxPyMake_wxObject(result
);
17479 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= (bool)(arg1
)->IsVertical();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17507 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17510 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17512 return Py_BuildValue((char *)"");
17514 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxWindow
*arg1
= (wxWindow
*) 0 ;
17518 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17519 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17520 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17521 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17522 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17523 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17524 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17528 bool temp6
= False
;
17529 PyObject
* obj0
= 0 ;
17530 PyObject
* obj1
= 0 ;
17531 PyObject
* obj2
= 0 ;
17532 PyObject
* obj3
= 0 ;
17533 PyObject
* obj4
= 0 ;
17534 PyObject
* obj5
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17542 arg2
= (int) SWIG_AsInt(obj1
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17547 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17553 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17557 arg5
= (long) SWIG_AsLong(obj4
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17562 arg6
= wxString_in_helper(obj5
);
17563 if (arg6
== NULL
) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= wxPyMake_wxObject(result
);
17591 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17594 char *kwnames
[] = {
17598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= (wxToolBar
*)new wxToolBar();
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= wxPyMake_wxObject(result
);
17615 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
;
17617 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17618 wxWindow
*arg2
= (wxWindow
*) 0 ;
17620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17624 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17625 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17626 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17630 bool temp7
= False
;
17631 PyObject
* obj0
= 0 ;
17632 PyObject
* obj1
= 0 ;
17633 PyObject
* obj2
= 0 ;
17634 PyObject
* obj3
= 0 ;
17635 PyObject
* obj4
= 0 ;
17636 PyObject
* obj5
= 0 ;
17637 PyObject
* obj6
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17647 arg3
= (int) SWIG_AsInt(obj2
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17652 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17658 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17662 arg6
= (long) SWIG_AsLong(obj5
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17667 arg7
= wxString_in_helper(obj6
);
17668 if (arg7
== NULL
) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17696 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17701 wxToolBarToolBase
*result
;
17702 PyObject
* obj0
= 0 ;
17703 PyObject
* obj1
= 0 ;
17704 PyObject
* obj2
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self",(char *) "x",(char *) "y", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17712 arg2
= (int) SWIG_AsInt(obj1
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17714 arg3
= (int) SWIG_AsInt(obj2
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= wxPyMake_wxObject(result
);
17732 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17735 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17737 return Py_BuildValue((char *)"");
17739 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17740 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17745 static PyObject
*_wrap_ListCtrlNameStr_get() {
17750 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17752 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17759 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxColour
const &arg1_defvalue
= wxNullColour
;
17762 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17763 wxColour
const &arg2_defvalue
= wxNullColour
;
17764 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17765 wxFont
const &arg3_defvalue
= wxNullFont
;
17766 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17767 wxListItemAttr
*result
;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 PyObject
* obj2
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17781 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17787 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17791 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17794 if (arg3
== NULL
) {
17795 PyErr_SetString(PyExc_TypeError
,"null reference");
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17813 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17816 wxColour
*arg2
= 0 ;
17818 PyObject
* obj0
= 0 ;
17819 PyObject
* obj1
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self",(char *) "colText", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17829 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 Py_INCREF(Py_None
); resultobj
= Py_None
;
17845 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17847 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17848 wxColour
*arg2
= 0 ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self",(char *) "colBack", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 Py_INCREF(Py_None
); resultobj
= Py_None
;
17877 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 PyObject
* obj1
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self",(char *) "font", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17893 if (arg2
== NULL
) {
17894 PyErr_SetString(PyExc_TypeError
,"null reference");
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 (arg1
)->SetFont((wxFont
const &)*arg2
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 Py_INCREF(Py_None
); resultobj
= Py_None
;
17911 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 result
= (bool)(arg1
)->HasTextColour();
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17939 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= (bool)(arg1
)->HasBackgroundColour();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17967 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17971 PyObject
* obj0
= 0 ;
17972 char *kwnames
[] = {
17973 (char *) "self", NULL
17976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 result
= (bool)(arg1
)->HasFont();
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17995 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= (arg1
)->GetTextColour();
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18015 wxColour
* resultptr
;
18016 resultptr
= new wxColour((wxColour
&) result
);
18017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18025 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
;
18027 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18029 PyObject
* obj0
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "self", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= (arg1
)->GetBackgroundColour();
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18045 wxColour
* resultptr
;
18046 resultptr
= new wxColour((wxColour
&) result
);
18047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18055 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18059 PyObject
* obj0
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 result
= (arg1
)->GetFont();
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18075 wxFont
* resultptr
;
18076 resultptr
= new wxFont((wxFont
&) result
);
18077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18085 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 wxListItemAttr_Destroy(arg1
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 Py_INCREF(Py_None
); resultobj
= Py_None
;
18110 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18113 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18115 return Py_BuildValue((char *)"");
18117 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxListItem
*result
;
18120 char *kwnames
[] = {
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18127 result
= (wxListItem
*)new wxListItem();
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18133 resultobj
= wxPyMake_wxObject(result
);
18141 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxListItem
*arg1
= (wxListItem
*) 0 ;
18144 PyObject
* obj0
= 0 ;
18145 char *kwnames
[] = {
18146 (char *) "self", NULL
18149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 Py_INCREF(Py_None
); resultobj
= Py_None
;
18166 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxListItem
*arg1
= (wxListItem
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 Py_INCREF(Py_None
); resultobj
= Py_None
;
18191 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxListItem
*arg1
= (wxListItem
*) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 char *kwnames
[] = {
18196 (char *) "self", NULL
18199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 (arg1
)->ClearAttributes();
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 Py_INCREF(Py_None
); resultobj
= Py_None
;
18216 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxListItem
*arg1
= (wxListItem
*) 0 ;
18220 PyObject
* obj0
= 0 ;
18221 PyObject
* obj1
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self",(char *) "mask", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18229 arg2
= (long) SWIG_AsLong(obj1
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 (arg1
)->SetMask(arg2
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 Py_INCREF(Py_None
); resultobj
= Py_None
;
18245 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18247 wxListItem
*arg1
= (wxListItem
*) 0 ;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self",(char *) "id", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18258 arg2
= (long) SWIG_AsLong(obj1
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 (arg1
)->SetId(arg2
);
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 Py_INCREF(Py_None
); resultobj
= Py_None
;
18274 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
;
18276 wxListItem
*arg1
= (wxListItem
*) 0 ;
18278 PyObject
* obj0
= 0 ;
18279 PyObject
* obj1
= 0 ;
18280 char *kwnames
[] = {
18281 (char *) "self",(char *) "col", NULL
18284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18287 arg2
= (int) SWIG_AsInt(obj1
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 (arg1
)->SetColumn(arg2
);
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 Py_INCREF(Py_None
); resultobj
= Py_None
;
18303 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxListItem
*arg1
= (wxListItem
*) 0 ;
18307 PyObject
* obj0
= 0 ;
18308 PyObject
* obj1
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "self",(char *) "state", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18316 arg2
= (long) SWIG_AsLong(obj1
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 (arg1
)->SetState(arg2
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 Py_INCREF(Py_None
); resultobj
= Py_None
;
18332 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
;
18334 wxListItem
*arg1
= (wxListItem
*) 0 ;
18336 PyObject
* obj0
= 0 ;
18337 PyObject
* obj1
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "self",(char *) "stateMask", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18345 arg2
= (long) SWIG_AsLong(obj1
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 (arg1
)->SetStateMask(arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 Py_INCREF(Py_None
); resultobj
= Py_None
;
18361 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxListItem
*arg1
= (wxListItem
*) 0 ;
18364 wxString
*arg2
= 0 ;
18365 bool temp2
= False
;
18366 PyObject
* obj0
= 0 ;
18367 PyObject
* obj1
= 0 ;
18368 char *kwnames
[] = {
18369 (char *) "self",(char *) "text", NULL
18372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18376 arg2
= wxString_in_helper(obj1
);
18377 if (arg2
== NULL
) SWIG_fail
;
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 (arg1
)->SetText((wxString
const &)*arg2
);
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 Py_INCREF(Py_None
); resultobj
= Py_None
;
18402 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxListItem
*arg1
= (wxListItem
*) 0 ;
18406 PyObject
* obj0
= 0 ;
18407 PyObject
* obj1
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self",(char *) "image", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18415 arg2
= (int) SWIG_AsInt(obj1
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 (arg1
)->SetImage(arg2
);
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 Py_INCREF(Py_None
); resultobj
= Py_None
;
18431 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxListItem
*arg1
= (wxListItem
*) 0 ;
18435 PyObject
* obj0
= 0 ;
18436 PyObject
* obj1
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "self",(char *) "data", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18444 arg2
= (long) SWIG_AsLong(obj1
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 (arg1
)->SetData(arg2
);
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 Py_INCREF(Py_None
); resultobj
= Py_None
;
18460 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
;
18462 wxListItem
*arg1
= (wxListItem
*) 0 ;
18464 PyObject
* obj0
= 0 ;
18465 PyObject
* obj1
= 0 ;
18466 char *kwnames
[] = {
18467 (char *) "self",(char *) "width", NULL
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18473 arg2
= (int) SWIG_AsInt(obj1
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 (arg1
)->SetWidth(arg2
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 Py_INCREF(Py_None
); resultobj
= Py_None
;
18489 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxListItem
*arg1
= (wxListItem
*) 0 ;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "self",(char *) "align", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18502 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 Py_INCREF(Py_None
); resultobj
= Py_None
;
18518 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxListItem
*arg1
= (wxListItem
*) 0 ;
18521 wxColour
*arg2
= 0 ;
18523 PyObject
* obj0
= 0 ;
18524 PyObject
* obj1
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self",(char *) "colText", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18534 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 Py_INCREF(Py_None
); resultobj
= Py_None
;
18550 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxListItem
*arg1
= (wxListItem
*) 0 ;
18553 wxColour
*arg2
= 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self",(char *) "colBack", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 Py_INCREF(Py_None
); resultobj
= Py_None
;
18582 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
;
18584 wxListItem
*arg1
= (wxListItem
*) 0 ;
18586 PyObject
* obj0
= 0 ;
18587 PyObject
* obj1
= 0 ;
18588 char *kwnames
[] = {
18589 (char *) "self",(char *) "font", NULL
18592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18598 if (arg2
== NULL
) {
18599 PyErr_SetString(PyExc_TypeError
,"null reference");
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 (arg1
)->SetFont((wxFont
const &)*arg2
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 Py_INCREF(Py_None
); resultobj
= Py_None
;
18616 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
;
18618 wxListItem
*arg1
= (wxListItem
*) 0 ;
18620 PyObject
* obj0
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 result
= (long)(arg1
)->GetMask();
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 resultobj
= SWIG_FromLong((long)result
);
18642 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 wxListItem
*arg1
= (wxListItem
*) 0 ;
18646 PyObject
* obj0
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (long)(arg1
)->GetId();
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_FromLong((long)result
);
18668 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxListItem
*arg1
= (wxListItem
*) 0 ;
18672 PyObject
* obj0
= 0 ;
18673 char *kwnames
[] = {
18674 (char *) "self", NULL
18677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 result
= (int)(arg1
)->GetColumn();
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 resultobj
= SWIG_FromInt((int)result
);
18694 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxListItem
*arg1
= (wxListItem
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (long)(arg1
)->GetState();
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= SWIG_FromLong((long)result
);
18720 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxListItem
*arg1
= (wxListItem
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 wxString
const &_result_ref
= (arg1
)->GetText();
18736 result
= (wxString
*) &_result_ref
;
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18746 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18755 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
;
18757 wxListItem
*arg1
= (wxListItem
*) 0 ;
18759 PyObject
* obj0
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 result
= (int)(arg1
)->GetImage();
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= SWIG_FromInt((int)result
);
18781 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
;
18783 wxListItem
*arg1
= (wxListItem
*) 0 ;
18785 PyObject
* obj0
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (long)(arg1
)->GetData();
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 resultobj
= SWIG_FromLong((long)result
);
18807 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxListItem
*arg1
= (wxListItem
*) 0 ;
18811 PyObject
* obj0
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "self", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 result
= (int)(arg1
)->GetWidth();
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= SWIG_FromInt((int)result
);
18833 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
;
18835 wxListItem
*arg1
= (wxListItem
*) 0 ;
18837 PyObject
* obj0
= 0 ;
18838 char *kwnames
[] = {
18839 (char *) "self", NULL
18842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 result
= (int)(arg1
)->GetAlign();
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= SWIG_FromInt((int)result
);
18859 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
;
18861 wxListItem
*arg1
= (wxListItem
*) 0 ;
18862 wxListItemAttr
*result
;
18863 PyObject
* obj0
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18885 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxListItem
*arg1
= (wxListItem
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 result
= (bool)(arg1
)->HasAttributes();
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18913 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
;
18915 wxListItem
*arg1
= (wxListItem
*) 0 ;
18917 PyObject
* obj0
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18927 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18929 wxPyEndAllowThreads(__tstate
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18933 wxColour
* resultptr
;
18934 resultptr
= new wxColour((wxColour
&) result
);
18935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18943 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxListItem
*arg1
= (wxListItem
*) 0 ;
18947 PyObject
* obj0
= 0 ;
18948 char *kwnames
[] = {
18949 (char *) "self", NULL
18952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18963 wxColour
* resultptr
;
18964 resultptr
= new wxColour((wxColour
&) result
);
18965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18973 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxListItem
*arg1
= (wxListItem
*) 0 ;
18977 PyObject
* obj0
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 result
= ((wxListItem
const *)arg1
)->GetFont();
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18993 wxFont
* resultptr
;
18994 resultptr
= new wxFont((wxFont
&) result
);
18995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19003 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
;
19005 wxListItem
*arg1
= (wxListItem
*) 0 ;
19007 PyObject
* obj0
= 0 ;
19008 PyObject
* obj1
= 0 ;
19009 char *kwnames
[] = {
19010 (char *) "self",(char *) "m_mask", NULL
19013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19016 arg2
= (long) SWIG_AsLong(obj1
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19018 if (arg1
) (arg1
)->m_mask
= arg2
;
19020 Py_INCREF(Py_None
); resultobj
= Py_None
;
19027 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
;
19029 wxListItem
*arg1
= (wxListItem
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "self", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19039 result
= (long) ((arg1
)->m_mask
);
19041 resultobj
= SWIG_FromLong((long)result
);
19048 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19049 PyObject
*resultobj
;
19050 wxListItem
*arg1
= (wxListItem
*) 0 ;
19052 PyObject
* obj0
= 0 ;
19053 PyObject
* obj1
= 0 ;
19054 char *kwnames
[] = {
19055 (char *) "self",(char *) "m_itemId", NULL
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19061 arg2
= (long) SWIG_AsLong(obj1
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19063 if (arg1
) (arg1
)->m_itemId
= arg2
;
19065 Py_INCREF(Py_None
); resultobj
= Py_None
;
19072 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxListItem
*arg1
= (wxListItem
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19084 result
= (long) ((arg1
)->m_itemId
);
19086 resultobj
= SWIG_FromLong((long)result
);
19093 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
;
19095 wxListItem
*arg1
= (wxListItem
*) 0 ;
19097 PyObject
* obj0
= 0 ;
19098 PyObject
* obj1
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "self",(char *) "m_col", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19106 arg2
= (int) SWIG_AsInt(obj1
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19108 if (arg1
) (arg1
)->m_col
= arg2
;
19110 Py_INCREF(Py_None
); resultobj
= Py_None
;
19117 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxListItem
*arg1
= (wxListItem
*) 0 ;
19121 PyObject
* obj0
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19129 result
= (int) ((arg1
)->m_col
);
19131 resultobj
= SWIG_FromInt((int)result
);
19138 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxListItem
*arg1
= (wxListItem
*) 0 ;
19142 PyObject
* obj0
= 0 ;
19143 PyObject
* obj1
= 0 ;
19144 char *kwnames
[] = {
19145 (char *) "self",(char *) "m_state", NULL
19148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19151 arg2
= (long) SWIG_AsLong(obj1
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19153 if (arg1
) (arg1
)->m_state
= arg2
;
19155 Py_INCREF(Py_None
); resultobj
= Py_None
;
19162 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxListItem
*arg1
= (wxListItem
*) 0 ;
19166 PyObject
* obj0
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "self", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19174 result
= (long) ((arg1
)->m_state
);
19176 resultobj
= SWIG_FromLong((long)result
);
19183 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxListItem
*arg1
= (wxListItem
*) 0 ;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self",(char *) "m_stateMask", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19196 arg2
= (long) SWIG_AsLong(obj1
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19198 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19200 Py_INCREF(Py_None
); resultobj
= Py_None
;
19207 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxListItem
*arg1
= (wxListItem
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 char *kwnames
[] = {
19213 (char *) "self", NULL
19216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19219 result
= (long) ((arg1
)->m_stateMask
);
19221 resultobj
= SWIG_FromLong((long)result
);
19228 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxListItem
*arg1
= (wxListItem
*) 0 ;
19231 wxString
*arg2
= (wxString
*) 0 ;
19232 bool temp2
= False
;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "self",(char *) "m_text", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 arg2
= wxString_in_helper(obj1
);
19244 if (arg2
== NULL
) SWIG_fail
;
19247 if (arg1
) (arg1
)->m_text
= *arg2
;
19249 Py_INCREF(Py_None
); resultobj
= Py_None
;
19264 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxListItem
*arg1
= (wxListItem
*) 0 ;
19268 PyObject
* obj0
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19276 result
= (wxString
*)& ((arg1
)->m_text
);
19280 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19282 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19291 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
;
19293 wxListItem
*arg1
= (wxListItem
*) 0 ;
19295 PyObject
* obj0
= 0 ;
19296 PyObject
* obj1
= 0 ;
19297 char *kwnames
[] = {
19298 (char *) "self",(char *) "m_image", NULL
19301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19304 arg2
= (int) SWIG_AsInt(obj1
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19306 if (arg1
) (arg1
)->m_image
= arg2
;
19308 Py_INCREF(Py_None
); resultobj
= Py_None
;
19315 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxListItem
*arg1
= (wxListItem
*) 0 ;
19319 PyObject
* obj0
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19327 result
= (int) ((arg1
)->m_image
);
19329 resultobj
= SWIG_FromInt((int)result
);
19336 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
;
19338 wxListItem
*arg1
= (wxListItem
*) 0 ;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self",(char *) "m_data", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19349 arg2
= (long) SWIG_AsLong(obj1
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19351 if (arg1
) (arg1
)->m_data
= arg2
;
19353 Py_INCREF(Py_None
); resultobj
= Py_None
;
19360 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxListItem
*arg1
= (wxListItem
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19372 result
= (long) ((arg1
)->m_data
);
19374 resultobj
= SWIG_FromLong((long)result
);
19381 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
;
19383 wxListItem
*arg1
= (wxListItem
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj1
= 0 ;
19387 char *kwnames
[] = {
19388 (char *) "self",(char *) "m_format", NULL
19391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19394 arg2
= (int) SWIG_AsInt(obj1
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19396 if (arg1
) (arg1
)->m_format
= arg2
;
19398 Py_INCREF(Py_None
); resultobj
= Py_None
;
19405 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxListItem
*arg1
= (wxListItem
*) 0 ;
19409 PyObject
* obj0
= 0 ;
19410 char *kwnames
[] = {
19411 (char *) "self", NULL
19414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19417 result
= (int) ((arg1
)->m_format
);
19419 resultobj
= SWIG_FromInt((int)result
);
19426 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
;
19428 wxListItem
*arg1
= (wxListItem
*) 0 ;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self",(char *) "m_width", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19439 arg2
= (int) SWIG_AsInt(obj1
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19441 if (arg1
) (arg1
)->m_width
= arg2
;
19443 Py_INCREF(Py_None
); resultobj
= Py_None
;
19450 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
;
19452 wxListItem
*arg1
= (wxListItem
*) 0 ;
19454 PyObject
* obj0
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "self", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19462 result
= (int) ((arg1
)->m_width
);
19464 resultobj
= SWIG_FromInt((int)result
);
19471 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19474 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19476 return Py_BuildValue((char *)"");
19478 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19480 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19481 int arg2
= (int) 0 ;
19482 wxListEvent
*result
;
19483 PyObject
* obj0
= 0 ;
19484 PyObject
* obj1
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "commandType",(char *) "id", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19491 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19495 arg2
= (int) SWIG_AsInt(obj1
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19512 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
;
19514 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19516 PyObject
* obj0
= 0 ;
19517 PyObject
* obj1
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self",(char *) "m_code", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19525 arg2
= (int) SWIG_AsInt(obj1
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19527 if (arg1
) (arg1
)->m_code
= arg2
;
19529 Py_INCREF(Py_None
); resultobj
= Py_None
;
19536 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
;
19538 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19540 PyObject
* obj0
= 0 ;
19541 char *kwnames
[] = {
19542 (char *) "self", NULL
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19548 result
= (int) ((arg1
)->m_code
);
19550 resultobj
= SWIG_FromInt((int)result
);
19557 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self",(char *) "m_oldItemIndex", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19570 arg2
= (long) SWIG_AsLong(obj1
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19572 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19574 Py_INCREF(Py_None
); resultobj
= Py_None
;
19581 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
;
19583 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19585 PyObject
* obj0
= 0 ;
19586 char *kwnames
[] = {
19587 (char *) "self", NULL
19590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19593 result
= (long) ((arg1
)->m_oldItemIndex
);
19595 resultobj
= SWIG_FromLong((long)result
);
19602 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self",(char *) "m_itemIndex", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 arg2
= (long) SWIG_AsLong(obj1
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19617 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19619 Py_INCREF(Py_None
); resultobj
= Py_None
;
19626 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19630 PyObject
* obj0
= 0 ;
19631 char *kwnames
[] = {
19632 (char *) "self", NULL
19635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19638 result
= (long) ((arg1
)->m_itemIndex
);
19640 resultobj
= SWIG_FromLong((long)result
);
19647 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
;
19649 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19651 PyObject
* obj0
= 0 ;
19652 PyObject
* obj1
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self",(char *) "m_col", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19660 arg2
= (int) SWIG_AsInt(obj1
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19662 if (arg1
) (arg1
)->m_col
= arg2
;
19664 Py_INCREF(Py_None
); resultobj
= Py_None
;
19671 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19675 PyObject
* obj0
= 0 ;
19676 char *kwnames
[] = {
19677 (char *) "self", NULL
19680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19683 result
= (int) ((arg1
)->m_col
);
19685 resultobj
= SWIG_FromInt((int)result
);
19692 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
;
19694 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19695 wxPoint
*arg2
= (wxPoint
*) 0 ;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 char *kwnames
[] = {
19699 (char *) "self",(char *) "m_pointDrag", NULL
19702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19707 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19709 Py_INCREF(Py_None
); resultobj
= Py_None
;
19716 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
;
19718 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19720 PyObject
* obj0
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19728 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19737 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19740 wxListItem
*result
;
19741 PyObject
* obj0
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "self", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19749 result
= (wxListItem
*)& ((arg1
)->m_item
);
19752 resultobj
= wxPyMake_wxObject(result
);
19760 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
;
19762 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19764 PyObject
* obj0
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (int)(arg1
)->GetKeyCode();
19776 wxPyEndAllowThreads(__tstate
);
19777 if (PyErr_Occurred()) SWIG_fail
;
19779 resultobj
= SWIG_FromInt((int)result
);
19786 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19787 PyObject
*resultobj
;
19788 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19790 PyObject
* obj0
= 0 ;
19791 char *kwnames
[] = {
19792 (char *) "self", NULL
19795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 result
= (long)(arg1
)->GetIndex();
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_FromLong((long)result
);
19812 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19816 PyObject
* obj0
= 0 ;
19817 char *kwnames
[] = {
19818 (char *) "self", NULL
19821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19826 result
= (int)(arg1
)->GetColumn();
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= SWIG_FromInt((int)result
);
19838 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
;
19840 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19842 PyObject
* obj0
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "self", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= (arg1
)->GetPoint();
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19858 wxPoint
* resultptr
;
19859 resultptr
= new wxPoint((wxPoint
&) result
);
19860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19868 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
;
19870 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19872 PyObject
* obj0
= 0 ;
19873 char *kwnames
[] = {
19874 (char *) "self", NULL
19877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 wxString
const &_result_ref
= (arg1
)->GetLabel();
19884 result
= (wxString
*) &_result_ref
;
19887 wxPyEndAllowThreads(__tstate
);
19888 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19894 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19903 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
;
19905 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 char *kwnames
[] = {
19909 (char *) "self", NULL
19912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 wxString
const &_result_ref
= (arg1
)->GetText();
19919 result
= (wxString
*) &_result_ref
;
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19927 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19929 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19938 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
;
19940 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19942 PyObject
* obj0
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "self", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 result
= (int)(arg1
)->GetImage();
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= SWIG_FromInt((int)result
);
19964 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19968 PyObject
* obj0
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 result
= (long)(arg1
)->GetData();
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 resultobj
= SWIG_FromLong((long)result
);
19990 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19994 PyObject
* obj0
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= (long)(arg1
)->GetMask();
20006 wxPyEndAllowThreads(__tstate
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20009 resultobj
= SWIG_FromLong((long)result
);
20016 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
;
20018 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20019 wxListItem
*result
;
20020 PyObject
* obj0
= 0 ;
20021 char *kwnames
[] = {
20022 (char *) "self", NULL
20025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20032 result
= (wxListItem
*) &_result_ref
;
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20045 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (long)(arg1
)->GetCacheFrom();
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= SWIG_FromLong((long)result
);
20071 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
;
20073 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (long)(arg1
)->GetCacheTo();
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= SWIG_FromLong((long)result
);
20097 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20099 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20101 PyObject
* obj0
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20125 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20129 PyObject
* obj0
= 0 ;
20130 PyObject
* obj1
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "self",(char *) "editCancelled", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20138 arg2
= (bool) SWIG_AsBool(obj1
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 (arg1
)->SetEditCanceled(arg2
);
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20147 Py_INCREF(Py_None
); resultobj
= Py_None
;
20154 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20157 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20159 return Py_BuildValue((char *)"");
20161 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxWindow
*arg1
= (wxWindow
*) 0 ;
20164 int arg2
= (int) -1 ;
20165 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20166 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20167 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20168 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20169 long arg5
= (long) wxLC_ICON
;
20170 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20171 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20172 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20173 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20174 wxPyListCtrl
*result
;
20177 bool temp7
= False
;
20178 PyObject
* obj0
= 0 ;
20179 PyObject
* obj1
= 0 ;
20180 PyObject
* obj2
= 0 ;
20181 PyObject
* obj3
= 0 ;
20182 PyObject
* obj4
= 0 ;
20183 PyObject
* obj5
= 0 ;
20184 PyObject
* obj6
= 0 ;
20185 char *kwnames
[] = {
20186 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20193 arg2
= (int) SWIG_AsInt(obj1
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20205 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20209 arg5
= (long) SWIG_AsLong(obj4
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20213 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20216 if (arg6
== NULL
) {
20217 PyErr_SetString(PyExc_TypeError
,"null reference");
20223 arg7
= wxString_in_helper(obj6
);
20224 if (arg7
== NULL
) SWIG_fail
;
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20250 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
;
20252 wxPyListCtrl
*result
;
20253 char *kwnames
[] = {
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20272 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20275 wxWindow
*arg2
= (wxWindow
*) 0 ;
20276 int arg3
= (int) -1 ;
20277 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20278 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20279 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20280 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20281 long arg6
= (long) wxLC_ICON
;
20282 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20283 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20284 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20285 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20289 bool temp8
= False
;
20290 PyObject
* obj0
= 0 ;
20291 PyObject
* obj1
= 0 ;
20292 PyObject
* obj2
= 0 ;
20293 PyObject
* obj3
= 0 ;
20294 PyObject
* obj4
= 0 ;
20295 PyObject
* obj5
= 0 ;
20296 PyObject
* obj6
= 0 ;
20297 PyObject
* obj7
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20308 arg3
= (int) SWIG_AsInt(obj2
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20314 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20320 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20324 arg6
= (long) SWIG_AsLong(obj5
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20328 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20331 if (arg7
== NULL
) {
20332 PyErr_SetString(PyExc_TypeError
,"null reference");
20338 arg8
= wxString_in_helper(obj7
);
20339 if (arg8
== NULL
) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20367 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20368 PyObject
*resultobj
;
20369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20370 PyObject
*arg2
= (PyObject
*) 0 ;
20371 PyObject
*arg3
= (PyObject
*) 0 ;
20372 PyObject
* obj0
= 0 ;
20373 PyObject
* obj1
= 0 ;
20374 PyObject
* obj2
= 0 ;
20375 char *kwnames
[] = {
20376 (char *) "self",(char *) "self",(char *) "_class", NULL
20379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 Py_INCREF(Py_None
); resultobj
= Py_None
;
20398 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20401 wxColour
*arg2
= 0 ;
20404 PyObject
* obj0
= 0 ;
20405 PyObject
* obj1
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self",(char *) "col", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20433 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20436 wxColour
*arg2
= 0 ;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20441 char *kwnames
[] = {
20442 (char *) "self",(char *) "col", NULL
20445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20450 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20468 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
;
20470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20472 wxListItem
*result
;
20473 PyObject
* obj0
= 0 ;
20474 PyObject
* obj1
= 0 ;
20475 char *kwnames
[] = {
20476 (char *) "self",(char *) "col", NULL
20479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20482 arg2
= (int) SWIG_AsInt(obj1
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20492 resultobj
= wxPyMake_wxObject(result
);
20500 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20501 PyObject
*resultobj
;
20502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20504 wxListItem
*arg3
= 0 ;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 PyObject
* obj2
= 0 ;
20509 char *kwnames
[] = {
20510 (char *) "self",(char *) "col",(char *) "item", NULL
20513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20516 arg2
= (int) SWIG_AsInt(obj1
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20518 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20521 if (arg3
== NULL
) {
20522 PyErr_SetString(PyExc_TypeError
,"null reference");
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20541 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self",(char *) "col", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20555 arg2
= (int) SWIG_AsInt(obj1
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= SWIG_FromInt((int)result
);
20571 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20577 PyObject
* obj0
= 0 ;
20578 PyObject
* obj1
= 0 ;
20579 PyObject
* obj2
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "col",(char *) "width", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 arg2
= (int) SWIG_AsInt(obj1
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20589 arg3
= (int) SWIG_AsInt(obj2
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20607 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20608 PyObject
*resultobj
;
20609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20611 PyObject
* obj0
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "self", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= SWIG_FromInt((int)result
);
20633 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 char *kwnames
[] = {
20639 (char *) "self", NULL
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20653 wxRect
* resultptr
;
20654 resultptr
= new wxRect((wxRect
&) result
);
20655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20663 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20667 int arg3
= (int) 0 ;
20668 wxListItem
*result
;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 PyObject
* obj2
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self",(char *) "itemId",(char *) "col", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20679 arg2
= (long) SWIG_AsLong(obj1
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 arg3
= (int) SWIG_AsInt(obj2
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20693 resultobj
= wxPyMake_wxObject(result
);
20701 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
;
20703 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20704 wxListItem
*arg2
= 0 ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 char *kwnames
[] = {
20709 (char *) "self",(char *) "info", NULL
20712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20718 if (arg2
== NULL
) {
20719 PyErr_SetString(PyExc_TypeError
,"null reference");
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (bool)(arg1
)->SetItem(*arg2
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20738 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
;
20740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20743 wxString
*arg4
= 0 ;
20744 int arg5
= (int) -1 ;
20746 bool temp4
= False
;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 PyObject
* obj2
= 0 ;
20750 PyObject
* obj3
= 0 ;
20751 PyObject
* obj4
= 0 ;
20752 char *kwnames
[] = {
20753 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20759 arg2
= (long) SWIG_AsLong(obj1
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20761 arg3
= (int) SWIG_AsInt(obj2
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 arg4
= wxString_in_helper(obj3
);
20765 if (arg4
== NULL
) SWIG_fail
;
20769 arg5
= (int) SWIG_AsInt(obj4
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 resultobj
= SWIG_FromLong((long)result
);
20794 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20800 PyObject
* obj0
= 0 ;
20801 PyObject
* obj1
= 0 ;
20802 PyObject
* obj2
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20810 arg2
= (long) SWIG_AsLong(obj1
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20812 arg3
= (long) SWIG_AsLong(obj2
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= SWIG_FromInt((int)result
);
20828 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20835 PyObject
* obj0
= 0 ;
20836 PyObject
* obj1
= 0 ;
20837 PyObject
* obj2
= 0 ;
20838 PyObject
* obj3
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20846 arg2
= (long) SWIG_AsLong(obj1
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20848 arg3
= (long) SWIG_AsLong(obj2
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20850 arg4
= (long) SWIG_AsLong(obj3
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20868 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 PyObject
* obj1
= 0 ;
20877 PyObject
* obj2
= 0 ;
20878 PyObject
* obj3
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20886 arg2
= (long) SWIG_AsLong(obj1
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20888 arg3
= (int) SWIG_AsInt(obj2
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20890 arg4
= (int) SWIG_AsInt(obj3
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20908 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20913 PyObject
* obj0
= 0 ;
20914 PyObject
* obj1
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "self",(char *) "item", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20922 arg2
= (long) SWIG_AsLong(obj1
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20944 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20948 wxString
*arg3
= 0 ;
20949 bool temp3
= False
;
20950 PyObject
* obj0
= 0 ;
20951 PyObject
* obj1
= 0 ;
20952 PyObject
* obj2
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self",(char *) "item",(char *) "str", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20960 arg2
= (long) SWIG_AsLong(obj1
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 arg3
= wxString_in_helper(obj2
);
20964 if (arg3
== NULL
) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 Py_INCREF(Py_None
); resultobj
= Py_None
;
20989 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
;
20991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20994 PyObject
* obj0
= 0 ;
20995 PyObject
* obj1
= 0 ;
20996 char *kwnames
[] = {
20997 (char *) "self",(char *) "item", NULL
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21003 arg2
= (long) SWIG_AsLong(obj1
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21007 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21009 wxPyEndAllowThreads(__tstate
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21012 resultobj
= SWIG_FromLong((long)result
);
21019 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21020 PyObject
*resultobj
;
21021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21025 PyObject
* obj0
= 0 ;
21026 PyObject
* obj1
= 0 ;
21027 PyObject
* obj2
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self",(char *) "item",(char *) "data", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21035 arg2
= (long) SWIG_AsLong(obj1
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21037 arg3
= (long) SWIG_AsLong(obj2
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21055 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21057 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 PyObject
* obj1
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "self",(char *) "item", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21069 arg2
= (long) SWIG_AsLong(obj1
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21075 wxPyEndAllowThreads(__tstate
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21079 wxPoint
* resultptr
;
21080 resultptr
= new wxPoint((wxPoint
&) result
);
21081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21089 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21093 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21095 PyObject
* obj0
= 0 ;
21096 PyObject
* obj1
= 0 ;
21097 PyObject
* obj2
= 0 ;
21098 char *kwnames
[] = {
21099 (char *) "self",(char *) "item",(char *) "code", NULL
21102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21105 arg2
= (long) SWIG_AsLong(obj1
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21108 arg3
= (int) SWIG_AsInt(obj2
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21113 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21119 wxRect
* resultptr
;
21120 resultptr
= new wxRect((wxRect
&) result
);
21121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21129 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21131 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21133 wxPoint
*arg3
= 0 ;
21136 PyObject
* obj0
= 0 ;
21137 PyObject
* obj1
= 0 ;
21138 PyObject
* obj2
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self",(char *) "item",(char *) "pos", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21146 arg2
= (long) SWIG_AsLong(obj1
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21150 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21168 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21170 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21172 PyObject
* obj0
= 0 ;
21173 char *kwnames
[] = {
21174 (char *) "self", NULL
21177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= SWIG_FromInt((int)result
);
21194 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21198 PyObject
* obj0
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "self", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= SWIG_FromInt((int)result
);
21220 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21224 PyObject
* obj0
= 0 ;
21225 char *kwnames
[] = {
21226 (char *) "self", NULL
21229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21240 wxSize
* resultptr
;
21241 resultptr
= new wxSize((wxSize
&) result
);
21242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21250 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21254 bool arg3
= (bool) False
;
21255 PyObject
* obj0
= 0 ;
21256 PyObject
* obj1
= 0 ;
21257 PyObject
* obj2
= 0 ;
21258 char *kwnames
[] = {
21259 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21265 arg2
= (int) SWIG_AsInt(obj1
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 arg3
= (bool) SWIG_AsBool(obj2
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 (arg1
)->SetItemSpacing(arg2
,arg3
);
21275 wxPyEndAllowThreads(__tstate
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21278 Py_INCREF(Py_None
); resultobj
= Py_None
;
21285 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21286 PyObject
*resultobj
;
21287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21289 PyObject
* obj0
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= SWIG_FromInt((int)result
);
21311 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 char *kwnames
[] = {
21317 (char *) "self", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21331 wxColour
* resultptr
;
21332 resultptr
= new wxColour((wxColour
&) result
);
21333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21341 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
;
21343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21344 wxColour
*arg2
= 0 ;
21346 PyObject
* obj0
= 0 ;
21347 PyObject
* obj1
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "self",(char *) "col", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21357 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21366 Py_INCREF(Py_None
); resultobj
= Py_None
;
21373 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21377 PyObject
* obj0
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "self", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 resultobj
= SWIG_FromLong((long)result
);
21399 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21403 bool arg3
= (bool) True
;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 PyObject
* obj2
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "style",(char *) "add", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21414 arg2
= (long) SWIG_AsLong(obj1
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 arg3
= (bool) SWIG_AsBool(obj2
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 (arg1
)->SetSingleStyle(arg2
,arg3
);
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 Py_INCREF(Py_None
); resultobj
= Py_None
;
21434 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21438 PyObject
* obj0
= 0 ;
21439 PyObject
* obj1
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self",(char *) "style", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 arg2
= (long) SWIG_AsLong(obj1
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 (arg1
)->SetWindowStyleFlag(arg2
);
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 Py_INCREF(Py_None
); resultobj
= Py_None
;
21463 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21467 int arg3
= (int) wxLIST_NEXT_ALL
;
21468 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21470 PyObject
* obj0
= 0 ;
21471 PyObject
* obj1
= 0 ;
21472 PyObject
* obj2
= 0 ;
21473 PyObject
* obj3
= 0 ;
21474 char *kwnames
[] = {
21475 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21481 arg2
= (long) SWIG_AsLong(obj1
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21484 arg3
= (int) SWIG_AsInt(obj2
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21488 arg4
= (int) SWIG_AsInt(obj3
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= SWIG_FromLong((long)result
);
21505 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
;
21507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21509 wxImageList
*result
;
21510 PyObject
* obj0
= 0 ;
21511 PyObject
* obj1
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self",(char *) "which", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21519 arg2
= (int) SWIG_AsInt(obj1
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21529 resultobj
= wxPyMake_wxObject(result
);
21537 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21540 wxImageList
*arg2
= (wxImageList
*) 0 ;
21542 PyObject
* obj0
= 0 ;
21543 PyObject
* obj1
= 0 ;
21544 PyObject
* obj2
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self",(char *) "imageList",(char *) "which", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21554 arg3
= (int) SWIG_AsInt(obj2
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 (arg1
)->SetImageList(arg2
,arg3
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 Py_INCREF(Py_None
); resultobj
= Py_None
;
21570 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21573 wxImageList
*arg2
= (wxImageList
*) 0 ;
21575 PyObject
* obj0
= 0 ;
21576 PyObject
* obj1
= 0 ;
21577 PyObject
* obj2
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self",(char *) "imageList",(char *) "which", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21586 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21587 arg3
= (int) SWIG_AsInt(obj2
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 (arg1
)->AssignImageList(arg2
,arg3
);
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 Py_INCREF(Py_None
); resultobj
= Py_None
;
21603 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 char *kwnames
[] = {
21609 (char *) "self", NULL
21612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21631 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
;
21633 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21635 PyObject
* obj0
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21659 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
;
21661 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21663 PyObject
* obj0
= 0 ;
21664 PyObject
* obj1
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self",(char *) "item", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21672 arg2
= (long) SWIG_AsLong(obj1
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 (arg1
)->RefreshItem(arg2
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 Py_INCREF(Py_None
); resultobj
= Py_None
;
21688 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21690 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21693 PyObject
* obj0
= 0 ;
21694 PyObject
* obj1
= 0 ;
21695 PyObject
* obj2
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21703 arg2
= (long) SWIG_AsLong(obj1
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21705 arg3
= (long) SWIG_AsLong(obj2
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 (arg1
)->RefreshItems(arg2
,arg3
);
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 Py_INCREF(Py_None
); resultobj
= Py_None
;
21721 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21724 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "self",(char *) "flag", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21736 arg2
= (int) SWIG_AsInt(obj1
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 result
= (bool)(arg1
)->Arrange(arg2
);
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21755 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
;
21757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21760 PyObject
* obj0
= 0 ;
21761 PyObject
* obj1
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "self",(char *) "item", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21769 arg2
= (long) SWIG_AsLong(obj1
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 result
= (bool)(arg1
)->DeleteItem(arg2
);
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21787 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21791 PyObject
* obj0
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "self", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 result
= (bool)(arg1
)->DeleteAllItems();
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21815 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
;
21817 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21820 PyObject
* obj0
= 0 ;
21821 PyObject
* obj1
= 0 ;
21822 char *kwnames
[] = {
21823 (char *) "self",(char *) "col", NULL
21826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21829 arg2
= (int) SWIG_AsInt(obj1
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21847 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21851 PyObject
* obj0
= 0 ;
21852 char *kwnames
[] = {
21853 (char *) "self", NULL
21856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 result
= (bool)(arg1
)->DeleteAllColumns();
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21875 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21878 PyObject
* obj0
= 0 ;
21879 char *kwnames
[] = {
21880 (char *) "self", NULL
21883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 (arg1
)->ClearAll();
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21893 Py_INCREF(Py_None
); resultobj
= Py_None
;
21900 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self",(char *) "item", NULL
21910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21913 arg2
= (long) SWIG_AsLong(obj1
);
21914 if (PyErr_Occurred()) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 (arg1
)->EditLabel(arg2
);
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 Py_INCREF(Py_None
); resultobj
= Py_None
;
21929 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 char *kwnames
[] = {
21937 (char *) "self",(char *) "item", NULL
21940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21943 arg2
= (long) SWIG_AsLong(obj1
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21961 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21965 wxString
*arg3
= 0 ;
21966 bool arg4
= (bool) False
;
21968 bool temp3
= False
;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 PyObject
* obj2
= 0 ;
21972 PyObject
* obj3
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 arg2
= (long) SWIG_AsLong(obj1
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 arg3
= wxString_in_helper(obj2
);
21984 if (arg3
== NULL
) SWIG_fail
;
21988 arg4
= (bool) SWIG_AsBool(obj3
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21998 resultobj
= SWIG_FromLong((long)result
);
22013 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
;
22015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22019 PyObject
* obj0
= 0 ;
22020 PyObject
* obj1
= 0 ;
22021 PyObject
* obj2
= 0 ;
22022 char *kwnames
[] = {
22023 (char *) "self",(char *) "start",(char *) "data", NULL
22026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22029 arg2
= (long) SWIG_AsLong(obj1
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22031 arg3
= (long) SWIG_AsLong(obj2
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_FromLong((long)result
);
22047 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22051 wxPoint
*arg3
= 0 ;
22055 PyObject
* obj0
= 0 ;
22056 PyObject
* obj1
= 0 ;
22057 PyObject
* obj2
= 0 ;
22058 PyObject
* obj3
= 0 ;
22059 char *kwnames
[] = {
22060 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 arg2
= (long) SWIG_AsLong(obj1
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22070 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22072 arg4
= (int) SWIG_AsInt(obj3
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= SWIG_FromLong((long)result
);
22088 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22089 PyObject
*resultobj
;
22090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22091 wxPoint
*arg2
= 0 ;
22096 PyObject
* obj0
= 0 ;
22097 PyObject
* obj1
= 0 ;
22098 char *kwnames
[] = {
22099 (char *) "self",(char *) "point", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22108 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= SWIG_FromLong((long)result
);
22119 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22120 resultobj
= t_output_helper(resultobj
,o
);
22128 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22131 wxListItem
*arg2
= 0 ;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self",(char *) "info", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22145 if (arg2
== NULL
) {
22146 PyErr_SetString(PyExc_TypeError
,"null reference");
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 result
= (long)(arg1
)->InsertItem(*arg2
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 resultobj
= SWIG_FromLong((long)result
);
22163 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
;
22165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22167 wxString
*arg3
= 0 ;
22169 bool temp3
= False
;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 PyObject
* obj2
= 0 ;
22173 char *kwnames
[] = {
22174 (char *) "self",(char *) "index",(char *) "label", NULL
22177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22180 arg2
= (long) SWIG_AsLong(obj1
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 arg3
= wxString_in_helper(obj2
);
22184 if (arg3
== NULL
) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= SWIG_FromLong((long)result
);
22209 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
;
22211 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22215 PyObject
* obj0
= 0 ;
22216 PyObject
* obj1
= 0 ;
22217 PyObject
* obj2
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22225 arg2
= (long) SWIG_AsLong(obj1
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22227 arg3
= (int) SWIG_AsInt(obj2
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22233 wxPyEndAllowThreads(__tstate
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22236 resultobj
= SWIG_FromLong((long)result
);
22243 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
;
22245 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22247 wxString
*arg3
= 0 ;
22250 bool temp3
= False
;
22251 PyObject
* obj0
= 0 ;
22252 PyObject
* obj1
= 0 ;
22253 PyObject
* obj2
= 0 ;
22254 PyObject
* obj3
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22262 arg2
= (long) SWIG_AsLong(obj1
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 arg3
= wxString_in_helper(obj2
);
22266 if (arg3
== NULL
) SWIG_fail
;
22269 arg4
= (int) SWIG_AsInt(obj3
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 resultobj
= SWIG_FromLong((long)result
);
22293 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22297 wxListItem
*arg3
= 0 ;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 PyObject
* obj2
= 0 ;
22302 char *kwnames
[] = {
22303 (char *) "self",(char *) "col",(char *) "info", NULL
22306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 arg2
= (long) SWIG_AsLong(obj1
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22311 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22314 if (arg3
== NULL
) {
22315 PyErr_SetString(PyExc_TypeError
,"null reference");
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= SWIG_FromLong((long)result
);
22332 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
;
22334 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22336 wxString
*arg3
= 0 ;
22337 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22338 int arg5
= (int) -1 ;
22340 bool temp3
= False
;
22341 PyObject
* obj0
= 0 ;
22342 PyObject
* obj1
= 0 ;
22343 PyObject
* obj2
= 0 ;
22344 PyObject
* obj3
= 0 ;
22345 PyObject
* obj4
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22353 arg2
= (long) SWIG_AsLong(obj1
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22356 arg3
= wxString_in_helper(obj2
);
22357 if (arg3
== NULL
) SWIG_fail
;
22361 arg4
= (int) SWIG_AsInt(obj3
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22365 arg5
= (int) SWIG_AsInt(obj4
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 resultobj
= SWIG_FromLong((long)result
);
22390 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22394 PyObject
* obj0
= 0 ;
22395 PyObject
* obj1
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "self",(char *) "count", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22403 arg2
= (long) SWIG_AsLong(obj1
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 (arg1
)->SetItemCount(arg2
);
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 Py_INCREF(Py_None
); resultobj
= Py_None
;
22419 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 PyObject
* obj1
= 0 ;
22427 PyObject
* obj2
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self",(char *) "dx",(char *) "dy", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22435 arg2
= (int) SWIG_AsInt(obj1
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22437 arg3
= (int) SWIG_AsInt(obj2
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22455 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22459 wxColour
*arg3
= 0 ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 PyObject
* obj2
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self",(char *) "item",(char *) "col", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 arg2
= (long) SWIG_AsLong(obj1
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22475 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22484 Py_INCREF(Py_None
); resultobj
= Py_None
;
22491 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22492 PyObject
*resultobj
;
22493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self",(char *) "item", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22505 arg2
= (long) SWIG_AsLong(obj1
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22515 wxColour
* resultptr
;
22516 resultptr
= new wxColour((wxColour
&) result
);
22517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22525 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22529 wxColour
*arg3
= 0 ;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 PyObject
* obj2
= 0 ;
22534 char *kwnames
[] = {
22535 (char *) "self",(char *) "item",(char *) "col", NULL
22538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22541 arg2
= (long) SWIG_AsLong(obj1
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22545 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22551 wxPyEndAllowThreads(__tstate
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22554 Py_INCREF(Py_None
); resultobj
= Py_None
;
22561 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
;
22563 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 char *kwnames
[] = {
22569 (char *) "self",(char *) "item", NULL
22572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22575 arg2
= (long) SWIG_AsLong(obj1
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22585 wxColour
* resultptr
;
22586 resultptr
= new wxColour((wxColour
&) result
);
22587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22595 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
;
22597 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22598 PyObject
*arg2
= (PyObject
*) 0 ;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self",(char *) "func", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22626 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22630 PyObject
* obj0
= 0 ;
22631 char *kwnames
[] = {
22632 (char *) "self", NULL
22635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= wxPyMake_wxObject(result
);
22654 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
22657 wxVisualAttributes result
;
22658 PyObject
* obj0
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "variant", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22665 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22676 wxVisualAttributes
* resultptr
;
22677 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
22678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22686 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22689 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22691 return Py_BuildValue((char *)"");
22693 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
;
22695 wxWindow
*arg1
= (wxWindow
*) 0 ;
22696 int arg2
= (int) -1 ;
22697 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22698 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22699 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22700 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22701 long arg5
= (long) wxLC_REPORT
;
22702 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22703 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22704 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22705 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22706 wxListView
*result
;
22709 bool temp7
= False
;
22710 PyObject
* obj0
= 0 ;
22711 PyObject
* obj1
= 0 ;
22712 PyObject
* obj2
= 0 ;
22713 PyObject
* obj3
= 0 ;
22714 PyObject
* obj4
= 0 ;
22715 PyObject
* obj5
= 0 ;
22716 PyObject
* obj6
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22725 arg2
= (int) SWIG_AsInt(obj1
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22731 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22737 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22741 arg5
= (long) SWIG_AsLong(obj4
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22745 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22746 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22748 if (arg6
== NULL
) {
22749 PyErr_SetString(PyExc_TypeError
,"null reference");
22755 arg7
= wxString_in_helper(obj6
);
22756 if (arg7
== NULL
) SWIG_fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22782 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxListView
*result
;
22785 char *kwnames
[] = {
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22792 result
= (wxListView
*)new wxListView();
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22804 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22805 PyObject
*resultobj
;
22806 wxListView
*arg1
= (wxListView
*) 0 ;
22807 wxWindow
*arg2
= (wxWindow
*) 0 ;
22808 int arg3
= (int) -1 ;
22809 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22810 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22811 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22812 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22813 long arg6
= (long) wxLC_REPORT
;
22814 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22815 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22816 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22817 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22821 bool temp8
= False
;
22822 PyObject
* obj0
= 0 ;
22823 PyObject
* obj1
= 0 ;
22824 PyObject
* obj2
= 0 ;
22825 PyObject
* obj3
= 0 ;
22826 PyObject
* obj4
= 0 ;
22827 PyObject
* obj5
= 0 ;
22828 PyObject
* obj6
= 0 ;
22829 PyObject
* obj7
= 0 ;
22830 char *kwnames
[] = {
22831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22840 arg3
= (int) SWIG_AsInt(obj2
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22846 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22852 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22856 arg6
= (long) SWIG_AsLong(obj5
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22860 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22863 if (arg7
== NULL
) {
22864 PyErr_SetString(PyExc_TypeError
,"null reference");
22870 arg8
= wxString_in_helper(obj7
);
22871 if (arg8
== NULL
) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22899 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
;
22901 wxListView
*arg1
= (wxListView
*) 0 ;
22903 bool arg3
= (bool) True
;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22906 PyObject
* obj2
= 0 ;
22907 char *kwnames
[] = {
22908 (char *) "self",(char *) "n",(char *) "on", NULL
22911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22914 arg2
= (long) SWIG_AsLong(obj1
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 arg3
= (bool) SWIG_AsBool(obj2
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 (arg1
)->Select(arg2
,arg3
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 Py_INCREF(Py_None
); resultobj
= Py_None
;
22934 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
;
22936 wxListView
*arg1
= (wxListView
*) 0 ;
22938 PyObject
* obj0
= 0 ;
22939 PyObject
* obj1
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self",(char *) "index", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22947 arg2
= (long) SWIG_AsLong(obj1
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 (arg1
)->Focus(arg2
);
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 Py_INCREF(Py_None
); resultobj
= Py_None
;
22963 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
;
22965 wxListView
*arg1
= (wxListView
*) 0 ;
22967 PyObject
* obj0
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "self", NULL
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= SWIG_FromLong((long)result
);
22989 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22990 PyObject
*resultobj
;
22991 wxListView
*arg1
= (wxListView
*) 0 ;
22994 PyObject
* obj0
= 0 ;
22995 PyObject
* obj1
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self",(char *) "item", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23003 arg2
= (long) SWIG_AsLong(obj1
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= SWIG_FromLong((long)result
);
23019 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23021 wxListView
*arg1
= (wxListView
*) 0 ;
23023 PyObject
* obj0
= 0 ;
23024 char *kwnames
[] = {
23025 (char *) "self", NULL
23028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= SWIG_FromLong((long)result
);
23045 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
;
23047 wxListView
*arg1
= (wxListView
*) 0 ;
23050 PyObject
* obj0
= 0 ;
23051 PyObject
* obj1
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self",(char *) "index", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23059 arg2
= (long) SWIG_AsLong(obj1
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (bool)(arg1
)->IsSelected(arg2
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23077 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
;
23079 wxListView
*arg1
= (wxListView
*) 0 ;
23082 PyObject
* obj0
= 0 ;
23083 PyObject
* obj1
= 0 ;
23084 PyObject
* obj2
= 0 ;
23085 char *kwnames
[] = {
23086 (char *) "self",(char *) "col",(char *) "image", NULL
23089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23092 arg2
= (int) SWIG_AsInt(obj1
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23094 arg3
= (int) SWIG_AsInt(obj2
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 (arg1
)->SetColumnImage(arg2
,arg3
);
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 Py_INCREF(Py_None
); resultobj
= Py_None
;
23110 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxListView
*arg1
= (wxListView
*) 0 ;
23114 PyObject
* obj0
= 0 ;
23115 PyObject
* obj1
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self",(char *) "col", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23123 arg2
= (int) SWIG_AsInt(obj1
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 (arg1
)->ClearColumnImage(arg2
);
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 Py_INCREF(Py_None
); resultobj
= Py_None
;
23139 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23142 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23144 return Py_BuildValue((char *)"");
23146 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23147 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23152 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23157 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23159 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23166 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
;
23168 wxTreeItemId
*result
;
23169 char *kwnames
[] = {
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= (wxTreeItemId
*)new wxTreeItemId();
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23188 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23191 PyObject
* obj0
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23206 Py_INCREF(Py_None
); resultobj
= Py_None
;
23213 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23214 PyObject
*resultobj
;
23215 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23217 PyObject
* obj0
= 0 ;
23218 char *kwnames
[] = {
23219 (char *) "self", NULL
23222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23241 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23242 PyObject
*resultobj
;
23243 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23244 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23246 PyObject
* obj0
= 0 ;
23247 PyObject
* obj1
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self",(char *) "other", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23273 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
;
23275 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23276 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23278 PyObject
* obj0
= 0 ;
23279 PyObject
* obj1
= 0 ;
23280 char *kwnames
[] = {
23281 (char *) "self",(char *) "other", NULL
23284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23305 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23308 void *arg2
= (void *) 0 ;
23309 PyObject
* obj0
= 0 ;
23310 PyObject
* obj1
= 0 ;
23311 char *kwnames
[] = {
23312 (char *) "self",(char *) "m_pItem", NULL
23315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23318 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23319 if (arg1
) (arg1
)->m_pItem
= arg2
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23332 PyObject
* obj0
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23340 result
= (void *) ((arg1
)->m_pItem
);
23342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23349 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23352 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23354 return Py_BuildValue((char *)"");
23356 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 PyObject
*arg1
= (PyObject
*) NULL
;
23359 wxPyTreeItemData
*result
;
23360 PyObject
* obj0
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "obj", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23383 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
;
23385 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23387 PyObject
* obj0
= 0 ;
23388 char *kwnames
[] = {
23389 (char *) "self", NULL
23392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 result
= (PyObject
*)(arg1
)->GetData();
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23402 resultobj
= result
;
23409 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23410 PyObject
*resultobj
;
23411 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23412 PyObject
*arg2
= (PyObject
*) 0 ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self",(char *) "obj", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 (arg1
)->SetData(arg2
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 Py_INCREF(Py_None
); resultobj
= Py_None
;
23437 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23440 wxTreeItemId
*result
;
23441 PyObject
* obj0
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23453 result
= (wxTreeItemId
*) &_result_ref
;
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23466 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23467 PyObject
*resultobj
;
23468 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23469 wxTreeItemId
*arg2
= 0 ;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "self",(char *) "id", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23482 if (arg2
== NULL
) {
23483 PyErr_SetString(PyExc_TypeError
,"null reference");
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 Py_INCREF(Py_None
); resultobj
= Py_None
;
23500 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23503 PyObject
* obj0
= 0 ;
23504 char *kwnames
[] = {
23505 (char *) "self", NULL
23508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 wxPyTreeItemData_Destroy(arg1
);
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 Py_INCREF(Py_None
); resultobj
= Py_None
;
23525 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23528 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23530 return Py_BuildValue((char *)"");
23532 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
;
23534 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23535 int arg2
= (int) 0 ;
23536 wxTreeEvent
*result
;
23537 PyObject
* obj0
= 0 ;
23538 PyObject
* obj1
= 0 ;
23539 char *kwnames
[] = {
23540 (char *) "commandType",(char *) "id", NULL
23543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23545 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23549 arg2
= (int) SWIG_AsInt(obj1
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23566 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23569 wxTreeItemId result
;
23570 PyObject
* obj0
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23586 wxTreeItemId
* resultptr
;
23587 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23596 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23598 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23599 wxTreeItemId
*arg2
= 0 ;
23600 PyObject
* obj0
= 0 ;
23601 PyObject
* obj1
= 0 ;
23602 char *kwnames
[] = {
23603 (char *) "self",(char *) "item", NULL
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23612 if (arg2
== NULL
) {
23613 PyErr_SetString(PyExc_TypeError
,"null reference");
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23623 Py_INCREF(Py_None
); resultobj
= Py_None
;
23630 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
;
23632 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23633 wxTreeItemId result
;
23634 PyObject
* obj0
= 0 ;
23635 char *kwnames
[] = {
23636 (char *) "self", NULL
23639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23650 wxTreeItemId
* resultptr
;
23651 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23660 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
;
23662 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23663 wxTreeItemId
*arg2
= 0 ;
23664 PyObject
* obj0
= 0 ;
23665 PyObject
* obj1
= 0 ;
23666 char *kwnames
[] = {
23667 (char *) "self",(char *) "item", NULL
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23676 if (arg2
== NULL
) {
23677 PyErr_SetString(PyExc_TypeError
,"null reference");
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 Py_INCREF(Py_None
); resultobj
= Py_None
;
23694 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
;
23696 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23698 PyObject
* obj0
= 0 ;
23699 char *kwnames
[] = {
23700 (char *) "self", NULL
23703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23714 wxPoint
* resultptr
;
23715 resultptr
= new wxPoint((wxPoint
&) result
);
23716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23724 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23726 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23727 wxPoint
*arg2
= 0 ;
23729 PyObject
* obj0
= 0 ;
23730 PyObject
* obj1
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "self",(char *) "pt", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23740 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 Py_INCREF(Py_None
); resultobj
= Py_None
;
23756 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
;
23758 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23759 wxKeyEvent
*result
;
23760 PyObject
* obj0
= 0 ;
23761 char *kwnames
[] = {
23762 (char *) "self", NULL
23765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23772 result
= (wxKeyEvent
*) &_result_ref
;
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23785 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23787 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23789 PyObject
* obj0
= 0 ;
23790 char *kwnames
[] = {
23791 (char *) "self", NULL
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= SWIG_FromInt((int)result
);
23811 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23812 PyObject
*resultobj
;
23813 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23814 wxKeyEvent
*arg2
= 0 ;
23815 PyObject
* obj0
= 0 ;
23816 PyObject
* obj1
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "self",(char *) "evt", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23827 if (arg2
== NULL
) {
23828 PyErr_SetString(PyExc_TypeError
,"null reference");
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 Py_INCREF(Py_None
); resultobj
= Py_None
;
23845 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
;
23847 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23849 PyObject
* obj0
= 0 ;
23850 char *kwnames
[] = {
23851 (char *) "self", NULL
23854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23860 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23861 result
= (wxString
*) &_result_ref
;
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23869 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23871 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23880 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23883 wxString
*arg2
= 0 ;
23884 bool temp2
= False
;
23885 PyObject
* obj0
= 0 ;
23886 PyObject
* obj1
= 0 ;
23887 char *kwnames
[] = {
23888 (char *) "self",(char *) "label", NULL
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23895 arg2
= wxString_in_helper(obj1
);
23896 if (arg2
== NULL
) SWIG_fail
;
23900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23901 (arg1
)->SetLabel((wxString
const &)*arg2
);
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23906 Py_INCREF(Py_None
); resultobj
= Py_None
;
23921 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
;
23923 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23925 PyObject
* obj0
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23949 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23953 PyObject
* obj0
= 0 ;
23954 PyObject
* obj1
= 0 ;
23955 char *kwnames
[] = {
23956 (char *) "self",(char *) "editCancelled", NULL
23959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23962 arg2
= (bool) SWIG_AsBool(obj1
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 (arg1
)->SetEditCanceled(arg2
);
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 Py_INCREF(Py_None
); resultobj
= Py_None
;
23978 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23979 PyObject
*resultobj
;
23980 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23981 wxString
*arg2
= 0 ;
23982 bool temp2
= False
;
23983 PyObject
* obj0
= 0 ;
23984 PyObject
* obj1
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "self",(char *) "toolTip", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23993 arg2
= wxString_in_helper(obj1
);
23994 if (arg2
== NULL
) SWIG_fail
;
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24022 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24024 return Py_BuildValue((char *)"");
24026 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxWindow
*arg1
= (wxWindow
*) 0 ;
24029 int arg2
= (int) -1 ;
24030 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24031 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24032 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24033 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24034 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24035 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24036 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24037 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24038 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24039 wxPyTreeCtrl
*result
;
24042 bool temp7
= False
;
24043 PyObject
* obj0
= 0 ;
24044 PyObject
* obj1
= 0 ;
24045 PyObject
* obj2
= 0 ;
24046 PyObject
* obj3
= 0 ;
24047 PyObject
* obj4
= 0 ;
24048 PyObject
* obj5
= 0 ;
24049 PyObject
* obj6
= 0 ;
24050 char *kwnames
[] = {
24051 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24058 arg2
= (int) SWIG_AsInt(obj1
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24064 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24070 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24074 arg5
= (long) SWIG_AsLong(obj4
);
24075 if (PyErr_Occurred()) SWIG_fail
;
24078 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24081 if (arg6
== NULL
) {
24082 PyErr_SetString(PyExc_TypeError
,"null reference");
24088 arg7
= wxString_in_helper(obj6
);
24089 if (arg7
== NULL
) SWIG_fail
;
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24101 resultobj
= wxPyMake_wxObject(result
);
24117 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
;
24119 wxPyTreeCtrl
*result
;
24120 char *kwnames
[] = {
24124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24127 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24129 wxPyEndAllowThreads(__tstate
);
24130 if (PyErr_Occurred()) SWIG_fail
;
24133 resultobj
= wxPyMake_wxObject(result
);
24141 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
;
24143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24144 wxWindow
*arg2
= (wxWindow
*) 0 ;
24145 int arg3
= (int) -1 ;
24146 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24147 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24148 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24149 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24150 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24151 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24152 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24153 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24154 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24158 bool temp8
= False
;
24159 PyObject
* obj0
= 0 ;
24160 PyObject
* obj1
= 0 ;
24161 PyObject
* obj2
= 0 ;
24162 PyObject
* obj3
= 0 ;
24163 PyObject
* obj4
= 0 ;
24164 PyObject
* obj5
= 0 ;
24165 PyObject
* obj6
= 0 ;
24166 PyObject
* obj7
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24177 arg3
= (int) SWIG_AsInt(obj2
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24183 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24189 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24193 arg6
= (long) SWIG_AsLong(obj5
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24197 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24200 if (arg7
== NULL
) {
24201 PyErr_SetString(PyExc_TypeError
,"null reference");
24207 arg8
= wxString_in_helper(obj7
);
24208 if (arg8
== NULL
) SWIG_fail
;
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24236 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24239 PyObject
*arg2
= (PyObject
*) 0 ;
24240 PyObject
*arg3
= (PyObject
*) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 PyObject
* obj1
= 0 ;
24243 PyObject
* obj2
= 0 ;
24244 char *kwnames
[] = {
24245 (char *) "self",(char *) "self",(char *) "_class", NULL
24248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 Py_INCREF(Py_None
); resultobj
= Py_None
;
24267 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
;
24269 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 char *kwnames
[] = {
24273 (char *) "self", NULL
24276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24293 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
;
24295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24296 unsigned int result
;
24297 PyObject
* obj0
= 0 ;
24298 char *kwnames
[] = {
24299 (char *) "self", NULL
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24319 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24320 PyObject
*resultobj
;
24321 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24322 unsigned int arg2
;
24323 PyObject
* obj0
= 0 ;
24324 PyObject
* obj1
= 0 ;
24325 char *kwnames
[] = {
24326 (char *) "self",(char *) "indent", NULL
24329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24332 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 (arg1
)->SetIndent(arg2
);
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 Py_INCREF(Py_None
); resultobj
= Py_None
;
24348 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
;
24350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24351 unsigned int result
;
24352 PyObject
* obj0
= 0 ;
24353 char *kwnames
[] = {
24354 (char *) "self", NULL
24357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24374 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
;
24376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24377 unsigned int arg2
;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 char *kwnames
[] = {
24381 (char *) "self",(char *) "spacing", NULL
24384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24387 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 (arg1
)->SetSpacing(arg2
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 Py_INCREF(Py_None
); resultobj
= Py_None
;
24403 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24406 wxImageList
*result
;
24407 PyObject
* obj0
= 0 ;
24408 char *kwnames
[] = {
24409 (char *) "self", NULL
24412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= wxPyMake_wxObject(result
);
24431 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24434 wxImageList
*result
;
24435 PyObject
* obj0
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "self", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= wxPyMake_wxObject(result
);
24459 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24462 wxImageList
*arg2
= (wxImageList
*) 0 ;
24463 PyObject
* obj0
= 0 ;
24464 PyObject
* obj1
= 0 ;
24465 char *kwnames
[] = {
24466 (char *) "self",(char *) "imageList", NULL
24469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 (arg1
)->SetImageList(arg2
);
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 Py_INCREF(Py_None
); resultobj
= Py_None
;
24488 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24491 wxImageList
*arg2
= (wxImageList
*) 0 ;
24492 PyObject
* obj0
= 0 ;
24493 PyObject
* obj1
= 0 ;
24494 char *kwnames
[] = {
24495 (char *) "self",(char *) "imageList", NULL
24498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 (arg1
)->SetStateImageList(arg2
);
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 Py_INCREF(Py_None
); resultobj
= Py_None
;
24517 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24520 wxImageList
*arg2
= (wxImageList
*) 0 ;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 char *kwnames
[] = {
24524 (char *) "self",(char *) "imageList", NULL
24527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24531 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 (arg1
)->AssignImageList(arg2
);
24536 wxPyEndAllowThreads(__tstate
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24539 Py_INCREF(Py_None
); resultobj
= Py_None
;
24546 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
;
24548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24549 wxImageList
*arg2
= (wxImageList
*) 0 ;
24550 PyObject
* obj0
= 0 ;
24551 PyObject
* obj1
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self",(char *) "imageList", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24560 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 (arg1
)->AssignStateImageList(arg2
);
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24568 Py_INCREF(Py_None
); resultobj
= Py_None
;
24575 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24578 wxTreeItemId
*arg2
= 0 ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "item", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24592 if (arg2
== NULL
) {
24593 PyErr_SetString(PyExc_TypeError
,"null reference");
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24616 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24619 wxTreeItemId
*arg2
= 0 ;
24620 int arg3
= (int) wxTreeItemIcon_Normal
;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 PyObject
* obj2
= 0 ;
24625 char *kwnames
[] = {
24626 (char *) "self",(char *) "item",(char *) "which", NULL
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24635 if (arg2
== NULL
) {
24636 PyErr_SetString(PyExc_TypeError
,"null reference");
24640 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= SWIG_FromInt((int)result
);
24657 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24660 wxTreeItemId
*arg2
= 0 ;
24661 wxPyTreeItemData
*result
;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 char *kwnames
[] = {
24665 (char *) "self",(char *) "item", NULL
24668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24674 if (arg2
== NULL
) {
24675 PyErr_SetString(PyExc_TypeError
,"null reference");
24679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24692 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
;
24694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24695 wxTreeItemId
*arg2
= 0 ;
24697 PyObject
* obj0
= 0 ;
24698 PyObject
* obj1
= 0 ;
24699 char *kwnames
[] = {
24700 (char *) "self",(char *) "item", NULL
24703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24709 if (arg2
== NULL
) {
24710 PyErr_SetString(PyExc_TypeError
,"null reference");
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= result
;
24727 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
;
24729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24730 wxTreeItemId
*arg2
= 0 ;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 char *kwnames
[] = {
24735 (char *) "self",(char *) "item", NULL
24738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24744 if (arg2
== NULL
) {
24745 PyErr_SetString(PyExc_TypeError
,"null reference");
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24756 wxColour
* resultptr
;
24757 resultptr
= new wxColour((wxColour
&) result
);
24758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24766 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
;
24768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24769 wxTreeItemId
*arg2
= 0 ;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 char *kwnames
[] = {
24774 (char *) "self",(char *) "item", NULL
24777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24783 if (arg2
== NULL
) {
24784 PyErr_SetString(PyExc_TypeError
,"null reference");
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24795 wxColour
* resultptr
;
24796 resultptr
= new wxColour((wxColour
&) result
);
24797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24805 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24808 wxTreeItemId
*arg2
= 0 ;
24810 PyObject
* obj0
= 0 ;
24811 PyObject
* obj1
= 0 ;
24812 char *kwnames
[] = {
24813 (char *) "self",(char *) "item", NULL
24816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24822 if (arg2
== NULL
) {
24823 PyErr_SetString(PyExc_TypeError
,"null reference");
24827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24828 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24834 wxFont
* resultptr
;
24835 resultptr
= new wxFont((wxFont
&) result
);
24836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24844 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24845 PyObject
*resultobj
;
24846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24847 wxTreeItemId
*arg2
= 0 ;
24848 wxString
*arg3
= 0 ;
24849 bool temp3
= False
;
24850 PyObject
* obj0
= 0 ;
24851 PyObject
* obj1
= 0 ;
24852 PyObject
* obj2
= 0 ;
24853 char *kwnames
[] = {
24854 (char *) "self",(char *) "item",(char *) "text", NULL
24857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24863 if (arg2
== NULL
) {
24864 PyErr_SetString(PyExc_TypeError
,"null reference");
24868 arg3
= wxString_in_helper(obj2
);
24869 if (arg3
== NULL
) SWIG_fail
;
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24879 Py_INCREF(Py_None
); resultobj
= Py_None
;
24894 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
;
24896 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24897 wxTreeItemId
*arg2
= 0 ;
24899 int arg4
= (int) wxTreeItemIcon_Normal
;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 PyObject
* obj2
= 0 ;
24903 PyObject
* obj3
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24914 if (arg2
== NULL
) {
24915 PyErr_SetString(PyExc_TypeError
,"null reference");
24918 arg3
= (int) SWIG_AsInt(obj2
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24926 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24931 Py_INCREF(Py_None
); resultobj
= Py_None
;
24938 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24939 PyObject
*resultobj
;
24940 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24941 wxTreeItemId
*arg2
= 0 ;
24942 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24943 PyObject
* obj0
= 0 ;
24944 PyObject
* obj1
= 0 ;
24945 PyObject
* obj2
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self",(char *) "item",(char *) "data", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24956 if (arg2
== NULL
) {
24957 PyErr_SetString(PyExc_TypeError
,"null reference");
24960 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 Py_INCREF(Py_None
); resultobj
= Py_None
;
24976 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24979 wxTreeItemId
*arg2
= 0 ;
24980 PyObject
*arg3
= (PyObject
*) 0 ;
24981 PyObject
* obj0
= 0 ;
24982 PyObject
* obj1
= 0 ;
24983 PyObject
* obj2
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self",(char *) "item",(char *) "obj", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24994 if (arg2
== NULL
) {
24995 PyErr_SetString(PyExc_TypeError
,"null reference");
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25006 Py_INCREF(Py_None
); resultobj
= Py_None
;
25013 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
;
25015 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25016 wxTreeItemId
*arg2
= 0 ;
25017 bool arg3
= (bool) True
;
25018 PyObject
* obj0
= 0 ;
25019 PyObject
* obj1
= 0 ;
25020 PyObject
* obj2
= 0 ;
25021 char *kwnames
[] = {
25022 (char *) "self",(char *) "item",(char *) "has", NULL
25025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25031 if (arg2
== NULL
) {
25032 PyErr_SetString(PyExc_TypeError
,"null reference");
25036 arg3
= (bool) SWIG_AsBool(obj2
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25046 Py_INCREF(Py_None
); resultobj
= Py_None
;
25053 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25054 PyObject
*resultobj
;
25055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25056 wxTreeItemId
*arg2
= 0 ;
25057 bool arg3
= (bool) True
;
25058 PyObject
* obj0
= 0 ;
25059 PyObject
* obj1
= 0 ;
25060 PyObject
* obj2
= 0 ;
25061 char *kwnames
[] = {
25062 (char *) "self",(char *) "item",(char *) "bold", NULL
25065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25071 if (arg2
== NULL
) {
25072 PyErr_SetString(PyExc_TypeError
,"null reference");
25076 arg3
= (bool) SWIG_AsBool(obj2
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25086 Py_INCREF(Py_None
); resultobj
= Py_None
;
25093 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25096 wxTreeItemId
*arg2
= 0 ;
25097 wxColour
*arg3
= 0 ;
25099 PyObject
* obj0
= 0 ;
25100 PyObject
* obj1
= 0 ;
25101 PyObject
* obj2
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "self",(char *) "item",(char *) "col", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25112 if (arg2
== NULL
) {
25113 PyErr_SetString(PyExc_TypeError
,"null reference");
25118 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 Py_INCREF(Py_None
); resultobj
= Py_None
;
25134 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
;
25136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25137 wxTreeItemId
*arg2
= 0 ;
25138 wxColour
*arg3
= 0 ;
25140 PyObject
* obj0
= 0 ;
25141 PyObject
* obj1
= 0 ;
25142 PyObject
* obj2
= 0 ;
25143 char *kwnames
[] = {
25144 (char *) "self",(char *) "item",(char *) "col", NULL
25147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25151 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25153 if (arg2
== NULL
) {
25154 PyErr_SetString(PyExc_TypeError
,"null reference");
25159 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25165 wxPyEndAllowThreads(__tstate
);
25166 if (PyErr_Occurred()) SWIG_fail
;
25168 Py_INCREF(Py_None
); resultobj
= Py_None
;
25175 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
;
25177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25178 wxTreeItemId
*arg2
= 0 ;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 PyObject
* obj2
= 0 ;
25183 char *kwnames
[] = {
25184 (char *) "self",(char *) "item",(char *) "font", NULL
25187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25193 if (arg2
== NULL
) {
25194 PyErr_SetString(PyExc_TypeError
,"null reference");
25197 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25200 if (arg3
== NULL
) {
25201 PyErr_SetString(PyExc_TypeError
,"null reference");
25205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25206 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25208 wxPyEndAllowThreads(__tstate
);
25209 if (PyErr_Occurred()) SWIG_fail
;
25211 Py_INCREF(Py_None
); resultobj
= Py_None
;
25218 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25219 PyObject
*resultobj
;
25220 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25221 wxTreeItemId
*arg2
= 0 ;
25223 PyObject
* obj0
= 0 ;
25224 PyObject
* obj1
= 0 ;
25225 char *kwnames
[] = {
25226 (char *) "self",(char *) "item", NULL
25229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25235 if (arg2
== NULL
) {
25236 PyErr_SetString(PyExc_TypeError
,"null reference");
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25255 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
;
25257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25258 wxTreeItemId
*arg2
= 0 ;
25260 PyObject
* obj0
= 0 ;
25261 PyObject
* obj1
= 0 ;
25262 char *kwnames
[] = {
25263 (char *) "self",(char *) "item", NULL
25266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25272 if (arg2
== NULL
) {
25273 PyErr_SetString(PyExc_TypeError
,"null reference");
25277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25278 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25280 wxPyEndAllowThreads(__tstate
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25292 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25295 wxTreeItemId
*arg2
= 0 ;
25297 PyObject
* obj0
= 0 ;
25298 PyObject
* obj1
= 0 ;
25299 char *kwnames
[] = {
25300 (char *) "self",(char *) "item", NULL
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25309 if (arg2
== NULL
) {
25310 PyErr_SetString(PyExc_TypeError
,"null reference");
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25329 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
;
25331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25332 wxTreeItemId
*arg2
= 0 ;
25334 PyObject
* obj0
= 0 ;
25335 PyObject
* obj1
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self",(char *) "item", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25344 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25346 if (arg2
== NULL
) {
25347 PyErr_SetString(PyExc_TypeError
,"null reference");
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25366 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
;
25368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25369 wxTreeItemId
*arg2
= 0 ;
25371 PyObject
* obj0
= 0 ;
25372 PyObject
* obj1
= 0 ;
25373 char *kwnames
[] = {
25374 (char *) "self",(char *) "item", NULL
25377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25383 if (arg2
== NULL
) {
25384 PyErr_SetString(PyExc_TypeError
,"null reference");
25388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25389 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25403 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
;
25405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25406 wxTreeItemId
*arg2
= 0 ;
25407 bool arg3
= (bool) True
;
25409 PyObject
* obj0
= 0 ;
25410 PyObject
* obj1
= 0 ;
25411 PyObject
* obj2
= 0 ;
25412 char *kwnames
[] = {
25413 (char *) "self",(char *) "item",(char *) "recursively", NULL
25416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25422 if (arg2
== NULL
) {
25423 PyErr_SetString(PyExc_TypeError
,"null reference");
25427 arg3
= (bool) SWIG_AsBool(obj2
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25444 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
;
25446 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25447 wxTreeItemId result
;
25448 PyObject
* obj0
= 0 ;
25449 char *kwnames
[] = {
25450 (char *) "self", NULL
25453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25464 wxTreeItemId
* resultptr
;
25465 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25474 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25477 wxTreeItemId result
;
25478 PyObject
* obj0
= 0 ;
25479 char *kwnames
[] = {
25480 (char *) "self", NULL
25483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25494 wxTreeItemId
* resultptr
;
25495 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25504 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25505 PyObject
*resultobj
;
25506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25508 PyObject
* obj0
= 0 ;
25509 char *kwnames
[] = {
25510 (char *) "self", NULL
25513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 resultobj
= result
;
25530 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
;
25532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25533 wxTreeItemId
*arg2
= 0 ;
25534 wxTreeItemId result
;
25535 PyObject
* obj0
= 0 ;
25536 PyObject
* obj1
= 0 ;
25537 char *kwnames
[] = {
25538 (char *) "self",(char *) "item", NULL
25541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25547 if (arg2
== NULL
) {
25548 PyErr_SetString(PyExc_TypeError
,"null reference");
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25559 wxTreeItemId
* resultptr
;
25560 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25569 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25570 PyObject
*resultobj
;
25571 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25572 wxTreeItemId
*arg2
= 0 ;
25574 PyObject
* obj0
= 0 ;
25575 PyObject
* obj1
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "self",(char *) "item", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25586 if (arg2
== NULL
) {
25587 PyErr_SetString(PyExc_TypeError
,"null reference");
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= result
;
25604 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25607 wxTreeItemId
*arg2
= 0 ;
25608 void *arg3
= (void *) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 PyObject
* obj1
= 0 ;
25612 PyObject
* obj2
= 0 ;
25613 char *kwnames
[] = {
25614 (char *) "self",(char *) "item",(char *) "cookie", NULL
25617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25623 if (arg2
== NULL
) {
25624 PyErr_SetString(PyExc_TypeError
,"null reference");
25627 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= result
;
25642 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25643 PyObject
*resultobj
;
25644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25645 wxTreeItemId
*arg2
= 0 ;
25646 wxTreeItemId result
;
25647 PyObject
* obj0
= 0 ;
25648 PyObject
* obj1
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self",(char *) "item", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25659 if (arg2
== NULL
) {
25660 PyErr_SetString(PyExc_TypeError
,"null reference");
25664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25665 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25671 wxTreeItemId
* resultptr
;
25672 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25681 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
;
25683 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25684 wxTreeItemId
*arg2
= 0 ;
25685 wxTreeItemId result
;
25686 PyObject
* obj0
= 0 ;
25687 PyObject
* obj1
= 0 ;
25688 char *kwnames
[] = {
25689 (char *) "self",(char *) "item", NULL
25692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25698 if (arg2
== NULL
) {
25699 PyErr_SetString(PyExc_TypeError
,"null reference");
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25704 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25706 wxPyEndAllowThreads(__tstate
);
25707 if (PyErr_Occurred()) SWIG_fail
;
25710 wxTreeItemId
* resultptr
;
25711 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25720 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
;
25722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25723 wxTreeItemId
*arg2
= 0 ;
25724 wxTreeItemId result
;
25725 PyObject
* obj0
= 0 ;
25726 PyObject
* obj1
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self",(char *) "item", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25737 if (arg2
== NULL
) {
25738 PyErr_SetString(PyExc_TypeError
,"null reference");
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 wxTreeItemId
* resultptr
;
25750 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25759 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25762 wxTreeItemId result
;
25763 PyObject
* obj0
= 0 ;
25764 char *kwnames
[] = {
25765 (char *) "self", NULL
25768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25773 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25775 wxPyEndAllowThreads(__tstate
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25779 wxTreeItemId
* resultptr
;
25780 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25789 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
;
25791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25792 wxTreeItemId
*arg2
= 0 ;
25793 wxTreeItemId result
;
25794 PyObject
* obj0
= 0 ;
25795 PyObject
* obj1
= 0 ;
25796 char *kwnames
[] = {
25797 (char *) "self",(char *) "item", NULL
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25806 if (arg2
== NULL
) {
25807 PyErr_SetString(PyExc_TypeError
,"null reference");
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25818 wxTreeItemId
* resultptr
;
25819 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25828 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25831 wxTreeItemId
*arg2
= 0 ;
25832 wxTreeItemId result
;
25833 PyObject
* obj0
= 0 ;
25834 PyObject
* obj1
= 0 ;
25835 char *kwnames
[] = {
25836 (char *) "self",(char *) "item", NULL
25839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25845 if (arg2
== NULL
) {
25846 PyErr_SetString(PyExc_TypeError
,"null reference");
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25857 wxTreeItemId
* resultptr
;
25858 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25867 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
;
25869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25870 wxString
*arg2
= 0 ;
25871 int arg3
= (int) -1 ;
25872 int arg4
= (int) -1 ;
25873 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25874 wxTreeItemId result
;
25875 bool temp2
= False
;
25876 PyObject
* obj0
= 0 ;
25877 PyObject
* obj1
= 0 ;
25878 PyObject
* obj2
= 0 ;
25879 PyObject
* obj3
= 0 ;
25880 PyObject
* obj4
= 0 ;
25881 char *kwnames
[] = {
25882 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25889 arg2
= wxString_in_helper(obj1
);
25890 if (arg2
== NULL
) SWIG_fail
;
25894 arg3
= (int) SWIG_AsInt(obj2
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25898 arg4
= (int) SWIG_AsInt(obj3
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25902 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25913 wxTreeItemId
* resultptr
;
25914 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25931 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25932 PyObject
*resultobj
;
25933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25934 wxTreeItemId
*arg2
= 0 ;
25935 wxString
*arg3
= 0 ;
25936 int arg4
= (int) -1 ;
25937 int arg5
= (int) -1 ;
25938 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25939 wxTreeItemId result
;
25940 bool temp3
= False
;
25941 PyObject
* obj0
= 0 ;
25942 PyObject
* obj1
= 0 ;
25943 PyObject
* obj2
= 0 ;
25944 PyObject
* obj3
= 0 ;
25945 PyObject
* obj4
= 0 ;
25946 PyObject
* obj5
= 0 ;
25947 char *kwnames
[] = {
25948 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25957 if (arg2
== NULL
) {
25958 PyErr_SetString(PyExc_TypeError
,"null reference");
25962 arg3
= wxString_in_helper(obj2
);
25963 if (arg3
== NULL
) SWIG_fail
;
25967 arg4
= (int) SWIG_AsInt(obj3
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25971 arg5
= (int) SWIG_AsInt(obj4
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25975 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25986 wxTreeItemId
* resultptr
;
25987 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26004 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
;
26006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26007 wxTreeItemId
*arg2
= 0 ;
26008 wxTreeItemId
*arg3
= 0 ;
26009 wxString
*arg4
= 0 ;
26010 int arg5
= (int) -1 ;
26011 int arg6
= (int) -1 ;
26012 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26013 wxTreeItemId result
;
26014 bool temp4
= False
;
26015 PyObject
* obj0
= 0 ;
26016 PyObject
* obj1
= 0 ;
26017 PyObject
* obj2
= 0 ;
26018 PyObject
* obj3
= 0 ;
26019 PyObject
* obj4
= 0 ;
26020 PyObject
* obj5
= 0 ;
26021 PyObject
* obj6
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26032 if (arg2
== NULL
) {
26033 PyErr_SetString(PyExc_TypeError
,"null reference");
26036 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26039 if (arg3
== NULL
) {
26040 PyErr_SetString(PyExc_TypeError
,"null reference");
26044 arg4
= wxString_in_helper(obj3
);
26045 if (arg4
== NULL
) SWIG_fail
;
26049 arg5
= (int) SWIG_AsInt(obj4
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26053 arg6
= (int) SWIG_AsInt(obj5
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26057 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26068 wxTreeItemId
* resultptr
;
26069 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26086 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26087 PyObject
*resultobj
;
26088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26089 wxTreeItemId
*arg2
= 0 ;
26091 wxString
*arg4
= 0 ;
26092 int arg5
= (int) -1 ;
26093 int arg6
= (int) -1 ;
26094 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26095 wxTreeItemId result
;
26096 bool temp4
= False
;
26097 PyObject
* obj0
= 0 ;
26098 PyObject
* obj1
= 0 ;
26099 PyObject
* obj2
= 0 ;
26100 PyObject
* obj3
= 0 ;
26101 PyObject
* obj4
= 0 ;
26102 PyObject
* obj5
= 0 ;
26103 PyObject
* obj6
= 0 ;
26104 char *kwnames
[] = {
26105 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26114 if (arg2
== NULL
) {
26115 PyErr_SetString(PyExc_TypeError
,"null reference");
26118 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 arg4
= wxString_in_helper(obj3
);
26122 if (arg4
== NULL
) SWIG_fail
;
26126 arg5
= (int) SWIG_AsInt(obj4
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26130 arg6
= (int) SWIG_AsInt(obj5
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26134 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26145 wxTreeItemId
* resultptr
;
26146 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26163 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
;
26165 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26166 wxTreeItemId
*arg2
= 0 ;
26167 wxString
*arg3
= 0 ;
26168 int arg4
= (int) -1 ;
26169 int arg5
= (int) -1 ;
26170 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26171 wxTreeItemId result
;
26172 bool temp3
= False
;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 PyObject
* obj2
= 0 ;
26176 PyObject
* obj3
= 0 ;
26177 PyObject
* obj4
= 0 ;
26178 PyObject
* obj5
= 0 ;
26179 char *kwnames
[] = {
26180 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26189 if (arg2
== NULL
) {
26190 PyErr_SetString(PyExc_TypeError
,"null reference");
26194 arg3
= wxString_in_helper(obj2
);
26195 if (arg3
== NULL
) SWIG_fail
;
26199 arg4
= (int) SWIG_AsInt(obj3
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26203 arg5
= (int) SWIG_AsInt(obj4
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26207 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26218 wxTreeItemId
* resultptr
;
26219 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26236 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
;
26238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26239 wxTreeItemId
*arg2
= 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 char *kwnames
[] = {
26243 (char *) "self",(char *) "item", NULL
26246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26252 if (arg2
== NULL
) {
26253 PyErr_SetString(PyExc_TypeError
,"null reference");
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 Py_INCREF(Py_None
); resultobj
= Py_None
;
26270 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26273 wxTreeItemId
*arg2
= 0 ;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self",(char *) "item", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26286 if (arg2
== NULL
) {
26287 PyErr_SetString(PyExc_TypeError
,"null reference");
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 Py_INCREF(Py_None
); resultobj
= Py_None
;
26304 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26307 PyObject
* obj0
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 (arg1
)->DeleteAllItems();
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26322 Py_INCREF(Py_None
); resultobj
= Py_None
;
26329 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26330 PyObject
*resultobj
;
26331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26332 wxTreeItemId
*arg2
= 0 ;
26333 PyObject
* obj0
= 0 ;
26334 PyObject
* obj1
= 0 ;
26335 char *kwnames
[] = {
26336 (char *) "self",(char *) "item", NULL
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26345 if (arg2
== NULL
) {
26346 PyErr_SetString(PyExc_TypeError
,"null reference");
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26356 Py_INCREF(Py_None
); resultobj
= Py_None
;
26363 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
;
26365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26366 wxTreeItemId
*arg2
= 0 ;
26367 PyObject
* obj0
= 0 ;
26368 PyObject
* obj1
= 0 ;
26369 char *kwnames
[] = {
26370 (char *) "self",(char *) "item", NULL
26373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26379 if (arg2
== NULL
) {
26380 PyErr_SetString(PyExc_TypeError
,"null reference");
26384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26385 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 Py_INCREF(Py_None
); resultobj
= Py_None
;
26397 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
;
26399 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26400 wxTreeItemId
*arg2
= 0 ;
26401 PyObject
* obj0
= 0 ;
26402 PyObject
* obj1
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "self",(char *) "item", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26413 if (arg2
== NULL
) {
26414 PyErr_SetString(PyExc_TypeError
,"null reference");
26418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 Py_INCREF(Py_None
); resultobj
= Py_None
;
26431 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26434 wxTreeItemId
*arg2
= 0 ;
26435 PyObject
* obj0
= 0 ;
26436 PyObject
* obj1
= 0 ;
26437 char *kwnames
[] = {
26438 (char *) "self",(char *) "item", NULL
26441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26447 if (arg2
== NULL
) {
26448 PyErr_SetString(PyExc_TypeError
,"null reference");
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26455 wxPyEndAllowThreads(__tstate
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26458 Py_INCREF(Py_None
); resultobj
= Py_None
;
26465 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
;
26467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26468 PyObject
* obj0
= 0 ;
26469 char *kwnames
[] = {
26470 (char *) "self", NULL
26473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 (arg1
)->Unselect();
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 Py_INCREF(Py_None
); resultobj
= Py_None
;
26490 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26491 PyObject
*resultobj
;
26492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26493 wxTreeItemId
*arg2
= 0 ;
26494 PyObject
* obj0
= 0 ;
26495 PyObject
* obj1
= 0 ;
26496 char *kwnames
[] = {
26497 (char *) "self",(char *) "item", NULL
26500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26506 if (arg2
== NULL
) {
26507 PyErr_SetString(PyExc_TypeError
,"null reference");
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 Py_INCREF(Py_None
); resultobj
= Py_None
;
26524 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
;
26526 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26527 PyObject
* obj0
= 0 ;
26528 char *kwnames
[] = {
26529 (char *) "self", NULL
26532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26537 (arg1
)->UnselectAll();
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 Py_INCREF(Py_None
); resultobj
= Py_None
;
26549 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26550 PyObject
*resultobj
;
26551 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26552 wxTreeItemId
*arg2
= 0 ;
26553 bool arg3
= (bool) True
;
26554 PyObject
* obj0
= 0 ;
26555 PyObject
* obj1
= 0 ;
26556 PyObject
* obj2
= 0 ;
26557 char *kwnames
[] = {
26558 (char *) "self",(char *) "item",(char *) "select", NULL
26561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26567 if (arg2
== NULL
) {
26568 PyErr_SetString(PyExc_TypeError
,"null reference");
26572 arg3
= (bool) SWIG_AsBool(obj2
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26579 wxPyEndAllowThreads(__tstate
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26582 Py_INCREF(Py_None
); resultobj
= Py_None
;
26589 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26590 PyObject
*resultobj
;
26591 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26592 wxTreeItemId
*arg2
= 0 ;
26593 PyObject
* obj0
= 0 ;
26594 PyObject
* obj1
= 0 ;
26595 char *kwnames
[] = {
26596 (char *) "self",(char *) "item", NULL
26599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26603 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26605 if (arg2
== NULL
) {
26606 PyErr_SetString(PyExc_TypeError
,"null reference");
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 Py_INCREF(Py_None
); resultobj
= Py_None
;
26623 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
;
26625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26626 wxTreeItemId
*arg2
= 0 ;
26627 PyObject
* obj0
= 0 ;
26628 PyObject
* obj1
= 0 ;
26629 char *kwnames
[] = {
26630 (char *) "self",(char *) "item", NULL
26633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26639 if (arg2
== NULL
) {
26640 PyErr_SetString(PyExc_TypeError
,"null reference");
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 Py_INCREF(Py_None
); resultobj
= Py_None
;
26657 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
;
26659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26660 wxTreeItemId
*arg2
= 0 ;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self",(char *) "item", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26673 if (arg2
== NULL
) {
26674 PyErr_SetString(PyExc_TypeError
,"null reference");
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 Py_INCREF(Py_None
); resultobj
= Py_None
;
26691 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
;
26693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26694 wxTreeItemId
*arg2
= 0 ;
26695 PyObject
* obj0
= 0 ;
26696 PyObject
* obj1
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "self",(char *) "item", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26707 if (arg2
== NULL
) {
26708 PyErr_SetString(PyExc_TypeError
,"null reference");
26712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26713 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 Py_INCREF(Py_None
); resultobj
= Py_None
;
26725 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
;
26727 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26728 wxTextCtrl
*result
;
26729 PyObject
* obj0
= 0 ;
26730 char *kwnames
[] = {
26731 (char *) "self", NULL
26734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26741 wxPyEndAllowThreads(__tstate
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26745 resultobj
= wxPyMake_wxObject(result
);
26753 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
;
26755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26756 wxTreeItemId
*arg2
= 0 ;
26757 PyObject
* obj0
= 0 ;
26758 PyObject
* obj1
= 0 ;
26759 char *kwnames
[] = {
26760 (char *) "self",(char *) "item", NULL
26763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26769 if (arg2
== NULL
) {
26770 PyErr_SetString(PyExc_TypeError
,"null reference");
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26780 Py_INCREF(Py_None
); resultobj
= Py_None
;
26787 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
;
26789 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26790 wxPoint
*arg2
= 0 ;
26792 wxTreeItemId result
;
26795 PyObject
* obj0
= 0 ;
26796 PyObject
* obj1
= 0 ;
26797 char *kwnames
[] = {
26798 (char *) "self",(char *) "point", NULL
26802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26817 wxTreeItemId
* resultptr
;
26818 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26822 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26823 resultobj
= t_output_helper(resultobj
,o
);
26831 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26832 PyObject
*resultobj
;
26833 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26834 wxTreeItemId
*arg2
= 0 ;
26835 bool arg3
= (bool) False
;
26837 PyObject
* obj0
= 0 ;
26838 PyObject
* obj1
= 0 ;
26839 PyObject
* obj2
= 0 ;
26840 char *kwnames
[] = {
26841 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26850 if (arg2
== NULL
) {
26851 PyErr_SetString(PyExc_TypeError
,"null reference");
26855 arg3
= (bool) SWIG_AsBool(obj2
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26860 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26862 wxPyEndAllowThreads(__tstate
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26865 resultobj
= result
;
26872 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26873 PyObject
*resultobj
;
26874 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26875 wxVisualAttributes result
;
26876 PyObject
* obj0
= 0 ;
26877 char *kwnames
[] = {
26878 (char *) "variant", NULL
26881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26883 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26894 wxVisualAttributes
* resultptr
;
26895 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26904 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26907 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26909 return Py_BuildValue((char *)"");
26911 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26912 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26917 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26922 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26924 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26931 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26932 PyObject
*resultobj
;
26933 wxWindow
*arg1
= (wxWindow
*) 0 ;
26934 int arg2
= (int) (int)-1 ;
26935 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26936 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26937 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26938 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26939 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26940 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26941 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26942 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26943 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26944 int arg8
= (int) 0 ;
26945 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26946 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26947 wxGenericDirCtrl
*result
;
26948 bool temp3
= False
;
26951 bool temp7
= False
;
26952 bool temp9
= False
;
26953 PyObject
* obj0
= 0 ;
26954 PyObject
* obj1
= 0 ;
26955 PyObject
* obj2
= 0 ;
26956 PyObject
* obj3
= 0 ;
26957 PyObject
* obj4
= 0 ;
26958 PyObject
* obj5
= 0 ;
26959 PyObject
* obj6
= 0 ;
26960 PyObject
* obj7
= 0 ;
26961 PyObject
* obj8
= 0 ;
26962 char *kwnames
[] = {
26963 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26970 arg2
= (int const) SWIG_AsInt(obj1
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26975 arg3
= wxString_in_helper(obj2
);
26976 if (arg3
== NULL
) SWIG_fail
;
26983 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26989 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26993 arg6
= (long) SWIG_AsLong(obj5
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26998 arg7
= wxString_in_helper(obj6
);
26999 if (arg7
== NULL
) SWIG_fail
;
27004 arg8
= (int) SWIG_AsInt(obj7
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27009 arg9
= wxString_in_helper(obj8
);
27010 if (arg9
== NULL
) SWIG_fail
;
27015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27016 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27018 wxPyEndAllowThreads(__tstate
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27052 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
;
27054 wxGenericDirCtrl
*result
;
27055 char *kwnames
[] = {
27059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27074 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27077 wxWindow
*arg2
= (wxWindow
*) 0 ;
27078 int arg3
= (int) (int)-1 ;
27079 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27080 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27081 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27082 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27083 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27084 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27085 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27086 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27087 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27088 int arg9
= (int) 0 ;
27089 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27090 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27092 bool temp4
= False
;
27095 bool temp8
= False
;
27096 bool temp10
= False
;
27097 PyObject
* obj0
= 0 ;
27098 PyObject
* obj1
= 0 ;
27099 PyObject
* obj2
= 0 ;
27100 PyObject
* obj3
= 0 ;
27101 PyObject
* obj4
= 0 ;
27102 PyObject
* obj5
= 0 ;
27103 PyObject
* obj6
= 0 ;
27104 PyObject
* obj7
= 0 ;
27105 PyObject
* obj8
= 0 ;
27106 PyObject
* obj9
= 0 ;
27107 char *kwnames
[] = {
27108 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27117 arg3
= (int const) SWIG_AsInt(obj2
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27122 arg4
= wxString_in_helper(obj3
);
27123 if (arg4
== NULL
) SWIG_fail
;
27130 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27136 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27140 arg7
= (long) SWIG_AsLong(obj6
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27145 arg8
= wxString_in_helper(obj7
);
27146 if (arg8
== NULL
) SWIG_fail
;
27151 arg9
= (int) SWIG_AsInt(obj8
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27156 arg10
= wxString_in_helper(obj9
);
27157 if (arg10
== NULL
) SWIG_fail
;
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27165 wxPyEndAllowThreads(__tstate
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27201 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27202 PyObject
*resultobj
;
27203 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27204 wxString
*arg2
= 0 ;
27206 bool temp2
= False
;
27207 PyObject
* obj0
= 0 ;
27208 PyObject
* obj1
= 0 ;
27209 char *kwnames
[] = {
27210 (char *) "self",(char *) "path", NULL
27213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27217 arg2
= wxString_in_helper(obj1
);
27218 if (arg2
== NULL
) SWIG_fail
;
27222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27223 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27225 wxPyEndAllowThreads(__tstate
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27245 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27249 PyObject
* obj0
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self", NULL
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27259 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27277 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27280 wxString
*arg2
= 0 ;
27281 bool temp2
= False
;
27282 PyObject
* obj0
= 0 ;
27283 PyObject
* obj1
= 0 ;
27284 char *kwnames
[] = {
27285 (char *) "self",(char *) "path", NULL
27288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27292 arg2
= wxString_in_helper(obj1
);
27293 if (arg2
== NULL
) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 Py_INCREF(Py_None
); resultobj
= Py_None
;
27318 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
;
27320 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27322 PyObject
* obj0
= 0 ;
27323 char *kwnames
[] = {
27324 (char *) "self", NULL
27327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27350 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27351 PyObject
*resultobj
;
27352 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27354 PyObject
* obj0
= 0 ;
27355 char *kwnames
[] = {
27356 (char *) "self", NULL
27359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27364 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27382 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
;
27384 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27385 wxString
*arg2
= 0 ;
27386 bool temp2
= False
;
27387 PyObject
* obj0
= 0 ;
27388 PyObject
* obj1
= 0 ;
27389 char *kwnames
[] = {
27390 (char *) "self",(char *) "path", NULL
27393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27397 arg2
= wxString_in_helper(obj1
);
27398 if (arg2
== NULL
) SWIG_fail
;
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 (arg1
)->SetPath((wxString
const &)*arg2
);
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 Py_INCREF(Py_None
); resultobj
= Py_None
;
27423 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27427 PyObject
* obj0
= 0 ;
27428 PyObject
* obj1
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self",(char *) "show", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27436 arg2
= (bool) SWIG_AsBool(obj1
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 (arg1
)->ShowHidden(arg2
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 Py_INCREF(Py_None
); resultobj
= Py_None
;
27452 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
;
27454 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27456 PyObject
* obj0
= 0 ;
27457 char *kwnames
[] = {
27458 (char *) "self", NULL
27461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 result
= (bool)(arg1
)->GetShowHidden();
27468 wxPyEndAllowThreads(__tstate
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27480 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
;
27482 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27484 PyObject
* obj0
= 0 ;
27485 char *kwnames
[] = {
27486 (char *) "self", NULL
27489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27494 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27496 wxPyEndAllowThreads(__tstate
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27512 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27515 wxString
*arg2
= 0 ;
27516 bool temp2
= False
;
27517 PyObject
* obj0
= 0 ;
27518 PyObject
* obj1
= 0 ;
27519 char *kwnames
[] = {
27520 (char *) "self",(char *) "filter", NULL
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27527 arg2
= wxString_in_helper(obj1
);
27528 if (arg2
== NULL
) SWIG_fail
;
27532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27533 (arg1
)->SetFilter((wxString
const &)*arg2
);
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27538 Py_INCREF(Py_None
); resultobj
= Py_None
;
27553 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
;
27555 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27557 PyObject
* obj0
= 0 ;
27558 char *kwnames
[] = {
27559 (char *) "self", NULL
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27572 resultobj
= SWIG_FromInt((int)result
);
27579 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
;
27581 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27583 PyObject
* obj0
= 0 ;
27584 PyObject
* obj1
= 0 ;
27585 char *kwnames
[] = {
27586 (char *) "self",(char *) "n", NULL
27589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27592 arg2
= (int) SWIG_AsInt(obj1
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 (arg1
)->SetFilterIndex(arg2
);
27598 wxPyEndAllowThreads(__tstate
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27601 Py_INCREF(Py_None
); resultobj
= Py_None
;
27608 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27609 PyObject
*resultobj
;
27610 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27611 wxTreeItemId result
;
27612 PyObject
* obj0
= 0 ;
27613 char *kwnames
[] = {
27614 (char *) "self", NULL
27617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27622 result
= (arg1
)->GetRootId();
27624 wxPyEndAllowThreads(__tstate
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27628 wxTreeItemId
* resultptr
;
27629 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27638 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
;
27640 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27641 wxPyTreeCtrl
*result
;
27642 PyObject
* obj0
= 0 ;
27643 char *kwnames
[] = {
27644 (char *) "self", NULL
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27658 resultobj
= wxPyMake_wxObject(result
);
27666 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
;
27668 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27669 wxDirFilterListCtrl
*result
;
27670 PyObject
* obj0
= 0 ;
27671 char *kwnames
[] = {
27672 (char *) "self", NULL
27675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27680 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27692 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27693 PyObject
*resultobj
;
27694 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27695 wxTreeItemId arg2
;
27696 wxString
*arg3
= 0 ;
27698 wxTreeItemId result
;
27699 wxTreeItemId
*argp2
;
27700 bool temp3
= False
;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 PyObject
* obj2
= 0 ;
27705 char *kwnames
[] = {
27706 (char *) "self",(char *) "parentId",(char *) "path", NULL
27710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27713 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27714 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27717 arg3
= wxString_in_helper(obj2
);
27718 if (arg3
== NULL
) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27729 wxTreeItemId
* resultptr
;
27730 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27734 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27735 resultobj
= t_output_helper(resultobj
,o
);
27751 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27752 PyObject
*resultobj
;
27753 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27754 PyObject
* obj0
= 0 ;
27755 char *kwnames
[] = {
27756 (char *) "self", NULL
27759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27764 (arg1
)->DoResize();
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27769 Py_INCREF(Py_None
); resultobj
= Py_None
;
27776 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27777 PyObject
*resultobj
;
27778 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27779 PyObject
* obj0
= 0 ;
27780 char *kwnames
[] = {
27781 (char *) "self", NULL
27784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 (arg1
)->ReCreateTree();
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 Py_INCREF(Py_None
); resultobj
= Py_None
;
27801 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27804 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27806 return Py_BuildValue((char *)"");
27808 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27809 PyObject
*resultobj
;
27810 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27811 int arg2
= (int) (int)-1 ;
27812 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27813 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27814 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27815 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27816 long arg5
= (long) 0 ;
27817 wxDirFilterListCtrl
*result
;
27820 PyObject
* obj0
= 0 ;
27821 PyObject
* obj1
= 0 ;
27822 PyObject
* obj2
= 0 ;
27823 PyObject
* obj3
= 0 ;
27824 PyObject
* obj4
= 0 ;
27825 char *kwnames
[] = {
27826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27833 arg2
= (int const) SWIG_AsInt(obj1
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27839 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27845 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27849 arg5
= (long) SWIG_AsLong(obj4
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27856 wxPyEndAllowThreads(__tstate
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27866 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
;
27868 wxDirFilterListCtrl
*result
;
27869 char *kwnames
[] = {
27873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27888 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
;
27890 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27891 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27892 int arg3
= (int) (int)-1 ;
27893 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27894 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27895 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27896 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27897 long arg6
= (long) 0 ;
27901 PyObject
* obj0
= 0 ;
27902 PyObject
* obj1
= 0 ;
27903 PyObject
* obj2
= 0 ;
27904 PyObject
* obj3
= 0 ;
27905 PyObject
* obj4
= 0 ;
27906 PyObject
* obj5
= 0 ;
27907 char *kwnames
[] = {
27908 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27917 arg3
= (int const) SWIG_AsInt(obj2
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27923 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27929 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27933 arg6
= (long) SWIG_AsLong(obj5
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27940 wxPyEndAllowThreads(__tstate
);
27941 if (PyErr_Occurred()) SWIG_fail
;
27944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27952 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27953 PyObject
*resultobj
;
27954 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27955 wxString
*arg2
= 0 ;
27957 bool temp2
= False
;
27958 PyObject
* obj0
= 0 ;
27959 PyObject
* obj1
= 0 ;
27960 PyObject
* obj2
= 0 ;
27961 char *kwnames
[] = {
27962 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27969 arg2
= wxString_in_helper(obj1
);
27970 if (arg2
== NULL
) SWIG_fail
;
27973 arg3
= (int) SWIG_AsInt(obj2
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27977 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27979 wxPyEndAllowThreads(__tstate
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27982 Py_INCREF(Py_None
); resultobj
= Py_None
;
27997 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28000 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28002 return Py_BuildValue((char *)"");
28004 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28005 PyObject
*resultobj
;
28006 wxWindow
*arg1
= (wxWindow
*) 0 ;
28008 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28009 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28010 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28011 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28012 long arg5
= (long) 0 ;
28013 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28014 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28015 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28016 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28017 wxPyControl
*result
;
28020 bool temp7
= False
;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28023 PyObject
* obj2
= 0 ;
28024 PyObject
* obj3
= 0 ;
28025 PyObject
* obj4
= 0 ;
28026 PyObject
* obj5
= 0 ;
28027 PyObject
* obj6
= 0 ;
28028 char *kwnames
[] = {
28029 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28035 arg2
= (int const) SWIG_AsInt(obj1
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28040 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28046 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28050 arg5
= (long) SWIG_AsLong(obj4
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28054 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28057 if (arg6
== NULL
) {
28058 PyErr_SetString(PyExc_TypeError
,"null reference");
28064 arg7
= wxString_in_helper(obj6
);
28065 if (arg7
== NULL
) SWIG_fail
;
28070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28091 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxPyControl
*result
;
28094 char *kwnames
[] = {
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28101 result
= (wxPyControl
*)new wxPyControl();
28103 wxPyEndAllowThreads(__tstate
);
28104 if (PyErr_Occurred()) SWIG_fail
;
28106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28113 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28114 PyObject
*resultobj
;
28115 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28116 PyObject
*arg2
= (PyObject
*) 0 ;
28117 PyObject
*arg3
= (PyObject
*) 0 ;
28118 PyObject
* obj0
= 0 ;
28119 PyObject
* obj1
= 0 ;
28120 PyObject
* obj2
= 0 ;
28121 char *kwnames
[] = {
28122 (char *) "self",(char *) "self",(char *) "_class", NULL
28125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28132 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28137 Py_INCREF(Py_None
); resultobj
= Py_None
;
28144 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
;
28146 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28151 PyObject
* obj0
= 0 ;
28152 PyObject
* obj1
= 0 ;
28153 PyObject
* obj2
= 0 ;
28154 PyObject
* obj3
= 0 ;
28155 PyObject
* obj4
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28163 arg2
= (int) SWIG_AsInt(obj1
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28165 arg3
= (int) SWIG_AsInt(obj2
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28167 arg4
= (int) SWIG_AsInt(obj3
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28169 arg5
= (int) SWIG_AsInt(obj4
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28175 wxPyEndAllowThreads(__tstate
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28178 Py_INCREF(Py_None
); resultobj
= Py_None
;
28185 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28186 PyObject
*resultobj
;
28187 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28192 int arg6
= (int) wxSIZE_AUTO
;
28193 PyObject
* obj0
= 0 ;
28194 PyObject
* obj1
= 0 ;
28195 PyObject
* obj2
= 0 ;
28196 PyObject
* obj3
= 0 ;
28197 PyObject
* obj4
= 0 ;
28198 PyObject
* obj5
= 0 ;
28199 char *kwnames
[] = {
28200 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28206 arg2
= (int) SWIG_AsInt(obj1
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28208 arg3
= (int) SWIG_AsInt(obj2
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28210 arg4
= (int) SWIG_AsInt(obj3
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28212 arg5
= (int) SWIG_AsInt(obj4
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 arg6
= (int) SWIG_AsInt(obj5
);
28216 if (PyErr_Occurred()) SWIG_fail
;
28219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28220 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28222 wxPyEndAllowThreads(__tstate
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28225 Py_INCREF(Py_None
); resultobj
= Py_None
;
28232 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28233 PyObject
*resultobj
;
28234 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28237 PyObject
* obj0
= 0 ;
28238 PyObject
* obj1
= 0 ;
28239 PyObject
* obj2
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self",(char *) "width",(char *) "height", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28247 arg2
= (int) SWIG_AsInt(obj1
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28249 arg3
= (int) SWIG_AsInt(obj2
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28253 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 Py_INCREF(Py_None
); resultobj
= Py_None
;
28265 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
;
28267 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28270 PyObject
* obj0
= 0 ;
28271 PyObject
* obj1
= 0 ;
28272 PyObject
* obj2
= 0 ;
28273 char *kwnames
[] = {
28274 (char *) "self",(char *) "x",(char *) "y", NULL
28277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28280 arg2
= (int) SWIG_AsInt(obj1
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28282 arg3
= (int) SWIG_AsInt(obj2
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28291 Py_INCREF(Py_None
); resultobj
= Py_None
;
28298 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
;
28300 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28301 int *arg2
= (int *) 0 ;
28302 int *arg3
= (int *) 0 ;
28305 PyObject
* obj0
= 0 ;
28306 char *kwnames
[] = {
28307 (char *) "self", NULL
28312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28319 wxPyEndAllowThreads(__tstate
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28322 Py_INCREF(Py_None
); resultobj
= Py_None
;
28324 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28325 resultobj
= t_output_helper(resultobj
,o
);
28328 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28329 resultobj
= t_output_helper(resultobj
,o
);
28337 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28338 PyObject
*resultobj
;
28339 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28340 int *arg2
= (int *) 0 ;
28341 int *arg3
= (int *) 0 ;
28344 PyObject
* obj0
= 0 ;
28345 char *kwnames
[] = {
28346 (char *) "self", NULL
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28361 Py_INCREF(Py_None
); resultobj
= Py_None
;
28363 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28364 resultobj
= t_output_helper(resultobj
,o
);
28367 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28368 resultobj
= t_output_helper(resultobj
,o
);
28376 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
;
28378 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28379 int *arg2
= (int *) 0 ;
28380 int *arg3
= (int *) 0 ;
28383 PyObject
* obj0
= 0 ;
28384 char *kwnames
[] = {
28385 (char *) "self", NULL
28390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 Py_INCREF(Py_None
); resultobj
= Py_None
;
28402 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28403 resultobj
= t_output_helper(resultobj
,o
);
28406 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28407 resultobj
= t_output_helper(resultobj
,o
);
28415 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
;
28417 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28419 PyObject
* obj0
= 0 ;
28420 char *kwnames
[] = {
28421 (char *) "self", NULL
28424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28429 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28435 wxSize
* resultptr
;
28436 resultptr
= new wxSize((wxSize
&) result
);
28437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28445 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28446 PyObject
*resultobj
;
28447 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28449 PyObject
* obj0
= 0 ;
28450 char *kwnames
[] = {
28451 (char *) "self", NULL
28454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28459 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28461 wxPyEndAllowThreads(__tstate
);
28462 if (PyErr_Occurred()) SWIG_fail
;
28465 wxSize
* resultptr
;
28466 resultptr
= new wxSize((wxSize
&) result
);
28467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28475 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
;
28477 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28478 PyObject
* obj0
= 0 ;
28479 char *kwnames
[] = {
28480 (char *) "self", NULL
28483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 (arg1
)->base_InitDialog();
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 Py_INCREF(Py_None
); resultobj
= Py_None
;
28500 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28501 PyObject
*resultobj
;
28502 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28504 PyObject
* obj0
= 0 ;
28505 char *kwnames
[] = {
28506 (char *) "self", NULL
28509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28514 result
= (bool)(arg1
)->base_TransferDataToWindow();
28516 wxPyEndAllowThreads(__tstate
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28528 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28529 PyObject
*resultobj
;
28530 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28532 PyObject
* obj0
= 0 ;
28533 char *kwnames
[] = {
28534 (char *) "self", NULL
28537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28556 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28557 PyObject
*resultobj
;
28558 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28560 PyObject
* obj0
= 0 ;
28561 char *kwnames
[] = {
28562 (char *) "self", NULL
28565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28570 result
= (bool)(arg1
)->base_Validate();
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28584 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28585 PyObject
*resultobj
;
28586 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28588 PyObject
* obj0
= 0 ;
28589 char *kwnames
[] = {
28590 (char *) "self", NULL
28593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28600 wxPyEndAllowThreads(__tstate
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28612 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28613 PyObject
*resultobj
;
28614 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28616 PyObject
* obj0
= 0 ;
28617 char *kwnames
[] = {
28618 (char *) "self", NULL
28621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28640 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28641 PyObject
*resultobj
;
28642 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28644 PyObject
* obj0
= 0 ;
28645 char *kwnames
[] = {
28646 (char *) "self", NULL
28649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28660 wxSize
* resultptr
;
28661 resultptr
= new wxSize((wxSize
&) result
);
28662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28670 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
;
28672 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28673 wxWindow
*arg2
= (wxWindow
*) 0 ;
28674 PyObject
* obj0
= 0 ;
28675 PyObject
* obj1
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self",(char *) "child", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28687 (arg1
)->base_AddChild(arg2
);
28689 wxPyEndAllowThreads(__tstate
);
28690 if (PyErr_Occurred()) SWIG_fail
;
28692 Py_INCREF(Py_None
); resultobj
= Py_None
;
28699 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28701 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28702 wxWindow
*arg2
= (wxWindow
*) 0 ;
28703 PyObject
* obj0
= 0 ;
28704 PyObject
* obj1
= 0 ;
28705 char *kwnames
[] = {
28706 (char *) "self",(char *) "child", NULL
28709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 (arg1
)->base_RemoveChild(arg2
);
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28721 Py_INCREF(Py_None
); resultobj
= Py_None
;
28728 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28729 PyObject
*resultobj
;
28730 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28732 PyObject
* obj0
= 0 ;
28733 char *kwnames
[] = {
28734 (char *) "self", NULL
28737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28742 result
= (bool)(arg1
)->base_ShouldInheritColours();
28744 wxPyEndAllowThreads(__tstate
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28756 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28757 PyObject
*resultobj
;
28758 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28759 wxColour
*arg2
= 0 ;
28761 PyObject
* obj0
= 0 ;
28762 PyObject
* obj1
= 0 ;
28763 char *kwnames
[] = {
28764 (char *) "self",(char *) "c", NULL
28767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28772 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28778 wxPyEndAllowThreads(__tstate
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28781 Py_INCREF(Py_None
); resultobj
= Py_None
;
28788 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28791 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28793 return Py_BuildValue((char *)"");
28795 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28796 PyObject
*resultobj
;
28797 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28798 int arg2
= (int) 0 ;
28799 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28800 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28801 wxHelpEvent
*result
;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 PyObject
* obj2
= 0 ;
28806 char *kwnames
[] = {
28807 (char *) "type",(char *) "winid",(char *) "pt", NULL
28810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28812 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28813 if (PyErr_Occurred()) SWIG_fail
;
28816 arg2
= (int) SWIG_AsInt(obj1
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28822 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28827 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28829 wxPyEndAllowThreads(__tstate
);
28830 if (PyErr_Occurred()) SWIG_fail
;
28832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28839 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28840 PyObject
*resultobj
;
28841 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28843 PyObject
* obj0
= 0 ;
28844 char *kwnames
[] = {
28845 (char *) "self", NULL
28848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28853 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28855 wxPyEndAllowThreads(__tstate
);
28856 if (PyErr_Occurred()) SWIG_fail
;
28859 wxPoint
* resultptr
;
28860 resultptr
= new wxPoint((wxPoint
&) result
);
28861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28869 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28872 wxPoint
*arg2
= 0 ;
28874 PyObject
* obj0
= 0 ;
28875 PyObject
* obj1
= 0 ;
28876 char *kwnames
[] = {
28877 (char *) "self",(char *) "pos", NULL
28880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28885 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28889 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 Py_INCREF(Py_None
); resultobj
= Py_None
;
28901 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28902 PyObject
*resultobj
;
28903 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28905 PyObject
* obj0
= 0 ;
28906 char *kwnames
[] = {
28907 (char *) "self", NULL
28910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28916 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28917 result
= (wxString
*) &_result_ref
;
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28925 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28927 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28936 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
;
28938 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28939 wxString
*arg2
= 0 ;
28940 bool temp2
= False
;
28941 PyObject
* obj0
= 0 ;
28942 PyObject
* obj1
= 0 ;
28943 char *kwnames
[] = {
28944 (char *) "self",(char *) "link", NULL
28947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28951 arg2
= wxString_in_helper(obj1
);
28952 if (arg2
== NULL
) SWIG_fail
;
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 (arg1
)->SetLink((wxString
const &)*arg2
);
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 Py_INCREF(Py_None
); resultobj
= Py_None
;
28977 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
;
28979 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28981 PyObject
* obj0
= 0 ;
28982 char *kwnames
[] = {
28983 (char *) "self", NULL
28986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28993 result
= (wxString
*) &_result_ref
;
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
29001 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29003 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29012 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29013 PyObject
*resultobj
;
29014 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29015 wxString
*arg2
= 0 ;
29016 bool temp2
= False
;
29017 PyObject
* obj0
= 0 ;
29018 PyObject
* obj1
= 0 ;
29019 char *kwnames
[] = {
29020 (char *) "self",(char *) "target", NULL
29023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29027 arg2
= wxString_in_helper(obj1
);
29028 if (arg2
== NULL
) SWIG_fail
;
29032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29033 (arg1
)->SetTarget((wxString
const &)*arg2
);
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29038 Py_INCREF(Py_None
); resultobj
= Py_None
;
29053 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29056 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29058 return Py_BuildValue((char *)"");
29060 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29061 PyObject
*resultobj
;
29062 wxWindow
*arg1
= (wxWindow
*) NULL
;
29063 bool arg2
= (bool) True
;
29064 wxContextHelp
*result
;
29065 PyObject
* obj0
= 0 ;
29066 PyObject
* obj1
= 0 ;
29067 char *kwnames
[] = {
29068 (char *) "window",(char *) "doNow", NULL
29071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29077 arg2
= (bool) SWIG_AsBool(obj1
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29082 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29084 wxPyEndAllowThreads(__tstate
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29094 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29095 PyObject
*resultobj
;
29096 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29097 PyObject
* obj0
= 0 ;
29098 char *kwnames
[] = {
29099 (char *) "self", NULL
29102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 wxPyEndAllowThreads(__tstate
);
29110 if (PyErr_Occurred()) SWIG_fail
;
29112 Py_INCREF(Py_None
); resultobj
= Py_None
;
29119 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29120 PyObject
*resultobj
;
29121 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29122 wxWindow
*arg2
= (wxWindow
*) NULL
;
29124 PyObject
* obj0
= 0 ;
29125 PyObject
* obj1
= 0 ;
29126 char *kwnames
[] = {
29127 (char *) "self",(char *) "window", NULL
29130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29139 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29141 wxPyEndAllowThreads(__tstate
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29153 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29154 PyObject
*resultobj
;
29155 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29157 PyObject
* obj0
= 0 ;
29158 char *kwnames
[] = {
29159 (char *) "self", NULL
29162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29167 result
= (bool)(arg1
)->EndContextHelp();
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29181 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29184 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29186 return Py_BuildValue((char *)"");
29188 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29189 PyObject
*resultobj
;
29190 wxWindow
*arg1
= (wxWindow
*) 0 ;
29191 int arg2
= (int) wxID_CONTEXT_HELP
;
29192 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29193 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29194 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29195 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29196 long arg5
= (long) wxBU_AUTODRAW
;
29197 wxContextHelpButton
*result
;
29200 PyObject
* obj0
= 0 ;
29201 PyObject
* obj1
= 0 ;
29202 PyObject
* obj2
= 0 ;
29203 PyObject
* obj3
= 0 ;
29204 PyObject
* obj4
= 0 ;
29205 char *kwnames
[] = {
29206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29213 arg2
= (int) SWIG_AsInt(obj1
);
29214 if (PyErr_Occurred()) SWIG_fail
;
29219 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29225 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29229 arg5
= (long) SWIG_AsLong(obj4
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29234 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29236 wxPyEndAllowThreads(__tstate
);
29237 if (PyErr_Occurred()) SWIG_fail
;
29239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29246 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29249 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29251 return Py_BuildValue((char *)"");
29253 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29254 PyObject
*resultobj
;
29255 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29256 wxHelpProvider
*result
;
29257 PyObject
* obj0
= 0 ;
29258 char *kwnames
[] = {
29259 (char *) "helpProvider", NULL
29262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29279 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29280 PyObject
*resultobj
;
29281 wxHelpProvider
*result
;
29282 char *kwnames
[] = {
29286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29289 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29291 wxPyEndAllowThreads(__tstate
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29301 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29302 PyObject
*resultobj
;
29303 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29304 wxWindow
*arg2
= (wxWindow
*) 0 ;
29306 PyObject
* obj0
= 0 ;
29307 PyObject
* obj1
= 0 ;
29308 char *kwnames
[] = {
29309 (char *) "self",(char *) "window", NULL
29312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29319 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29321 wxPyEndAllowThreads(__tstate
);
29322 if (PyErr_Occurred()) SWIG_fail
;
29326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29337 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29338 PyObject
*resultobj
;
29339 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29340 wxWindow
*arg2
= (wxWindow
*) 0 ;
29342 PyObject
* obj0
= 0 ;
29343 PyObject
* obj1
= 0 ;
29344 char *kwnames
[] = {
29345 (char *) "self",(char *) "window", NULL
29348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 result
= (bool)(arg1
)->ShowHelp(arg2
);
29357 wxPyEndAllowThreads(__tstate
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29369 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
;
29371 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29372 wxWindow
*arg2
= (wxWindow
*) 0 ;
29373 wxString
*arg3
= 0 ;
29374 bool temp3
= False
;
29375 PyObject
* obj0
= 0 ;
29376 PyObject
* obj1
= 0 ;
29377 PyObject
* obj2
= 0 ;
29378 char *kwnames
[] = {
29379 (char *) "self",(char *) "window",(char *) "text", NULL
29382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29388 arg3
= wxString_in_helper(obj2
);
29389 if (arg3
== NULL
) SWIG_fail
;
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29394 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29399 Py_INCREF(Py_None
); resultobj
= Py_None
;
29414 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
;
29416 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29418 wxString
*arg3
= 0 ;
29419 bool temp3
= False
;
29420 PyObject
* obj0
= 0 ;
29421 PyObject
* obj1
= 0 ;
29422 PyObject
* obj2
= 0 ;
29423 char *kwnames
[] = {
29424 (char *) "self",(char *) "id",(char *) "text", NULL
29427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29430 arg2
= (int) SWIG_AsInt(obj1
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29433 arg3
= wxString_in_helper(obj2
);
29434 if (arg3
== NULL
) SWIG_fail
;
29438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29439 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29441 wxPyEndAllowThreads(__tstate
);
29442 if (PyErr_Occurred()) SWIG_fail
;
29444 Py_INCREF(Py_None
); resultobj
= Py_None
;
29459 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
;
29461 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29462 wxWindow
*arg2
= (wxWindow
*) 0 ;
29463 PyObject
* obj0
= 0 ;
29464 PyObject
* obj1
= 0 ;
29465 char *kwnames
[] = {
29466 (char *) "self",(char *) "window", NULL
29469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29476 (arg1
)->RemoveHelp(arg2
);
29478 wxPyEndAllowThreads(__tstate
);
29479 if (PyErr_Occurred()) SWIG_fail
;
29481 Py_INCREF(Py_None
); resultobj
= Py_None
;
29488 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29489 PyObject
*resultobj
;
29490 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29491 PyObject
* obj0
= 0 ;
29492 char *kwnames
[] = {
29493 (char *) "self", NULL
29496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 wxHelpProvider_Destroy(arg1
);
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29506 Py_INCREF(Py_None
); resultobj
= Py_None
;
29513 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29516 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29518 return Py_BuildValue((char *)"");
29520 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29521 PyObject
*resultobj
;
29522 wxSimpleHelpProvider
*result
;
29523 char *kwnames
[] = {
29527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29532 wxPyEndAllowThreads(__tstate
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29542 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29545 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29547 return Py_BuildValue((char *)"");
29549 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29550 PyObject
*resultobj
;
29551 wxBitmap
*arg1
= 0 ;
29552 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29553 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29554 wxGenericDragImage
*result
;
29555 PyObject
* obj0
= 0 ;
29556 PyObject
* obj1
= 0 ;
29557 char *kwnames
[] = {
29558 (char *) "image",(char *) "cursor", NULL
29561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29565 if (arg1
== NULL
) {
29566 PyErr_SetString(PyExc_TypeError
,"null reference");
29570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29573 if (arg2
== NULL
) {
29574 PyErr_SetString(PyExc_TypeError
,"null reference");
29579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29580 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29582 wxPyEndAllowThreads(__tstate
);
29583 if (PyErr_Occurred()) SWIG_fail
;
29585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29592 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29593 PyObject
*resultobj
;
29595 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29596 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29597 wxGenericDragImage
*result
;
29598 PyObject
* obj0
= 0 ;
29599 PyObject
* obj1
= 0 ;
29600 char *kwnames
[] = {
29601 (char *) "image",(char *) "cursor", NULL
29604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29608 if (arg1
== NULL
) {
29609 PyErr_SetString(PyExc_TypeError
,"null reference");
29613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29616 if (arg2
== NULL
) {
29617 PyErr_SetString(PyExc_TypeError
,"null reference");
29622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29623 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29635 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
;
29637 wxString
*arg1
= 0 ;
29638 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29639 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29640 wxGenericDragImage
*result
;
29641 bool temp1
= False
;
29642 PyObject
* obj0
= 0 ;
29643 PyObject
* obj1
= 0 ;
29644 char *kwnames
[] = {
29645 (char *) "str",(char *) "cursor", NULL
29648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29650 arg1
= wxString_in_helper(obj0
);
29651 if (arg1
== NULL
) SWIG_fail
;
29655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29658 if (arg2
== NULL
) {
29659 PyErr_SetString(PyExc_TypeError
,"null reference");
29664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29665 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29667 wxPyEndAllowThreads(__tstate
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29685 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29686 PyObject
*resultobj
;
29687 wxPyTreeCtrl
*arg1
= 0 ;
29688 wxTreeItemId
*arg2
= 0 ;
29689 wxGenericDragImage
*result
;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 char *kwnames
[] = {
29693 (char *) "treeCtrl",(char *) "id", NULL
29696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29700 if (arg1
== NULL
) {
29701 PyErr_SetString(PyExc_TypeError
,"null reference");
29704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29707 if (arg2
== NULL
) {
29708 PyErr_SetString(PyExc_TypeError
,"null reference");
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29725 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
;
29727 wxPyListCtrl
*arg1
= 0 ;
29729 wxGenericDragImage
*result
;
29730 PyObject
* obj0
= 0 ;
29731 PyObject
* obj1
= 0 ;
29732 char *kwnames
[] = {
29733 (char *) "listCtrl",(char *) "id", NULL
29736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29740 if (arg1
== NULL
) {
29741 PyErr_SetString(PyExc_TypeError
,"null reference");
29744 arg2
= (long) SWIG_AsLong(obj1
);
29745 if (PyErr_Occurred()) SWIG_fail
;
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29760 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29761 PyObject
*resultobj
;
29762 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29763 PyObject
* obj0
= 0 ;
29764 char *kwnames
[] = {
29765 (char *) "self", NULL
29768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29778 Py_INCREF(Py_None
); resultobj
= Py_None
;
29785 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29786 PyObject
*resultobj
;
29787 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29788 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29789 PyObject
* obj0
= 0 ;
29790 PyObject
* obj1
= 0 ;
29791 char *kwnames
[] = {
29792 (char *) "self",(char *) "bitmap", NULL
29795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29802 (arg1
)->SetBackingBitmap(arg2
);
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 Py_INCREF(Py_None
); resultobj
= Py_None
;
29814 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
;
29816 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29817 wxPoint
*arg2
= 0 ;
29818 wxWindow
*arg3
= (wxWindow
*) 0 ;
29819 bool arg4
= (bool) False
;
29820 wxRect
*arg5
= (wxRect
*) NULL
;
29823 PyObject
* obj0
= 0 ;
29824 PyObject
* obj1
= 0 ;
29825 PyObject
* obj2
= 0 ;
29826 PyObject
* obj3
= 0 ;
29827 PyObject
* obj4
= 0 ;
29828 char *kwnames
[] = {
29829 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29839 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29842 arg4
= (bool) SWIG_AsBool(obj3
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29846 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29853 wxPyEndAllowThreads(__tstate
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29865 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29866 PyObject
*resultobj
;
29867 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29868 wxPoint
*arg2
= 0 ;
29869 wxWindow
*arg3
= (wxWindow
*) 0 ;
29870 wxWindow
*arg4
= (wxWindow
*) 0 ;
29873 PyObject
* obj0
= 0 ;
29874 PyObject
* obj1
= 0 ;
29875 PyObject
* obj2
= 0 ;
29876 PyObject
* obj3
= 0 ;
29877 char *kwnames
[] = {
29878 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29888 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29890 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29908 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
;
29910 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29912 PyObject
* obj0
= 0 ;
29913 char *kwnames
[] = {
29914 (char *) "self", NULL
29917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29922 result
= (bool)(arg1
)->EndDrag();
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29936 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
;
29938 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29939 wxPoint
*arg2
= 0 ;
29942 PyObject
* obj0
= 0 ;
29943 PyObject
* obj1
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "self",(char *) "pt", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29957 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29959 wxPyEndAllowThreads(__tstate
);
29960 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29971 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
;
29973 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29975 PyObject
* obj0
= 0 ;
29976 char *kwnames
[] = {
29977 (char *) "self", NULL
29980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29985 result
= (bool)(arg1
)->Show();
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29999 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30000 PyObject
*resultobj
;
30001 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30003 PyObject
* obj0
= 0 ;
30004 char *kwnames
[] = {
30005 (char *) "self", NULL
30008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30013 result
= (bool)(arg1
)->Hide();
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30027 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30028 PyObject
*resultobj
;
30029 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30030 wxPoint
*arg2
= 0 ;
30033 PyObject
* obj0
= 0 ;
30034 PyObject
* obj1
= 0 ;
30035 char *kwnames
[] = {
30036 (char *) "self",(char *) "pos", NULL
30039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30044 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30048 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30054 wxRect
* resultptr
;
30055 resultptr
= new wxRect((wxRect
&) result
);
30056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30064 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30065 PyObject
*resultobj
;
30066 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30068 wxPoint
*arg3
= 0 ;
30071 PyObject
* obj0
= 0 ;
30072 PyObject
* obj1
= 0 ;
30073 PyObject
* obj2
= 0 ;
30074 char *kwnames
[] = {
30075 (char *) "self",(char *) "dc",(char *) "pos", NULL
30078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30084 if (arg2
== NULL
) {
30085 PyErr_SetString(PyExc_TypeError
,"null reference");
30090 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30108 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
;
30110 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30112 wxMemoryDC
*arg3
= 0 ;
30118 PyObject
* obj0
= 0 ;
30119 PyObject
* obj1
= 0 ;
30120 PyObject
* obj2
= 0 ;
30121 PyObject
* obj3
= 0 ;
30122 PyObject
* obj4
= 0 ;
30123 char *kwnames
[] = {
30124 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30133 if (arg2
== NULL
) {
30134 PyErr_SetString(PyExc_TypeError
,"null reference");
30137 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30140 if (arg3
== NULL
) {
30141 PyErr_SetString(PyExc_TypeError
,"null reference");
30146 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30150 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30156 wxPyEndAllowThreads(__tstate
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30168 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30169 PyObject
*resultobj
;
30170 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30171 wxPoint
*arg2
= 0 ;
30172 wxPoint
*arg3
= 0 ;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 PyObject
* obj2
= 0 ;
30181 PyObject
* obj3
= 0 ;
30182 PyObject
* obj4
= 0 ;
30183 char *kwnames
[] = {
30184 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30192 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30196 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30198 arg4
= (bool) SWIG_AsBool(obj3
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30200 arg5
= (bool) SWIG_AsBool(obj4
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30204 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30218 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30221 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30223 return Py_BuildValue((char *)"");
30225 static PyMethodDef SwigMethods
[] = {
30226 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30232 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30235 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30239 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30241 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30247 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30251 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30256 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30258 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30260 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30262 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30265 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30277 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30283 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30287 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30289 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30290 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30296 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30300 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30306 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30310 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30317 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30340 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30342 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30343 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30344 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30349 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30350 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30379 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30433 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30438 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30449 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30461 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30472 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30476 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30493 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30499 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30512 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30519 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30524 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30531 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30543 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30551 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30557 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30566 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30568 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30573 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30575 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30580 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30585 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30603 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30611 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30615 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30630 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30638 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30646 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30660 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30665 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30669 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30673 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30677 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30704 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30720 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30721 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30728 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30729 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30743 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30745 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30748 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30751 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30752 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30753 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30754 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30755 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30756 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30757 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30759 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30760 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30762 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30763 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30764 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30765 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30766 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30768 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30770 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30771 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30772 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30773 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30774 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30775 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30778 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30779 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30781 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30783 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30786 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30789 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30791 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30792 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30794 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30796 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30798 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30799 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30800 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30801 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30802 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30803 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30804 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30805 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30806 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30807 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30808 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30809 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30810 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30811 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30812 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30813 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30814 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30815 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30816 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30817 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30818 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30819 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30820 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30821 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30822 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30823 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30824 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30825 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30826 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30827 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30828 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30829 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30830 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30831 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30832 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30833 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30834 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30835 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30836 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30837 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30838 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30839 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30840 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30841 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30842 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30843 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30844 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30845 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30846 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30847 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30848 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30849 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30850 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30851 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30852 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30853 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30854 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30855 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30856 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30857 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30858 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30859 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30860 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30861 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30862 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30863 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30864 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30865 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30866 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30867 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30868 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30869 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30870 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30871 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30872 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30873 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30874 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30875 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30876 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30877 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30878 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30879 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30880 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30881 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30882 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30883 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30884 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30885 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30886 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30887 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30888 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30889 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30890 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30891 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30892 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30893 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30894 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30895 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30896 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30897 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30898 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30899 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30900 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30901 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30902 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30903 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30904 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30905 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30906 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30907 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30908 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30909 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30910 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30911 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30912 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30913 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30914 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30915 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30916 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30917 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30918 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30919 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30920 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30921 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30922 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30923 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30924 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30925 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30926 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30927 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30928 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30929 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30930 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30931 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30932 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30933 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30934 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30935 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30936 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30937 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30938 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30939 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30940 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30941 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30942 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30943 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30944 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30945 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30946 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30947 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30948 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30949 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30950 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30951 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30952 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30953 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30954 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30955 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30956 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30957 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30958 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30959 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30960 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30961 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30962 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30963 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30964 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30965 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30966 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30967 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30968 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30969 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30970 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30971 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30972 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30973 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
30974 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30975 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30976 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30977 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30978 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30979 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30980 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30981 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30982 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30983 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30984 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30985 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30986 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30987 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30988 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30989 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30990 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30991 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30992 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30993 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
30994 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30995 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30996 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30997 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30998 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30999 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31000 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31001 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31002 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31003 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31004 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31005 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31006 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31007 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31008 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31009 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31010 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31011 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31012 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31013 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31014 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31015 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31016 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31017 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31018 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31019 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31020 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31021 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31022 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31023 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31026 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31034 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31035 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31036 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31037 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31038 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31039 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31044 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31046 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31047 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31049 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31050 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31052 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31053 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31055 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31056 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31058 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31059 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31061 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31062 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31064 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31065 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31067 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31068 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31070 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31071 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31073 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31074 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31076 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31077 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31079 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31080 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31082 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31083 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31085 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31086 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31088 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31089 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31091 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31092 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31094 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31095 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31097 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31098 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31100 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31101 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31103 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31104 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31106 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31107 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31109 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31110 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31112 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31113 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31115 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31116 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31118 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31119 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31121 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31122 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31124 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31125 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31127 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31128 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31130 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31131 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31133 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31134 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31136 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31137 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31139 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31140 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31142 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31143 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31145 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31146 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31148 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31149 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31151 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31152 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31154 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31155 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31157 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31160 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31161 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31163 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31164 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31166 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31167 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31169 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31170 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31172 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31173 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31175 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31176 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31178 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31179 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31181 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31182 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31184 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31185 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31187 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31188 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31190 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31193 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31194 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31196 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31197 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31199 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31200 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31202 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31203 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31205 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31206 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
31208 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31209 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31211 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31212 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31214 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31215 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31217 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31218 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31220 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31221 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31223 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31224 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31226 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31227 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31229 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31230 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31232 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31233 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31235 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31236 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31238 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31239 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31241 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31242 return (void *)((wxControl
*) ((wxComboBox
*) x
));
31244 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31245 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31247 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31248 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31250 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31251 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31253 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31254 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31256 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31257 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31259 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31260 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31262 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31263 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31265 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31266 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31268 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31269 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31271 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31272 return (void *)((wxControl
*) ((wxGauge
*) x
));
31274 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31275 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31277 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31278 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31280 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31281 return (void *)((wxControl
*) ((wxButton
*) x
));
31283 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31284 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31286 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31287 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31289 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31290 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31292 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31293 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31295 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31296 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31298 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31299 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31301 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31302 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31304 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31305 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31307 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31308 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31310 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31311 return (void *)((wxControl
*) ((wxSlider
*) x
));
31313 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31314 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31316 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31317 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31319 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31320 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31322 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31323 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31325 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31326 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31328 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31329 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31331 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31332 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31334 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31335 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31337 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31338 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31340 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31341 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31343 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31344 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31346 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31347 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31349 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31350 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31352 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31353 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31355 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31356 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31358 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31359 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31361 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31362 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31364 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31365 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31367 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31368 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31370 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31371 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31373 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31374 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31376 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31377 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31379 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31382 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31383 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31385 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31388 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31391 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31394 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31395 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31397 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31400 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31403 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31406 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31409 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31412 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31415 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31418 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31421 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31424 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31427 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31430 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31433 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31436 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31439 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31442 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31445 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31448 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31451 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31454 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31457 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31460 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31463 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31466 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31469 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31470 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31472 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31473 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31475 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31476 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31478 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31479 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31481 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31482 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31484 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31485 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31487 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31488 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31490 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31491 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31493 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31494 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31496 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31497 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31499 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31500 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31502 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31503 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31505 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31506 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31508 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31509 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31511 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31512 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31514 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31515 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31517 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31518 return (void *)((wxObject
*) ((wxSizer
*) x
));
31520 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31521 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31523 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31526 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31529 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31530 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31532 static void *_p_wxEventTo_p_wxObject(void *x
) {
31533 return (void *)((wxObject
*) ((wxEvent
*) x
));
31535 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31536 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31538 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31539 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31541 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31542 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31544 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31547 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31550 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31551 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31553 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31554 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31556 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31557 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31559 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31560 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31562 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31563 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31565 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31566 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31568 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31569 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31571 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31574 static void *_p_wxControlTo_p_wxObject(void *x
) {
31575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31577 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31580 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31583 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31586 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31589 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31592 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31593 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31595 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31598 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31599 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31601 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31602 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31604 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31607 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31610 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31613 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31614 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31616 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31619 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31622 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31623 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31625 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31628 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31631 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31632 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31634 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31635 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31637 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31640 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31641 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31643 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31644 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31646 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31647 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31649 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31650 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31652 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31653 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31655 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31656 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31658 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31661 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31662 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31664 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31665 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31667 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31668 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31670 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31673 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31674 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31676 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31677 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31679 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31680 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31682 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31683 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31685 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31686 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31688 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31689 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31691 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31692 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31694 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31695 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31697 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31698 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31700 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31701 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31703 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31704 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31706 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31709 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31712 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31715 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31718 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31721 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31724 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31727 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31728 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31730 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31733 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31736 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31739 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31740 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31742 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31743 return (void *)((wxObject
*) ((wxListItem
*) x
));
31745 static void *_p_wxImageTo_p_wxObject(void *x
) {
31746 return (void *)((wxObject
*) ((wxImage
*) x
));
31748 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31749 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31751 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31752 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31754 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31755 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31757 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31758 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31760 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31763 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31764 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31766 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31769 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31772 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31773 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31775 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31776 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31778 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31779 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31781 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31782 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31784 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31787 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31788 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31790 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31793 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31794 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31796 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31797 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31799 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31800 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31802 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31803 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31805 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31806 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31808 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31809 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31811 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31814 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31815 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31817 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31820 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31821 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31823 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31824 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31826 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31829 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31832 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31833 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31835 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31838 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31841 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31842 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31844 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31845 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31847 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31848 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31850 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31851 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31853 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31854 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31856 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31857 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31859 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31860 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31862 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31863 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31865 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31866 return (void *)((wxWindow
*) ((wxControl
*) x
));
31868 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31869 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31871 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31872 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31874 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31875 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31877 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31878 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31880 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31881 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31883 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31884 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31886 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31887 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31889 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31890 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31892 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31893 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31895 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31896 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31898 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31899 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31901 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31902 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31904 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31905 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31907 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31908 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31910 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31911 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31913 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31914 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31916 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31917 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31919 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31920 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31922 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31923 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31925 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31926 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31928 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31929 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31931 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31932 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31934 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31935 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31937 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31938 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31940 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31941 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31943 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31944 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31946 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31947 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31949 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31950 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31952 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31953 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31955 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31956 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31958 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31959 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31961 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31962 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31964 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31965 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31967 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31968 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31970 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31971 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31973 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31974 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31976 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31977 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31979 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31980 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31982 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31983 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31985 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31986 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31988 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31989 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31991 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31992 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31994 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31995 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31997 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31998 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32000 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32001 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32003 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32004 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32006 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32007 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32009 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32010 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32012 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32013 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32015 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}};
32016 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}};
32017 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}};
32018 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}};
32019 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}};
32020 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}};
32021 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}};
32022 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}};
32023 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}};
32024 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}};
32025 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}};
32026 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}};
32027 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}};
32028 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}};
32029 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}};
32030 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}};
32031 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}};
32032 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}};
32033 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}};
32034 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}};
32035 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}};
32036 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}};
32037 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}};
32038 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}};
32039 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}};
32040 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}};
32041 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}};
32042 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}};
32043 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}};
32044 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}};
32045 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}};
32046 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}};
32047 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}};
32048 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}};
32049 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}};
32050 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}};
32051 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}};
32052 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}};
32053 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}};
32054 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}};
32055 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}};
32056 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}};
32057 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}};
32058 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}};
32059 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}};
32060 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}};
32061 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}};
32062 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}};
32063 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}};
32064 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}};
32065 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}};
32066 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}};
32067 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}};
32068 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}};
32069 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}};
32070 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}};
32071 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}};
32072 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}};
32073 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}};
32074 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}};
32075 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}};
32076 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}};
32077 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}};
32078 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}};
32079 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}};
32080 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}};
32081 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}};
32082 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}};
32083 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}};
32084 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}};
32085 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}};
32086 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}};
32087 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}};
32088 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}};
32089 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}};
32090 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}};
32091 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}};
32092 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}};
32093 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}};
32094 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}};
32095 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}};
32096 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}};
32097 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}};
32098 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}};
32099 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}};
32101 static swig_type_info
*swig_types_initial
[] = {
32102 _swigt__p_wxTextUrlEvent
,
32103 _swigt__p_wxBookCtrlEvent
,
32105 _swigt__p_wxCheckBox
,
32106 _swigt__p_wxPyTreeCtrl
,
32108 _swigt__p_wxGenericDirCtrl
,
32110 _swigt__p_wxPyTreeItemData
,
32111 _swigt__p_wxItemContainer
,
32112 _swigt__p_wxPyListCtrl
,
32113 _swigt__p_wxDirFilterListCtrl
,
32114 _swigt__p_wxStaticLine
,
32115 _swigt__p_wxControl
,
32116 _swigt__p_wxPyControl
,
32118 _swigt__p_wxToolBarBase
,
32120 _swigt__p_wxToggleButton
,
32121 _swigt__p_wxRadioButton
,
32122 _swigt__p_wxChoice
,
32123 _swigt__p_wxMemoryDC
,
32124 _swigt__p_wxListItemAttr
,
32129 _swigt__p_wxListView
,
32131 _swigt__p_wxVisualAttributes
,
32132 _swigt__p_wxTextCtrl
,
32133 _swigt__p_wxNotebook
,
32134 _swigt__p_wxNotifyEvent
,
32135 _swigt__p_wxArrayString
,
32136 _swigt__p_wxListbook
,
32137 _swigt__p_wxStaticBitmap
,
32138 _swigt__p_wxSlider
,
32139 _swigt__p_wxStaticBox
,
32140 _swigt__p_wxArrayInt
,
32141 _swigt__p_wxContextHelp
,
32143 _swigt__p_wxEvtHandler
,
32144 _swigt__p_wxListEvent
,
32145 _swigt__p_wxCheckListBox
,
32146 _swigt__p_wxListBox
,
32147 _swigt__p_wxBookCtrl
,
32148 _swigt__p_wxSpinButton
,
32149 _swigt__p_wxButton
,
32150 _swigt__p_wxBitmapButton
,
32152 _swigt__p_wxContextHelpButton
,
32153 _swigt__p_wxRadioBox
,
32154 _swigt__p_wxScrollBar
,
32156 _swigt__p_wxTreeItemId
,
32157 _swigt__p_wxComboBox
,
32158 _swigt__p_wxHelpEvent
,
32159 _swigt__p_wxListItem
,
32160 _swigt__p_wxNotebookSizer
,
32161 _swigt__p_wxSpinEvent
,
32162 _swigt__p_wxGenericDragImage
,
32163 _swigt__p_wxSpinCtrl
,
32164 _swigt__p_wxImageList
,
32165 _swigt__p_wxHelpProvider
,
32166 _swigt__p_wxTextAttr
,
32167 _swigt__p_wxSimpleHelpProvider
,
32169 _swigt__p_wxListbookEvent
,
32170 _swigt__p_wxNotebookEvent
,
32171 _swigt__p_wxObject
,
32172 _swigt__p_wxCursor
,
32173 _swigt__p_wxKeyEvent
,
32174 _swigt__p_wxWindow
,
32175 _swigt__p_wxString
,
32176 _swigt__p_wxBitmap
,
32177 _swigt__p_wxTreeEvent
,
32178 _swigt__p_wxMouseEvent
,
32179 _swigt__p_wxCommandEvent
,
32180 _swigt__p_wxStaticText
,
32181 _swigt__p_wxControlWithItems
,
32182 _swigt__p_wxToolBarToolBase
,
32183 _swigt__p_wxColour
,
32184 _swigt__p_wxToolBar
,
32185 _swigt__p_wxBookCtrlSizer
,
32186 _swigt__p_wxValidator
,
32191 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32193 static swig_const_info swig_const_table
[] = {
32203 SWIGEXPORT(void) SWIG_init(void) {
32204 static PyObject
*SWIG_globals
= 0;
32205 static int typeinit
= 0;
32208 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32209 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32210 d
= PyModule_GetDict(m
);
32213 for (i
= 0; swig_types_initial
[i
]; i
++) {
32214 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32218 SWIG_InstallConstants(d
,swig_const_table
);
32220 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32221 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32222 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32223 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32224 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32225 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32226 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32227 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32228 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32229 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32230 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32231 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32232 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32233 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32234 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32235 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32236 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32237 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32238 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32239 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32240 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32241 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32242 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32243 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32244 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32245 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32246 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32247 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32248 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32249 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32250 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32251 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32252 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32253 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32254 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32255 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32256 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32257 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32258 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32259 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32260 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32261 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32262 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32263 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32264 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32265 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32266 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32267 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32268 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32269 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32270 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32271 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32272 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32273 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32274 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32275 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32276 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32277 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32278 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32279 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32280 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32281 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32282 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32283 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32284 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32285 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32286 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32287 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32288 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32289 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32290 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32291 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32292 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32293 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32294 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32295 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32296 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32297 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32298 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32299 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32300 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32301 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32302 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32303 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32305 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32306 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32307 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32308 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32309 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32310 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32311 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32312 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32313 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32314 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32315 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32316 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32317 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32318 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32319 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32320 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32321 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32322 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32323 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32324 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32325 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32326 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32327 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32328 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32329 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32330 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32331 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32332 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32333 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32334 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32335 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32336 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32337 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32338 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32339 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32340 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32341 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32342 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32343 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32344 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32345 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32346 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32347 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32348 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32349 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32350 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32351 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32352 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32353 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32354 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32355 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32356 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32357 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32358 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32359 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32360 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32361 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32362 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32363 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32364 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32365 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32366 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32367 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32368 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32369 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32370 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32371 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32372 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32373 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32374 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32375 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32376 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32377 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32378 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32379 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32380 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32381 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32382 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32383 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32384 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32385 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32386 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32387 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32388 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32389 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32390 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32391 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32392 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32393 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32394 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32395 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32396 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32397 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32398 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32399 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32400 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32401 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32402 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32403 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32404 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32405 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32406 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32407 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32408 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32409 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32410 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32411 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32412 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32413 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32414 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32415 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32416 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32417 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32418 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32419 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32420 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32421 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32422 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32423 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32424 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32425 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32426 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32427 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32428 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32429 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32430 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32432 // Map renamed classes back to their common name for OOR
32433 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32435 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32436 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32437 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32438 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32439 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32440 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32441 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32442 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32443 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32444 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32445 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32446 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32447 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32448 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32449 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32450 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32451 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32452 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32453 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32454 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32455 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32456 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32457 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32458 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32459 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32460 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32461 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32462 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32463 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32464 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32465 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32466 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32467 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32468 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32469 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32470 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32471 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32472 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32473 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32474 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32475 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32476 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32477 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32478 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32479 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32480 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32481 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32482 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32483 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32484 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32485 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32486 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32487 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32488 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32489 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32490 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32492 // Map renamed classes back to their common name for OOR
32493 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32494 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32496 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32497 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32498 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32499 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32500 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32501 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32502 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32503 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32504 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32505 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32507 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");