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_wxDirFilterListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxPyListCtrl 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_wxTextCtrl swig_types[29]
239 #define SWIGTYPE_p_wxNotebook swig_types[30]
240 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241 #define SWIGTYPE_p_wxArrayString swig_types[32]
242 #define SWIGTYPE_p_wxListbook swig_types[33]
243 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244 #define SWIGTYPE_p_wxSlider swig_types[35]
245 #define SWIGTYPE_p_wxStaticBox swig_types[36]
246 #define SWIGTYPE_p_wxArrayInt swig_types[37]
247 #define SWIGTYPE_p_wxContextHelp swig_types[38]
248 #define SWIGTYPE_p_long swig_types[39]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
250 #define SWIGTYPE_p_wxListEvent swig_types[41]
251 #define SWIGTYPE_p_wxListBox swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
254 #define SWIGTYPE_p_wxSpinButton swig_types[45]
255 #define SWIGTYPE_p_wxButton swig_types[46]
256 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
257 #define SWIGTYPE_p_wxRect swig_types[48]
258 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259 #define SWIGTYPE_p_wxRadioBox swig_types[50]
260 #define SWIGTYPE_p_wxScrollBar swig_types[51]
261 #define SWIGTYPE_p_char swig_types[52]
262 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
263 #define SWIGTYPE_p_wxComboBox swig_types[54]
264 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
265 #define SWIGTYPE_p_wxListItem swig_types[56]
266 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
268 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270 #define SWIGTYPE_p_wxImageList swig_types[61]
271 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
272 #define SWIGTYPE_p_wxTextAttr swig_types[63]
273 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274 #define SWIGTYPE_p_wxPoint swig_types[65]
275 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
276 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277 #define SWIGTYPE_p_wxObject swig_types[68]
278 #define SWIGTYPE_p_wxCursor swig_types[69]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
280 #define SWIGTYPE_p_wxWindow swig_types[71]
281 #define SWIGTYPE_p_wxString swig_types[72]
282 #define SWIGTYPE_p_wxBitmap swig_types[73]
283 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
284 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
285 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
286 #define SWIGTYPE_p_wxStaticText swig_types[77]
287 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
288 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292 #define SWIGTYPE_p_wxValidator swig_types[83]
293 static swig_type_info
*swig_types
[85];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301 #define SWIG_init init_controls
303 #define SWIG_name "_controls"
305 /* Auxiliar swig macros */
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
333 #endif /* __cplusplus */
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
351 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
352 static const wxString
wxPyEmptyString(wxEmptyString
);
353 static const wxString
wxPyControlNameStr(wxControlNameStr
);
355 const wxArrayString wxPyEmptyStringArray
;
357 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
427 SWIGSTATICINLINE(int)
428 SWIG_CheckLong(PyObject
* obj
)
431 if (PyErr_Occurred()) {
439 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject
*obj
)
444 return PyObject_IsTrue(obj
) ? true : false;
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject
* obj
)
452 if (PyErr_Occurred()) {
460 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
461 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
462 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
463 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
464 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
465 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
467 #include <wx/checklst.h>
470 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
471 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
473 wxPyClientData
* data
= new wxPyClientData(clientData
);
474 self
->Insert(item
, pos
, data
);
476 self
->Insert(item
, pos
);
478 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
480 self
->GetSelections(lst
);
481 PyObject
*tup
= PyTuple_New(lst
.GetCount());
482 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
483 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
487 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
489 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
490 self
->GetItem(item
)->SetTextColour(c
);
493 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
495 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
496 self
->GetItem(item
)->SetBackgroundColour(c
);
499 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
501 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
502 self
->GetItem(item
)->SetFont(f
);
505 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
507 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
513 } else if (target
== Py_None
) {
517 if (!PyTuple_Check(target
)) {
519 target
= PyTuple_New(1);
520 PyTuple_SetItem(target
, 0, o2
);
523 PyTuple_SetItem(o3
, 0, o
);
526 target
= PySequence_Concat(o2
, o3
);
534 SWIGSTATICINLINE(unsigned long)
535 SWIG_AsUnsignedLong(PyObject
* obj
)
537 if (PyLong_Check(obj
)) {
538 return PyLong_AsUnsignedLong(obj
);
540 long i
= SWIG_AsLong(obj
);
541 if ( !PyErr_Occurred() && (i
< 0)) {
542 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
549 SWIGSTATICINLINE(int)
550 SWIG_CheckUnsignedLong(PyObject
* obj
)
552 SWIG_AsUnsignedLong(obj
);
553 if (PyErr_Occurred()) {
561 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
562 self
->AppendText(text
);
564 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
565 return self
->GetValue().Mid(from
, to
- from
);
567 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
568 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
569 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
570 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
571 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
573 #include <wx/slider.h>
576 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
577 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
580 // implement dummy items for platforms that don't have this class
582 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
584 class wxToggleButton
: public wxControl
587 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
588 const wxPoint
&, const wxSize
&, long,
589 const wxValidator
&, const wxString
&)
590 { wxPyRaiseNotImplemented(); }
593 { wxPyRaiseNotImplemented(); }
597 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
599 SWIGSTATICINLINE(PyObject
* )
600 SWIG_FromUnsignedLong(unsigned long value
)
602 return (value
> LONG_MAX
) ?
603 PyLong_FromUnsignedLong(value
)
604 : PyInt_FromLong(swig_numeric_cast(long,value
));
607 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
608 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
609 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
611 Py_INCREF(udata
->m_obj
);
618 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
619 self
->SetClientData(new wxPyUserData(clientData
));
621 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
){
622 wxPyUserData
* udata
= NULL
;
623 if (clientData
&& clientData
!= Py_None
)
624 udata
= new wxPyUserData(clientData
);
625 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
626 shortHelp
, longHelp
, udata
);
628 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
){
629 wxPyUserData
* udata
= NULL
;
630 if (clientData
&& clientData
!= Py_None
)
631 udata
= new wxPyUserData(clientData
);
632 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
633 shortHelp
, longHelp
, udata
);
635 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
636 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
638 Py_INCREF(udata
->m_obj
);
645 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
646 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
649 #include <wx/listctrl.h>
652 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
653 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
654 // Python aware sorting function for wxPyListCtrl
655 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
657 PyObject
* func
= (PyObject
*)funcPtr
;
658 bool blocked
= wxPyBeginBlockThreads();
660 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
661 PyObject
* result
= PyEval_CallObject(func
, args
);
664 retval
= PyInt_AsLong(result
);
668 wxPyEndBlockThreads(blocked
);
672 // C++ Version of a Python aware class
673 class wxPyListCtrl
: public wxListCtrl
{
674 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
676 wxPyListCtrl() : wxListCtrl() {}
677 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) :
683 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
685 bool Create(wxWindow
* parent
, wxWindowID id
,
689 const wxValidator
& validator
,
690 const wxString
& name
) {
691 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
694 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
695 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
696 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
701 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
703 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
704 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
705 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
707 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
709 item
.SetMask( wxLIST_MASK_STATE
|
717 if (self
->GetColumn(col
, item
))
718 return new wxListItem(item
);
722 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
723 wxListItem
* info
= new wxListItem
;
724 info
->m_itemId
= itemId
;
726 info
->m_mask
= 0xFFFF;
727 self
->GetItem(*info
);
730 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
732 self
->GetItemPosition(item
, pos
);
735 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
737 self
->GetItemRect(item
, rect
, code
);
740 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
741 if (!PyCallable_Check(func
))
743 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
745 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
749 return (wxWindow
*)self
->m_mainWin
;
753 #include <wx/treectrl.h>
754 #include "wx/wxPython/pytree.h"
756 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
757 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
758 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
759 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
760 // C++ version of Python aware wxTreeCtrl
761 class wxPyTreeCtrl
: public wxTreeCtrl
{
762 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
764 wxPyTreeCtrl() : wxTreeCtrl() {}
765 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) :
771 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
773 bool Create(wxWindow
*parent
, wxWindowID id
,
777 const wxValidator
& validator
,
778 const wxString
& name
) {
779 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
783 int OnCompareItems(const wxTreeItemId
& item1
,
784 const wxTreeItemId
& item2
) {
787 bool blocked
= wxPyBeginBlockThreads();
788 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
789 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
790 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
791 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
795 wxPyEndBlockThreads(blocked
);
797 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
803 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
807 #if UINT_MAX < LONG_MAX
808 #define SWIG_FromUnsignedInt SWIG_FromLong
810 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
814 SWIGSTATICINLINE(unsigned long)
815 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
816 unsigned long max_value
)
818 if (!PyErr_Occurred()) {
819 if (value
> max_value
) {
821 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
822 value
, type
, max_value
);
823 PyErr_SetObject(PyExc_OverflowError
, err
);
831 #if UINT_MAX != ULONG_MAX
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_AsUnsignedInt(PyObject
*obj
)
835 return swig_numeric_cast(unsigned int,
836 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
837 "unsigned int", UINT_MAX
));
840 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
844 SWIGSTATICINLINE(int)
845 SWIG_CheckUnsignedInt(PyObject
* obj
)
847 SWIG_AsUnsignedInt(obj
);
848 if (PyErr_Occurred()) {
856 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
857 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
859 data
= new wxPyTreeItemData();
860 data
->SetId(item
); // set the id
861 self
->SetItemData(item
, data
);
865 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
866 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
868 data
= new wxPyTreeItemData();
869 data
->SetId(item
); // set the id
870 self
->SetItemData(item
, data
);
872 return data
->GetData();
874 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
875 data
->SetId(item
); // set the id
876 self
->SetItemData(item
, data
);
878 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
879 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
881 data
= new wxPyTreeItemData(obj
);
882 data
->SetId(item
); // set the id
883 self
->SetItemData(item
, data
);
887 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
888 bool blocked
= wxPyBeginBlockThreads();
889 PyObject
* rval
= PyList_New(0);
890 wxArrayTreeItemIds array
;
892 num
= self
->GetSelections(array
);
893 for (x
=0; x
< num
; x
++) {
894 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
895 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
896 PyList_Append(rval
, item
);
898 wxPyEndBlockThreads(blocked
);
901 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
903 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
904 bool blocked
= wxPyBeginBlockThreads();
905 PyObject
* tup
= PyTuple_New(2);
906 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
907 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
908 wxPyEndBlockThreads(blocked
);
911 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
912 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
913 bool blocked
= wxPyBeginBlockThreads();
914 PyObject
* tup
= PyTuple_New(2);
915 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
916 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
917 wxPyEndBlockThreads(blocked
);
920 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
922 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
923 bool blocked
= wxPyBeginBlockThreads();
924 wxRect
* r
= new wxRect(rect
);
925 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
926 wxPyEndBlockThreads(blocked
);
932 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
933 // C++ version of Python aware wxControl
934 class wxPyControl
: public wxControl
936 DECLARE_DYNAMIC_CLASS(wxPyControl
)
938 wxPyControl() : wxControl() {}
939 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
940 const wxPoint
& pos
= wxDefaultPosition
,
941 const wxSize
& size
= wxDefaultSize
,
943 const wxValidator
& validator
=wxDefaultValidator
,
944 const wxString
& name
= wxPyControlNameStr
)
945 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
948 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
949 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
950 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
951 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
953 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
957 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
958 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
960 DEC_PYCALLBACK__(InitDialog
);
961 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
962 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
963 DEC_PYCALLBACK_BOOL_(Validate
);
965 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
966 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
967 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
969 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
970 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
972 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
973 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
978 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
980 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
981 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
982 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
985 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
989 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
990 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
992 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
993 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
994 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
995 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
997 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
998 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
999 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1001 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1004 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
1005 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1009 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1011 #include <wx/generic/dragimgg.h>
1016 static int _wrap_ButtonNameStr_set(PyObject
*) {
1017 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1022 static PyObject
*_wrap_ButtonNameStr_get() {
1027 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1029 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1036 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
*resultobj
;
1038 wxWindow
*arg1
= (wxWindow
*) 0 ;
1040 wxString
*arg3
= 0 ;
1041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1045 long arg6
= (long) 0 ;
1046 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1047 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1048 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1049 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1051 bool temp3
= False
;
1054 bool temp8
= False
;
1055 PyObject
* obj0
= 0 ;
1056 PyObject
* obj1
= 0 ;
1057 PyObject
* obj2
= 0 ;
1058 PyObject
* obj3
= 0 ;
1059 PyObject
* obj4
= 0 ;
1060 PyObject
* obj5
= 0 ;
1061 PyObject
* obj6
= 0 ;
1062 PyObject
* obj7
= 0 ;
1064 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1070 arg2
= (int) SWIG_AsInt(obj1
);
1071 if (PyErr_Occurred()) SWIG_fail
;
1073 arg3
= wxString_in_helper(obj2
);
1074 if (arg3
== NULL
) SWIG_fail
;
1080 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1086 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1090 arg6
= (long) SWIG_AsLong(obj5
);
1091 if (PyErr_Occurred()) SWIG_fail
;
1094 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1098 PyErr_SetString(PyExc_TypeError
,"null reference");
1104 arg8
= wxString_in_helper(obj7
);
1105 if (arg8
== NULL
) SWIG_fail
;
1110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1111 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1113 wxPyEndAllowThreads(__tstate
);
1114 if (PyErr_Occurred()) SWIG_fail
;
1117 resultobj
= wxPyMake_wxObject(result
);
1141 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
*resultobj
;
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1151 result
= (wxButton
*)new wxButton();
1153 wxPyEndAllowThreads(__tstate
);
1154 if (PyErr_Occurred()) SWIG_fail
;
1157 resultobj
= wxPyMake_wxObject(result
);
1165 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
*resultobj
;
1167 wxButton
*arg1
= (wxButton
*) 0 ;
1168 wxWindow
*arg2
= (wxWindow
*) 0 ;
1170 wxString
*arg4
= 0 ;
1171 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1172 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1173 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1174 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1175 long arg7
= (long) 0 ;
1176 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1177 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1178 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1179 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1181 bool temp4
= False
;
1184 bool temp9
= False
;
1185 PyObject
* obj0
= 0 ;
1186 PyObject
* obj1
= 0 ;
1187 PyObject
* obj2
= 0 ;
1188 PyObject
* obj3
= 0 ;
1189 PyObject
* obj4
= 0 ;
1190 PyObject
* obj5
= 0 ;
1191 PyObject
* obj6
= 0 ;
1192 PyObject
* obj7
= 0 ;
1193 PyObject
* obj8
= 0 ;
1195 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1203 arg3
= (int) SWIG_AsInt(obj2
);
1204 if (PyErr_Occurred()) SWIG_fail
;
1206 arg4
= wxString_in_helper(obj3
);
1207 if (arg4
== NULL
) SWIG_fail
;
1213 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1219 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1223 arg7
= (long) SWIG_AsLong(obj6
);
1224 if (PyErr_Occurred()) SWIG_fail
;
1227 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1231 PyErr_SetString(PyExc_TypeError
,"null reference");
1237 arg9
= wxString_in_helper(obj8
);
1238 if (arg9
== NULL
) SWIG_fail
;
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) SWIG_fail
;
1250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1274 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1275 PyObject
*resultobj
;
1276 wxButton
*arg1
= (wxButton
*) 0 ;
1277 PyObject
* obj0
= 0 ;
1279 (char *) "self", NULL
1282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1287 (arg1
)->SetDefault();
1289 wxPyEndAllowThreads(__tstate
);
1290 if (PyErr_Occurred()) SWIG_fail
;
1292 Py_INCREF(Py_None
); resultobj
= Py_None
;
1299 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
*resultobj
;
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 result
= wxButton::GetDefaultSize();
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) SWIG_fail
;
1316 resultptr
= new wxSize((wxSize
&) result
);
1317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1325 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1328 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1330 return Py_BuildValue((char *)"");
1332 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
*resultobj
;
1334 wxWindow
*arg1
= (wxWindow
*) 0 ;
1336 wxBitmap
*arg3
= 0 ;
1337 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1338 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1339 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1340 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1341 long arg6
= (long) wxBU_AUTODRAW
;
1342 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1343 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1344 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1345 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1346 wxBitmapButton
*result
;
1349 bool temp8
= False
;
1350 PyObject
* obj0
= 0 ;
1351 PyObject
* obj1
= 0 ;
1352 PyObject
* obj2
= 0 ;
1353 PyObject
* obj3
= 0 ;
1354 PyObject
* obj4
= 0 ;
1355 PyObject
* obj5
= 0 ;
1356 PyObject
* obj6
= 0 ;
1357 PyObject
* obj7
= 0 ;
1359 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1365 arg2
= (int) SWIG_AsInt(obj1
);
1366 if (PyErr_Occurred()) SWIG_fail
;
1367 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1371 PyErr_SetString(PyExc_TypeError
,"null reference");
1377 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1383 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1387 arg6
= (long) SWIG_AsLong(obj5
);
1388 if (PyErr_Occurred()) SWIG_fail
;
1391 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1395 PyErr_SetString(PyExc_TypeError
,"null reference");
1401 arg8
= wxString_in_helper(obj7
);
1402 if (arg8
== NULL
) SWIG_fail
;
1407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1408 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1410 wxPyEndAllowThreads(__tstate
);
1411 if (PyErr_Occurred()) SWIG_fail
;
1414 resultobj
= wxPyMake_wxObject(result
);
1430 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
*resultobj
;
1432 wxBitmapButton
*result
;
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 result
= (wxBitmapButton
*)new wxBitmapButton();
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) SWIG_fail
;
1446 resultobj
= wxPyMake_wxObject(result
);
1454 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
*resultobj
;
1456 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1457 wxWindow
*arg2
= (wxWindow
*) 0 ;
1459 wxBitmap
*arg4
= 0 ;
1460 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1461 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1462 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1463 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1464 long arg7
= (long) wxBU_AUTODRAW
;
1465 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1466 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1467 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1468 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1472 bool temp9
= False
;
1473 PyObject
* obj0
= 0 ;
1474 PyObject
* obj1
= 0 ;
1475 PyObject
* obj2
= 0 ;
1476 PyObject
* obj3
= 0 ;
1477 PyObject
* obj4
= 0 ;
1478 PyObject
* obj5
= 0 ;
1479 PyObject
* obj6
= 0 ;
1480 PyObject
* obj7
= 0 ;
1481 PyObject
* obj8
= 0 ;
1483 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1491 arg3
= (int) SWIG_AsInt(obj2
);
1492 if (PyErr_Occurred()) SWIG_fail
;
1493 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1497 PyErr_SetString(PyExc_TypeError
,"null reference");
1503 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1509 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1513 arg7
= (long) SWIG_AsLong(obj6
);
1514 if (PyErr_Occurred()) SWIG_fail
;
1517 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1521 PyErr_SetString(PyExc_TypeError
,"null reference");
1527 arg9
= wxString_in_helper(obj8
);
1528 if (arg9
== NULL
) SWIG_fail
;
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) SWIG_fail
;
1540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1556 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
*resultobj
;
1558 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1560 PyObject
* obj0
= 0 ;
1562 (char *) "self", NULL
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1570 result
= (arg1
)->GetBitmapLabel();
1572 wxPyEndAllowThreads(__tstate
);
1573 if (PyErr_Occurred()) SWIG_fail
;
1576 wxBitmap
* resultptr
;
1577 resultptr
= new wxBitmap((wxBitmap
&) result
);
1578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1586 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
*resultobj
;
1588 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1590 PyObject
* obj0
= 0 ;
1592 (char *) "self", NULL
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 result
= (arg1
)->GetBitmapDisabled();
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1606 wxBitmap
* resultptr
;
1607 resultptr
= new wxBitmap((wxBitmap
&) result
);
1608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1616 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1620 PyObject
* obj0
= 0 ;
1622 (char *) "self", NULL
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 result
= (arg1
)->GetBitmapFocus();
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) SWIG_fail
;
1636 wxBitmap
* resultptr
;
1637 resultptr
= new wxBitmap((wxBitmap
&) result
);
1638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1646 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
*resultobj
;
1648 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1650 PyObject
* obj0
= 0 ;
1652 (char *) "self", NULL
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 result
= (arg1
)->GetBitmapSelected();
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) SWIG_fail
;
1666 wxBitmap
* resultptr
;
1667 resultptr
= new wxBitmap((wxBitmap
&) result
);
1668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1676 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
*resultobj
;
1678 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1679 wxBitmap
*arg2
= 0 ;
1680 PyObject
* obj0
= 0 ;
1681 PyObject
* obj1
= 0 ;
1683 (char *) "self",(char *) "bitmap", NULL
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1693 PyErr_SetString(PyExc_TypeError
,"null reference");
1697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1698 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1700 wxPyEndAllowThreads(__tstate
);
1701 if (PyErr_Occurred()) SWIG_fail
;
1703 Py_INCREF(Py_None
); resultobj
= Py_None
;
1710 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
*resultobj
;
1712 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1713 wxBitmap
*arg2
= 0 ;
1714 PyObject
* obj0
= 0 ;
1715 PyObject
* obj1
= 0 ;
1717 (char *) "self",(char *) "bitmap", NULL
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1727 PyErr_SetString(PyExc_TypeError
,"null reference");
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) SWIG_fail
;
1737 Py_INCREF(Py_None
); resultobj
= Py_None
;
1744 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
*resultobj
;
1746 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1747 wxBitmap
*arg2
= 0 ;
1748 PyObject
* obj0
= 0 ;
1749 PyObject
* obj1
= 0 ;
1751 (char *) "self",(char *) "bitmap", NULL
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1761 PyErr_SetString(PyExc_TypeError
,"null reference");
1765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1766 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1768 wxPyEndAllowThreads(__tstate
);
1769 if (PyErr_Occurred()) SWIG_fail
;
1771 Py_INCREF(Py_None
); resultobj
= Py_None
;
1778 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
*resultobj
;
1780 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1781 wxBitmap
*arg2
= 0 ;
1782 PyObject
* obj0
= 0 ;
1783 PyObject
* obj1
= 0 ;
1785 (char *) "self",(char *) "bitmap", NULL
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1795 PyErr_SetString(PyExc_TypeError
,"null reference");
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1805 Py_INCREF(Py_None
); resultobj
= Py_None
;
1812 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
*resultobj
;
1814 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1817 PyObject
* obj0
= 0 ;
1818 PyObject
* obj1
= 0 ;
1819 PyObject
* obj2
= 0 ;
1821 (char *) "self",(char *) "x",(char *) "y", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1827 arg2
= (int) SWIG_AsInt(obj1
);
1828 if (PyErr_Occurred()) SWIG_fail
;
1829 arg3
= (int) SWIG_AsInt(obj2
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 (arg1
)->SetMargins(arg2
,arg3
);
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) SWIG_fail
;
1838 Py_INCREF(Py_None
); resultobj
= Py_None
;
1845 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
*resultobj
;
1847 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1849 PyObject
* obj0
= 0 ;
1851 (char *) "self", NULL
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1864 resultobj
= SWIG_FromInt((int)result
);
1871 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
*resultobj
;
1873 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1875 PyObject
* obj0
= 0 ;
1877 (char *) "self", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1890 resultobj
= SWIG_FromInt((int)result
);
1897 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
1899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1900 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1902 return Py_BuildValue((char *)"");
1904 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1905 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1910 static PyObject
*_wrap_CheckBoxNameStr_get() {
1915 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1917 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1924 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1926 wxWindow
*arg1
= (wxWindow
*) 0 ;
1928 wxString
*arg3
= 0 ;
1929 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1930 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1931 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1932 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1933 long arg6
= (long) 0 ;
1934 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1935 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1936 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1937 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1939 bool temp3
= False
;
1942 bool temp8
= False
;
1943 PyObject
* obj0
= 0 ;
1944 PyObject
* obj1
= 0 ;
1945 PyObject
* obj2
= 0 ;
1946 PyObject
* obj3
= 0 ;
1947 PyObject
* obj4
= 0 ;
1948 PyObject
* obj5
= 0 ;
1949 PyObject
* obj6
= 0 ;
1950 PyObject
* obj7
= 0 ;
1952 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1958 arg2
= (int) SWIG_AsInt(obj1
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 arg3
= wxString_in_helper(obj2
);
1962 if (arg3
== NULL
) SWIG_fail
;
1968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1974 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1978 arg6
= (long) SWIG_AsLong(obj5
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1982 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1986 PyErr_SetString(PyExc_TypeError
,"null reference");
1992 arg8
= wxString_in_helper(obj7
);
1993 if (arg8
== NULL
) SWIG_fail
;
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2027 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
*resultobj
;
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 result
= (wxCheckBox
*)new wxCheckBox();
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2049 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2052 wxWindow
*arg2
= (wxWindow
*) 0 ;
2054 wxString
*arg4
= 0 ;
2055 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2056 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2057 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2058 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2059 long arg7
= (long) 0 ;
2060 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2061 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2062 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2063 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2065 bool temp4
= False
;
2068 bool temp9
= False
;
2069 PyObject
* obj0
= 0 ;
2070 PyObject
* obj1
= 0 ;
2071 PyObject
* obj2
= 0 ;
2072 PyObject
* obj3
= 0 ;
2073 PyObject
* obj4
= 0 ;
2074 PyObject
* obj5
= 0 ;
2075 PyObject
* obj6
= 0 ;
2076 PyObject
* obj7
= 0 ;
2077 PyObject
* obj8
= 0 ;
2079 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2087 arg3
= (int) SWIG_AsInt(obj2
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2090 arg4
= wxString_in_helper(obj3
);
2091 if (arg4
== NULL
) SWIG_fail
;
2097 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2103 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2107 arg7
= (long) SWIG_AsLong(obj6
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2111 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2115 PyErr_SetString(PyExc_TypeError
,"null reference");
2121 arg9
= wxString_in_helper(obj8
);
2122 if (arg9
== NULL
) SWIG_fail
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2158 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
*resultobj
;
2160 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2162 PyObject
* obj0
= 0 ;
2164 (char *) "self", NULL
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 result
= (bool)(arg1
)->GetValue();
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2186 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
*resultobj
;
2188 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2190 PyObject
* obj0
= 0 ;
2192 (char *) "self", NULL
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 result
= (bool)(arg1
)->IsChecked();
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2214 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2218 PyObject
* obj0
= 0 ;
2219 PyObject
* obj1
= 0 ;
2221 (char *) "self",(char *) "state", NULL
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2227 arg2
= (bool const) SWIG_AsBool(obj1
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 (arg1
)->SetValue(arg2
);
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2236 Py_INCREF(Py_None
); resultobj
= Py_None
;
2243 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
*resultobj
;
2245 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2247 PyObject
* obj0
= 0 ;
2249 (char *) "self", NULL
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2262 resultobj
= SWIG_FromInt((int)result
);
2269 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
*resultobj
;
2271 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2273 PyObject
* obj0
= 0 ;
2274 PyObject
* obj1
= 0 ;
2276 (char *) "self",(char *) "state", NULL
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2282 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2291 Py_INCREF(Py_None
); resultobj
= Py_None
;
2298 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
*resultobj
;
2300 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2302 PyObject
* obj0
= 0 ;
2304 (char *) "self", NULL
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2326 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2328 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2330 PyObject
* obj0
= 0 ;
2332 (char *) "self", NULL
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2354 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2357 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2359 return Py_BuildValue((char *)"");
2361 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2362 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2367 static PyObject
*_wrap_ChoiceNameStr_get() {
2372 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2374 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2381 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2383 wxWindow
*arg1
= (wxWindow
*) 0 ;
2385 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2386 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2387 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2388 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2389 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2390 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2391 long arg6
= (long) 0 ;
2392 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2393 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2394 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2395 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2399 bool temp5
= False
;
2400 bool temp8
= False
;
2401 PyObject
* obj0
= 0 ;
2402 PyObject
* obj1
= 0 ;
2403 PyObject
* obj2
= 0 ;
2404 PyObject
* obj3
= 0 ;
2405 PyObject
* obj4
= 0 ;
2406 PyObject
* obj5
= 0 ;
2407 PyObject
* obj6
= 0 ;
2408 PyObject
* obj7
= 0 ;
2410 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2416 arg2
= (int) SWIG_AsInt(obj1
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2421 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2427 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2432 if (! PySequence_Check(obj4
)) {
2433 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2436 arg5
= new wxArrayString
;
2438 int i
, len
=PySequence_Length(obj4
);
2439 for (i
=0; i
<len
; i
++) {
2440 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2442 PyObject
* str
= PyObject_Unicode(item
);
2444 PyObject
* str
= PyObject_Str(item
);
2446 arg5
->Add(Py2wxString(str
));
2453 arg6
= (long) SWIG_AsLong(obj5
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2457 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2461 PyErr_SetString(PyExc_TypeError
,"null reference");
2467 arg8
= wxString_in_helper(obj7
);
2468 if (arg8
== NULL
) SWIG_fail
;
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2481 if (temp5
) delete arg5
;
2490 if (temp5
) delete arg5
;
2500 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
*resultobj
;
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 result
= (wxChoice
*)new wxChoice();
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2522 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
*resultobj
;
2524 wxChoice
*arg1
= (wxChoice
*) 0 ;
2525 wxWindow
*arg2
= (wxWindow
*) 0 ;
2527 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2528 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2529 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2530 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2531 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2532 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2533 long arg7
= (long) 0 ;
2534 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2535 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2536 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2537 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2541 bool temp6
= False
;
2542 bool temp9
= False
;
2543 PyObject
* obj0
= 0 ;
2544 PyObject
* obj1
= 0 ;
2545 PyObject
* obj2
= 0 ;
2546 PyObject
* obj3
= 0 ;
2547 PyObject
* obj4
= 0 ;
2548 PyObject
* obj5
= 0 ;
2549 PyObject
* obj6
= 0 ;
2550 PyObject
* obj7
= 0 ;
2551 PyObject
* obj8
= 0 ;
2553 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2561 arg3
= (int) SWIG_AsInt(obj2
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2566 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2572 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2577 if (! PySequence_Check(obj5
)) {
2578 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2581 arg6
= new wxArrayString
;
2583 int i
, len
=PySequence_Length(obj5
);
2584 for (i
=0; i
<len
; i
++) {
2585 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2587 PyObject
* str
= PyObject_Unicode(item
);
2589 PyObject
* str
= PyObject_Str(item
);
2591 arg6
->Add(Py2wxString(str
));
2598 arg7
= (long) SWIG_AsLong(obj6
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2602 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2603 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2606 PyErr_SetString(PyExc_TypeError
,"null reference");
2612 arg9
= wxString_in_helper(obj8
);
2613 if (arg9
== NULL
) SWIG_fail
;
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2628 if (temp6
) delete arg6
;
2637 if (temp6
) delete arg6
;
2647 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxChoice
*arg1
= (wxChoice
*) 0 ;
2651 PyObject
* obj0
= 0 ;
2652 PyObject
* obj1
= 0 ;
2654 (char *) "self",(char *) "n", NULL
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2660 arg2
= (int const) SWIG_AsInt(obj1
);
2661 if (PyErr_Occurred()) SWIG_fail
;
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 (arg1
)->SetSelection(arg2
);
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2669 Py_INCREF(Py_None
); resultobj
= Py_None
;
2676 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
*resultobj
;
2678 wxChoice
*arg1
= (wxChoice
*) 0 ;
2679 wxString
*arg2
= 0 ;
2680 bool temp2
= False
;
2681 PyObject
* obj0
= 0 ;
2682 PyObject
* obj1
= 0 ;
2684 (char *) "self",(char *) "string", NULL
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2691 arg2
= wxString_in_helper(obj1
);
2692 if (arg2
== NULL
) SWIG_fail
;
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2702 Py_INCREF(Py_None
); resultobj
= Py_None
;
2717 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2719 wxChoice
*arg1
= (wxChoice
*) 0 ;
2721 wxString
*arg3
= 0 ;
2722 bool temp3
= False
;
2723 PyObject
* obj0
= 0 ;
2724 PyObject
* obj1
= 0 ;
2725 PyObject
* obj2
= 0 ;
2727 (char *) "self",(char *) "n",(char *) "string", NULL
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2733 arg2
= (int) SWIG_AsInt(obj1
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 arg3
= wxString_in_helper(obj2
);
2737 if (arg3
== NULL
) SWIG_fail
;
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2747 Py_INCREF(Py_None
); resultobj
= Py_None
;
2762 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
2764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2765 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2767 return Py_BuildValue((char *)"");
2769 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2770 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2775 static PyObject
*_wrap_ComboBoxNameStr_get() {
2780 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2782 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2789 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
*resultobj
;
2791 wxWindow
*arg1
= (wxWindow
*) 0 ;
2793 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2794 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2795 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2796 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2797 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2798 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2799 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2800 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2801 long arg7
= (long) 0 ;
2802 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2803 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2804 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2805 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2807 bool temp3
= False
;
2810 bool temp6
= False
;
2811 bool temp9
= False
;
2812 PyObject
* obj0
= 0 ;
2813 PyObject
* obj1
= 0 ;
2814 PyObject
* obj2
= 0 ;
2815 PyObject
* obj3
= 0 ;
2816 PyObject
* obj4
= 0 ;
2817 PyObject
* obj5
= 0 ;
2818 PyObject
* obj6
= 0 ;
2819 PyObject
* obj7
= 0 ;
2820 PyObject
* obj8
= 0 ;
2822 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2828 arg2
= (int) SWIG_AsInt(obj1
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2832 arg3
= wxString_in_helper(obj2
);
2833 if (arg3
== NULL
) SWIG_fail
;
2840 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2846 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2851 if (! PySequence_Check(obj5
)) {
2852 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2855 arg6
= new wxArrayString
;
2857 int i
, len
=PySequence_Length(obj5
);
2858 for (i
=0; i
<len
; i
++) {
2859 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2861 PyObject
* str
= PyObject_Unicode(item
);
2863 PyObject
* str
= PyObject_Str(item
);
2865 arg6
->Add(Py2wxString(str
));
2872 arg7
= (long) SWIG_AsLong(obj6
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2876 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2880 PyErr_SetString(PyExc_TypeError
,"null reference");
2886 arg9
= wxString_in_helper(obj8
);
2887 if (arg9
== NULL
) SWIG_fail
;
2892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2893 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
);
2895 wxPyEndAllowThreads(__tstate
);
2896 if (PyErr_Occurred()) SWIG_fail
;
2898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2904 if (temp6
) delete arg6
;
2917 if (temp6
) delete arg6
;
2927 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
*resultobj
;
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 result
= (wxComboBox
*)new wxComboBox();
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2949 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2952 wxWindow
*arg2
= (wxWindow
*) 0 ;
2954 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2955 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2956 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2957 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2958 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2959 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2960 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2961 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2962 long arg8
= (long) 0 ;
2963 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2964 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2965 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2966 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2968 bool temp4
= False
;
2971 bool temp7
= False
;
2972 bool temp10
= False
;
2973 PyObject
* obj0
= 0 ;
2974 PyObject
* obj1
= 0 ;
2975 PyObject
* obj2
= 0 ;
2976 PyObject
* obj3
= 0 ;
2977 PyObject
* obj4
= 0 ;
2978 PyObject
* obj5
= 0 ;
2979 PyObject
* obj6
= 0 ;
2980 PyObject
* obj7
= 0 ;
2981 PyObject
* obj8
= 0 ;
2982 PyObject
* obj9
= 0 ;
2984 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2992 arg3
= (int) SWIG_AsInt(obj2
);
2993 if (PyErr_Occurred()) SWIG_fail
;
2996 arg4
= wxString_in_helper(obj3
);
2997 if (arg4
== NULL
) SWIG_fail
;
3004 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3010 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3015 if (! PySequence_Check(obj6
)) {
3016 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3019 arg7
= new wxArrayString
;
3021 int i
, len
=PySequence_Length(obj6
);
3022 for (i
=0; i
<len
; i
++) {
3023 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3025 PyObject
* str
= PyObject_Unicode(item
);
3027 PyObject
* str
= PyObject_Str(item
);
3029 arg7
->Add(Py2wxString(str
));
3036 arg8
= (long) SWIG_AsLong(obj7
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3040 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3044 PyErr_SetString(PyExc_TypeError
,"null reference");
3050 arg10
= wxString_in_helper(obj9
);
3051 if (arg10
== NULL
) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 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
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3070 if (temp7
) delete arg7
;
3083 if (temp7
) delete arg7
;
3093 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
*resultobj
;
3095 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3097 PyObject
* obj0
= 0 ;
3099 (char *) "self", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 result
= ((wxComboBox
const *)arg1
)->GetValue();
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3125 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3128 wxString
*arg2
= 0 ;
3129 bool temp2
= False
;
3130 PyObject
* obj0
= 0 ;
3131 PyObject
* obj1
= 0 ;
3133 (char *) "self",(char *) "value", NULL
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3140 arg2
= wxString_in_helper(obj1
);
3141 if (arg2
== NULL
) SWIG_fail
;
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 (arg1
)->SetValue((wxString
const &)*arg2
);
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3151 Py_INCREF(Py_None
); resultobj
= Py_None
;
3166 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3168 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3169 PyObject
* obj0
= 0 ;
3171 (char *) "self", NULL
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 Py_INCREF(Py_None
); resultobj
= Py_None
;
3191 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "self", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3209 Py_INCREF(Py_None
); resultobj
= Py_None
;
3216 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
*resultobj
;
3218 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3219 PyObject
* obj0
= 0 ;
3221 (char *) "self", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3234 Py_INCREF(Py_None
); resultobj
= Py_None
;
3241 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
*resultobj
;
3243 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3245 PyObject
* obj0
= 0 ;
3246 PyObject
* obj1
= 0 ;
3248 (char *) "self",(char *) "pos", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3254 arg2
= (long) SWIG_AsLong(obj1
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 (arg1
)->SetInsertionPoint(arg2
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3263 Py_INCREF(Py_None
); resultobj
= Py_None
;
3270 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3274 PyObject
* obj0
= 0 ;
3276 (char *) "self", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 resultobj
= SWIG_FromLong((long)result
);
3296 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3300 PyObject
* obj0
= 0 ;
3302 (char *) "self", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3310 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3315 resultobj
= SWIG_FromLong((long)result
);
3322 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
*resultobj
;
3324 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3327 wxString
*arg4
= 0 ;
3328 bool temp4
= False
;
3329 PyObject
* obj0
= 0 ;
3330 PyObject
* obj1
= 0 ;
3331 PyObject
* obj2
= 0 ;
3332 PyObject
* obj3
= 0 ;
3334 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3340 arg2
= (long) SWIG_AsLong(obj1
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3342 arg3
= (long) SWIG_AsLong(obj2
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 arg4
= wxString_in_helper(obj3
);
3346 if (arg4
== NULL
) SWIG_fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3356 Py_INCREF(Py_None
); resultobj
= Py_None
;
3371 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3375 PyObject
* obj0
= 0 ;
3376 PyObject
* obj1
= 0 ;
3378 (char *) "self",(char *) "n", NULL
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3384 arg2
= (int) SWIG_AsInt(obj1
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 (arg1
)->SetSelection(arg2
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3393 Py_INCREF(Py_None
); resultobj
= Py_None
;
3400 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3405 PyObject
* obj0
= 0 ;
3406 PyObject
* obj1
= 0 ;
3407 PyObject
* obj2
= 0 ;
3409 (char *) "self",(char *) "from",(char *) "to", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3415 arg2
= (long) SWIG_AsLong(obj1
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3417 arg3
= (long) SWIG_AsLong(obj2
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 (arg1
)->SetSelection(arg2
,arg3
);
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3426 Py_INCREF(Py_None
); resultobj
= Py_None
;
3433 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3438 PyObject
* obj1
= 0 ;
3440 (char *) "self",(char *) "editable", NULL
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3446 arg2
= (bool) SWIG_AsBool(obj1
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 (arg1
)->SetEditable(arg2
);
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3455 Py_INCREF(Py_None
); resultobj
= Py_None
;
3462 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
;
3464 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3465 PyObject
* obj0
= 0 ;
3467 (char *) "self", NULL
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 (arg1
)->SetInsertionPointEnd();
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3480 Py_INCREF(Py_None
); resultobj
= Py_None
;
3487 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
;
3489 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3492 PyObject
* obj0
= 0 ;
3493 PyObject
* obj1
= 0 ;
3494 PyObject
* obj2
= 0 ;
3496 (char *) "self",(char *) "from",(char *) "to", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3502 arg2
= (long) SWIG_AsLong(obj1
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3504 arg3
= (long) SWIG_AsLong(obj2
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 (arg1
)->Remove(arg2
,arg3
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3513 Py_INCREF(Py_None
); resultobj
= Py_None
;
3520 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3523 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3525 return Py_BuildValue((char *)"");
3527 static int _wrap_GaugeNameStr_set(PyObject
*) {
3528 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3533 static PyObject
*_wrap_GaugeNameStr_get() {
3538 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3540 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3547 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
;
3549 wxWindow
*arg1
= (wxWindow
*) 0 ;
3552 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3553 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3554 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3555 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3556 long arg6
= (long) wxGA_HORIZONTAL
;
3557 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3558 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3559 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3560 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3564 bool temp8
= False
;
3565 PyObject
* obj0
= 0 ;
3566 PyObject
* obj1
= 0 ;
3567 PyObject
* obj2
= 0 ;
3568 PyObject
* obj3
= 0 ;
3569 PyObject
* obj4
= 0 ;
3570 PyObject
* obj5
= 0 ;
3571 PyObject
* obj6
= 0 ;
3572 PyObject
* obj7
= 0 ;
3574 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3580 arg2
= (int) SWIG_AsInt(obj1
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3582 arg3
= (int) SWIG_AsInt(obj2
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3587 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3593 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3597 arg6
= (long) SWIG_AsLong(obj5
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3601 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3605 PyErr_SetString(PyExc_TypeError
,"null reference");
3611 arg8
= wxString_in_helper(obj7
);
3612 if (arg8
== NULL
) SWIG_fail
;
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3638 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 result
= (wxGauge
*)new wxGauge();
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3660 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxGauge
*arg1
= (wxGauge
*) 0 ;
3663 wxWindow
*arg2
= (wxWindow
*) 0 ;
3666 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3667 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3668 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3669 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3670 long arg7
= (long) wxGA_HORIZONTAL
;
3671 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3672 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3673 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3674 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3678 bool temp9
= False
;
3679 PyObject
* obj0
= 0 ;
3680 PyObject
* obj1
= 0 ;
3681 PyObject
* obj2
= 0 ;
3682 PyObject
* obj3
= 0 ;
3683 PyObject
* obj4
= 0 ;
3684 PyObject
* obj5
= 0 ;
3685 PyObject
* obj6
= 0 ;
3686 PyObject
* obj7
= 0 ;
3687 PyObject
* obj8
= 0 ;
3689 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3697 arg3
= (int) SWIG_AsInt(obj2
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3699 arg4
= (int) SWIG_AsInt(obj3
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3704 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3710 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3714 arg7
= (long) SWIG_AsLong(obj6
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3718 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3722 PyErr_SetString(PyExc_TypeError
,"null reference");
3728 arg9
= wxString_in_helper(obj8
);
3729 if (arg9
== NULL
) SWIG_fail
;
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3757 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 wxGauge
*arg1
= (wxGauge
*) 0 ;
3761 PyObject
* obj0
= 0 ;
3762 PyObject
* obj1
= 0 ;
3764 (char *) "self",(char *) "range", NULL
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3770 arg2
= (int) SWIG_AsInt(obj1
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 (arg1
)->SetRange(arg2
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3779 Py_INCREF(Py_None
); resultobj
= Py_None
;
3786 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxGauge
*arg1
= (wxGauge
*) 0 ;
3790 PyObject
* obj0
= 0 ;
3792 (char *) "self", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= SWIG_FromInt((int)result
);
3812 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxGauge
*arg1
= (wxGauge
*) 0 ;
3816 PyObject
* obj0
= 0 ;
3817 PyObject
* obj1
= 0 ;
3819 (char *) "self",(char *) "pos", NULL
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3825 arg2
= (int) SWIG_AsInt(obj1
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 (arg1
)->SetValue(arg2
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 Py_INCREF(Py_None
); resultobj
= Py_None
;
3841 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxGauge
*arg1
= (wxGauge
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3847 (char *) "self", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 resultobj
= SWIG_FromInt((int)result
);
3867 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
*resultobj
;
3869 wxGauge
*arg1
= (wxGauge
*) 0 ;
3871 PyObject
* obj0
= 0 ;
3873 (char *) "self", NULL
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3895 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 wxGauge
*arg1
= (wxGauge
*) 0 ;
3899 PyObject
* obj0
= 0 ;
3900 PyObject
* obj1
= 0 ;
3902 (char *) "self",(char *) "w", NULL
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3908 arg2
= (int) SWIG_AsInt(obj1
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 (arg1
)->SetShadowWidth(arg2
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 Py_INCREF(Py_None
); resultobj
= Py_None
;
3924 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3926 wxGauge
*arg1
= (wxGauge
*) 0 ;
3928 PyObject
* obj0
= 0 ;
3930 (char *) "self", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 resultobj
= SWIG_FromInt((int)result
);
3950 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
;
3952 wxGauge
*arg1
= (wxGauge
*) 0 ;
3954 PyObject
* obj0
= 0 ;
3955 PyObject
* obj1
= 0 ;
3957 (char *) "self",(char *) "w", NULL
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3963 arg2
= (int) SWIG_AsInt(obj1
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 (arg1
)->SetBezelFace(arg2
);
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3972 Py_INCREF(Py_None
); resultobj
= Py_None
;
3979 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
*resultobj
;
3981 wxGauge
*arg1
= (wxGauge
*) 0 ;
3983 PyObject
* obj0
= 0 ;
3985 (char *) "self", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_FromInt((int)result
);
4005 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4008 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4010 return Py_BuildValue((char *)"");
4012 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4013 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4018 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4023 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4025 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4032 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4033 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4038 static PyObject
*_wrap_StaticBoxNameStr_get() {
4043 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4045 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4052 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4053 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4058 static PyObject
*_wrap_StaticTextNameStr_get() {
4063 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4065 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4072 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxWindow
*arg1
= (wxWindow
*) 0 ;
4076 wxString
*arg3
= 0 ;
4077 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4078 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4079 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4080 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4081 long arg6
= (long) 0 ;
4082 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4083 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4084 wxStaticBox
*result
;
4085 bool temp3
= False
;
4088 bool temp7
= False
;
4089 PyObject
* obj0
= 0 ;
4090 PyObject
* obj1
= 0 ;
4091 PyObject
* obj2
= 0 ;
4092 PyObject
* obj3
= 0 ;
4093 PyObject
* obj4
= 0 ;
4094 PyObject
* obj5
= 0 ;
4095 PyObject
* obj6
= 0 ;
4097 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4103 arg2
= (int) SWIG_AsInt(obj1
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 arg3
= wxString_in_helper(obj2
);
4107 if (arg3
== NULL
) SWIG_fail
;
4113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4119 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4123 arg6
= (long) SWIG_AsLong(obj5
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4128 arg7
= wxString_in_helper(obj6
);
4129 if (arg7
== NULL
) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4141 resultobj
= wxPyMake_wxObject(result
);
4165 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 wxStaticBox
*result
;
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= (wxStaticBox
*)new wxStaticBox();
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= wxPyMake_wxObject(result
);
4189 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4192 wxWindow
*arg2
= (wxWindow
*) 0 ;
4194 wxString
*arg4
= 0 ;
4195 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4196 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4197 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4198 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4199 long arg7
= (long) 0 ;
4200 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4201 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4203 bool temp4
= False
;
4206 bool temp8
= False
;
4207 PyObject
* obj0
= 0 ;
4208 PyObject
* obj1
= 0 ;
4209 PyObject
* obj2
= 0 ;
4210 PyObject
* obj3
= 0 ;
4211 PyObject
* obj4
= 0 ;
4212 PyObject
* obj5
= 0 ;
4213 PyObject
* obj6
= 0 ;
4214 PyObject
* obj7
= 0 ;
4216 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4224 arg3
= (int) SWIG_AsInt(obj2
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 arg4
= wxString_in_helper(obj3
);
4228 if (arg4
== NULL
) SWIG_fail
;
4234 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4240 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4244 arg7
= (long) SWIG_AsLong(obj6
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4249 arg8
= wxString_in_helper(obj7
);
4250 if (arg8
== NULL
) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4286 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4289 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4291 return Py_BuildValue((char *)"");
4293 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
*resultobj
;
4295 wxWindow
*arg1
= (wxWindow
*) 0 ;
4297 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4298 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4299 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4300 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4301 long arg5
= (long) wxLI_HORIZONTAL
;
4302 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4303 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4304 wxStaticLine
*result
;
4307 bool temp6
= False
;
4308 PyObject
* obj0
= 0 ;
4309 PyObject
* obj1
= 0 ;
4310 PyObject
* obj2
= 0 ;
4311 PyObject
* obj3
= 0 ;
4312 PyObject
* obj4
= 0 ;
4313 PyObject
* obj5
= 0 ;
4315 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4321 arg2
= (int) SWIG_AsInt(obj1
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4326 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4332 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4336 arg5
= (long) SWIG_AsLong(obj4
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4341 arg6
= wxString_in_helper(obj5
);
4342 if (arg6
== NULL
) SWIG_fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4368 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4370 wxStaticLine
*result
;
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 result
= (wxStaticLine
*)new wxStaticLine();
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4390 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4393 wxWindow
*arg2
= (wxWindow
*) 0 ;
4395 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4396 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4397 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4398 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4399 long arg6
= (long) wxLI_HORIZONTAL
;
4400 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4401 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4405 bool temp7
= False
;
4406 PyObject
* obj0
= 0 ;
4407 PyObject
* obj1
= 0 ;
4408 PyObject
* obj2
= 0 ;
4409 PyObject
* obj3
= 0 ;
4410 PyObject
* obj4
= 0 ;
4411 PyObject
* obj5
= 0 ;
4412 PyObject
* obj6
= 0 ;
4414 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4422 arg3
= (int) SWIG_AsInt(obj2
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4427 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4433 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4437 arg6
= (long) SWIG_AsLong(obj5
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4442 arg7
= wxString_in_helper(obj6
);
4443 if (arg7
== NULL
) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4471 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4475 PyObject
* obj0
= 0 ;
4477 (char *) "self", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4499 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (int)wxStaticLine::GetDefaultSize();
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= SWIG_FromInt((int)result
);
4521 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
4523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4524 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4526 return Py_BuildValue((char *)"");
4528 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxWindow
*arg1
= (wxWindow
*) 0 ;
4532 wxString
*arg3
= 0 ;
4533 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4534 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4535 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4536 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4537 long arg6
= (long) 0 ;
4538 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4539 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4540 wxStaticText
*result
;
4541 bool temp3
= False
;
4544 bool temp7
= False
;
4545 PyObject
* obj0
= 0 ;
4546 PyObject
* obj1
= 0 ;
4547 PyObject
* obj2
= 0 ;
4548 PyObject
* obj3
= 0 ;
4549 PyObject
* obj4
= 0 ;
4550 PyObject
* obj5
= 0 ;
4551 PyObject
* obj6
= 0 ;
4553 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4559 arg2
= (int) SWIG_AsInt(obj1
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 arg3
= wxString_in_helper(obj2
);
4563 if (arg3
== NULL
) SWIG_fail
;
4569 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4575 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4579 arg6
= (long) SWIG_AsLong(obj5
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4584 arg7
= wxString_in_helper(obj6
);
4585 if (arg7
== NULL
) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4619 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxStaticText
*result
;
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 result
= (wxStaticText
*)new wxStaticText();
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4641 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
*resultobj
;
4643 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4644 wxWindow
*arg2
= (wxWindow
*) 0 ;
4646 wxString
*arg4
= 0 ;
4647 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4648 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4649 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4650 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4651 long arg7
= (long) 0 ;
4652 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4653 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4655 bool temp4
= False
;
4658 bool temp8
= False
;
4659 PyObject
* obj0
= 0 ;
4660 PyObject
* obj1
= 0 ;
4661 PyObject
* obj2
= 0 ;
4662 PyObject
* obj3
= 0 ;
4663 PyObject
* obj4
= 0 ;
4664 PyObject
* obj5
= 0 ;
4665 PyObject
* obj6
= 0 ;
4666 PyObject
* obj7
= 0 ;
4668 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4676 arg3
= (int) SWIG_AsInt(obj2
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 arg4
= wxString_in_helper(obj3
);
4680 if (arg4
== NULL
) SWIG_fail
;
4686 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4692 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4696 arg7
= (long) SWIG_AsLong(obj6
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4701 arg8
= wxString_in_helper(obj7
);
4702 if (arg8
== NULL
) SWIG_fail
;
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4738 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
4740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4741 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4743 return Py_BuildValue((char *)"");
4745 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxWindow
*arg1
= (wxWindow
*) 0 ;
4749 wxBitmap
*arg3
= 0 ;
4750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4754 long arg6
= (long) 0 ;
4755 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4756 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4757 wxStaticBitmap
*result
;
4760 bool temp7
= False
;
4761 PyObject
* obj0
= 0 ;
4762 PyObject
* obj1
= 0 ;
4763 PyObject
* obj2
= 0 ;
4764 PyObject
* obj3
= 0 ;
4765 PyObject
* obj4
= 0 ;
4766 PyObject
* obj5
= 0 ;
4767 PyObject
* obj6
= 0 ;
4769 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4775 arg2
= (int) SWIG_AsInt(obj1
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4777 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4781 PyErr_SetString(PyExc_TypeError
,"null reference");
4787 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4793 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4797 arg6
= (long) SWIG_AsLong(obj5
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4802 arg7
= wxString_in_helper(obj6
);
4803 if (arg7
== NULL
) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4829 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxStaticBitmap
*result
;
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4851 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4854 wxWindow
*arg2
= (wxWindow
*) 0 ;
4856 wxBitmap
*arg4
= 0 ;
4857 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4858 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4859 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4860 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4861 long arg7
= (long) 0 ;
4862 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4863 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4867 bool temp8
= False
;
4868 PyObject
* obj0
= 0 ;
4869 PyObject
* obj1
= 0 ;
4870 PyObject
* obj2
= 0 ;
4871 PyObject
* obj3
= 0 ;
4872 PyObject
* obj4
= 0 ;
4873 PyObject
* obj5
= 0 ;
4874 PyObject
* obj6
= 0 ;
4875 PyObject
* obj7
= 0 ;
4877 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4885 arg3
= (int) SWIG_AsInt(obj2
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4887 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4891 PyErr_SetString(PyExc_TypeError
,"null reference");
4897 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4903 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4907 arg7
= (long) SWIG_AsLong(obj6
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4912 arg8
= wxString_in_helper(obj7
);
4913 if (arg8
== NULL
) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4941 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4947 (char *) "self", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (arg1
)->GetBitmap();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4961 wxBitmap
* resultptr
;
4962 resultptr
= new wxBitmap((wxBitmap
&) result
);
4963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4971 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4974 wxBitmap
*arg2
= 0 ;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj1
= 0 ;
4978 (char *) "self",(char *) "bitmap", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4988 PyErr_SetString(PyExc_TypeError
,"null reference");
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4998 Py_INCREF(Py_None
); resultobj
= Py_None
;
5005 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
;
5007 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5010 PyObject
* obj1
= 0 ;
5012 (char *) "self",(char *) "icon", NULL
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5022 PyErr_SetString(PyExc_TypeError
,"null reference");
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5042 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5044 return Py_BuildValue((char *)"");
5046 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5047 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5052 static PyObject
*_wrap_ListBoxNameStr_get() {
5057 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5059 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5066 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
*resultobj
;
5068 wxWindow
*arg1
= (wxWindow
*) 0 ;
5070 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5071 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5072 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5073 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5074 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5075 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5076 long arg6
= (long) 0 ;
5077 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5078 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5079 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5080 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5084 bool temp5
= False
;
5085 bool temp8
= False
;
5086 PyObject
* obj0
= 0 ;
5087 PyObject
* obj1
= 0 ;
5088 PyObject
* obj2
= 0 ;
5089 PyObject
* obj3
= 0 ;
5090 PyObject
* obj4
= 0 ;
5091 PyObject
* obj5
= 0 ;
5092 PyObject
* obj6
= 0 ;
5093 PyObject
* obj7
= 0 ;
5095 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5101 arg2
= (int) SWIG_AsInt(obj1
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5106 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5112 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5117 if (! PySequence_Check(obj4
)) {
5118 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5121 arg5
= new wxArrayString
;
5123 int i
, len
=PySequence_Length(obj4
);
5124 for (i
=0; i
<len
; i
++) {
5125 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5127 PyObject
* str
= PyObject_Unicode(item
);
5129 PyObject
* str
= PyObject_Str(item
);
5131 arg5
->Add(Py2wxString(str
));
5138 arg6
= (long) SWIG_AsLong(obj5
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5142 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5146 PyErr_SetString(PyExc_TypeError
,"null reference");
5152 arg8
= wxString_in_helper(obj7
);
5153 if (arg8
== NULL
) SWIG_fail
;
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5166 if (temp5
) delete arg5
;
5175 if (temp5
) delete arg5
;
5185 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (wxListBox
*)new wxListBox();
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5207 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxListBox
*arg1
= (wxListBox
*) 0 ;
5210 wxWindow
*arg2
= (wxWindow
*) 0 ;
5212 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5213 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5214 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5215 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5216 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5217 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5218 long arg7
= (long) 0 ;
5219 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5220 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5221 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5222 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5226 bool temp6
= False
;
5227 bool temp9
= False
;
5228 PyObject
* obj0
= 0 ;
5229 PyObject
* obj1
= 0 ;
5230 PyObject
* obj2
= 0 ;
5231 PyObject
* obj3
= 0 ;
5232 PyObject
* obj4
= 0 ;
5233 PyObject
* obj5
= 0 ;
5234 PyObject
* obj6
= 0 ;
5235 PyObject
* obj7
= 0 ;
5236 PyObject
* obj8
= 0 ;
5238 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5246 arg3
= (int) SWIG_AsInt(obj2
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5251 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5257 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5262 if (! PySequence_Check(obj5
)) {
5263 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5266 arg6
= new wxArrayString
;
5268 int i
, len
=PySequence_Length(obj5
);
5269 for (i
=0; i
<len
; i
++) {
5270 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5272 PyObject
* str
= PyObject_Unicode(item
);
5274 PyObject
* str
= PyObject_Str(item
);
5276 arg6
->Add(Py2wxString(str
));
5283 arg7
= (long) SWIG_AsLong(obj6
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5287 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5288 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5291 PyErr_SetString(PyExc_TypeError
,"null reference");
5297 arg9
= wxString_in_helper(obj8
);
5298 if (arg9
== NULL
) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5313 if (temp6
) delete arg6
;
5322 if (temp6
) delete arg6
;
5332 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxListBox
*arg1
= (wxListBox
*) 0 ;
5335 wxString
*arg2
= 0 ;
5337 PyObject
*arg4
= (PyObject
*) NULL
;
5338 bool temp2
= False
;
5339 PyObject
* obj0
= 0 ;
5340 PyObject
* obj1
= 0 ;
5341 PyObject
* obj2
= 0 ;
5342 PyObject
* obj3
= 0 ;
5344 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5351 arg2
= wxString_in_helper(obj1
);
5352 if (arg2
== NULL
) SWIG_fail
;
5355 arg3
= (int) SWIG_AsInt(obj2
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5367 Py_INCREF(Py_None
); resultobj
= Py_None
;
5382 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5384 wxListBox
*arg1
= (wxListBox
*) 0 ;
5385 wxArrayString
*arg2
= 0 ;
5387 bool temp2
= False
;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5390 PyObject
* obj2
= 0 ;
5392 (char *) "self",(char *) "items",(char *) "pos", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5399 if (! PySequence_Check(obj1
)) {
5400 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5403 arg2
= new wxArrayString
;
5405 int i
, len
=PySequence_Length(obj1
);
5406 for (i
=0; i
<len
; i
++) {
5407 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5409 PyObject
* str
= PyObject_Unicode(item
);
5411 PyObject
* str
= PyObject_Str(item
);
5413 arg2
->Add(Py2wxString(str
));
5418 arg3
= (int) SWIG_AsInt(obj2
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 Py_INCREF(Py_None
); resultobj
= Py_None
;
5429 if (temp2
) delete arg2
;
5434 if (temp2
) delete arg2
;
5440 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxListBox
*arg1
= (wxListBox
*) 0 ;
5443 wxArrayString
*arg2
= 0 ;
5444 bool temp2
= False
;
5445 PyObject
* obj0
= 0 ;
5446 PyObject
* obj1
= 0 ;
5448 (char *) "self",(char *) "items", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5455 if (! PySequence_Check(obj1
)) {
5456 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5459 arg2
= new wxArrayString
;
5461 int i
, len
=PySequence_Length(obj1
);
5462 for (i
=0; i
<len
; i
++) {
5463 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5465 PyObject
* str
= PyObject_Unicode(item
);
5467 PyObject
* str
= PyObject_Str(item
);
5469 arg2
->Add(Py2wxString(str
));
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 (arg1
)->Set((wxArrayString
const &)*arg2
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 Py_INCREF(Py_None
); resultobj
= Py_None
;
5483 if (temp2
) delete arg2
;
5488 if (temp2
) delete arg2
;
5494 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 wxListBox
*arg1
= (wxListBox
*) 0 ;
5499 PyObject
* obj0
= 0 ;
5500 PyObject
* obj1
= 0 ;
5502 (char *) "self",(char *) "n", NULL
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5508 arg2
= (int) SWIG_AsInt(obj1
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5526 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5528 wxListBox
*arg1
= (wxListBox
*) 0 ;
5530 bool arg3
= (bool) True
;
5531 PyObject
* obj0
= 0 ;
5532 PyObject
* obj1
= 0 ;
5533 PyObject
* obj2
= 0 ;
5535 (char *) "self",(char *) "n",(char *) "select", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 arg2
= (int) SWIG_AsInt(obj1
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 arg3
= (bool) SWIG_AsBool(obj2
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 (arg1
)->SetSelection(arg2
,arg3
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 Py_INCREF(Py_None
); resultobj
= Py_None
;
5561 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxListBox
*arg1
= (wxListBox
*) 0 ;
5565 PyObject
* obj0
= 0 ;
5566 PyObject
* obj1
= 0 ;
5568 (char *) "self",(char *) "n", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 arg2
= (int) SWIG_AsInt(obj1
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 (arg1
)->Select(arg2
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 Py_INCREF(Py_None
); resultobj
= Py_None
;
5590 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxListBox
*arg1
= (wxListBox
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5597 (char *) "self",(char *) "n", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5603 arg2
= (int) SWIG_AsInt(obj1
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 (arg1
)->Deselect(arg2
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 Py_INCREF(Py_None
); resultobj
= Py_None
;
5619 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxListBox
*arg1
= (wxListBox
*) 0 ;
5622 int arg2
= (int) -1 ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5626 (char *) "self",(char *) "itemToLeaveSelected", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5633 arg2
= (int) SWIG_AsInt(obj1
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 (arg1
)->DeselectAll(arg2
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 Py_INCREF(Py_None
); resultobj
= Py_None
;
5650 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxListBox
*arg1
= (wxListBox
*) 0 ;
5653 wxString
*arg2
= 0 ;
5654 bool arg3
= (bool) True
;
5656 bool temp2
= False
;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5659 PyObject
* obj2
= 0 ;
5661 (char *) "self",(char *) "s",(char *) "select", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5668 arg2
= wxString_in_helper(obj1
);
5669 if (arg2
== NULL
) SWIG_fail
;
5673 arg3
= (bool) SWIG_AsBool(obj2
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5700 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
*resultobj
;
5702 wxListBox
*arg1
= (wxListBox
*) 0 ;
5704 PyObject
* obj0
= 0 ;
5706 (char *) "self", NULL
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5726 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
*resultobj
;
5728 wxListBox
*arg1
= (wxListBox
*) 0 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5733 (char *) "self",(char *) "n", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5739 arg2
= (int) SWIG_AsInt(obj1
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 (arg1
)->SetFirstItem(arg2
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 Py_INCREF(Py_None
); resultobj
= Py_None
;
5755 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
*resultobj
;
5757 wxListBox
*arg1
= (wxListBox
*) 0 ;
5758 wxString
*arg2
= 0 ;
5759 bool temp2
= False
;
5760 PyObject
* obj0
= 0 ;
5761 PyObject
* obj1
= 0 ;
5763 (char *) "self",(char *) "s", NULL
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5770 arg2
= wxString_in_helper(obj1
);
5771 if (arg2
== NULL
) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 Py_INCREF(Py_None
); resultobj
= Py_None
;
5796 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxListBox
*arg1
= (wxListBox
*) 0 ;
5800 PyObject
* obj0
= 0 ;
5801 PyObject
* obj1
= 0 ;
5803 (char *) "self",(char *) "n", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5809 arg2
= (int) SWIG_AsInt(obj1
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 (arg1
)->EnsureVisible(arg2
);
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5818 Py_INCREF(Py_None
); resultobj
= Py_None
;
5825 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxListBox
*arg1
= (wxListBox
*) 0 ;
5828 wxString
*arg2
= 0 ;
5829 bool temp2
= False
;
5830 PyObject
* obj0
= 0 ;
5831 PyObject
* obj1
= 0 ;
5833 (char *) "self",(char *) "s", NULL
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5840 arg2
= wxString_in_helper(obj1
);
5841 if (arg2
== NULL
) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 Py_INCREF(Py_None
); resultobj
= Py_None
;
5866 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 wxListBox
*arg1
= (wxListBox
*) 0 ;
5870 PyObject
* obj0
= 0 ;
5872 (char *) "self", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5894 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxListBox
*arg1
= (wxListBox
*) 0 ;
5898 wxColour
*arg3
= 0 ;
5900 PyObject
* obj0
= 0 ;
5901 PyObject
* obj1
= 0 ;
5902 PyObject
* obj2
= 0 ;
5904 (char *) "self",(char *) "item",(char *) "c", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5910 arg2
= (int) SWIG_AsInt(obj1
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5914 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 Py_INCREF(Py_None
); resultobj
= Py_None
;
5930 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxListBox
*arg1
= (wxListBox
*) 0 ;
5934 wxColour
*arg3
= 0 ;
5936 PyObject
* obj0
= 0 ;
5937 PyObject
* obj1
= 0 ;
5938 PyObject
* obj2
= 0 ;
5940 (char *) "self",(char *) "item",(char *) "c", NULL
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5946 arg2
= (int) SWIG_AsInt(obj1
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5950 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 Py_INCREF(Py_None
); resultobj
= Py_None
;
5966 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxListBox
*arg1
= (wxListBox
*) 0 ;
5971 PyObject
* obj0
= 0 ;
5972 PyObject
* obj1
= 0 ;
5973 PyObject
* obj2
= 0 ;
5975 (char *) "self",(char *) "item",(char *) "f", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5981 arg2
= (int) SWIG_AsInt(obj1
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5983 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
5984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5987 PyErr_SetString(PyExc_TypeError
,"null reference");
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 Py_INCREF(Py_None
); resultobj
= Py_None
;
6004 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6007 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6009 return Py_BuildValue((char *)"");
6011 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxWindow
*arg1
= (wxWindow
*) 0 ;
6015 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6016 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6017 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6018 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6019 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6020 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6021 long arg6
= (long) 0 ;
6022 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6023 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6024 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6025 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6026 wxCheckListBox
*result
;
6029 bool temp5
= False
;
6030 bool temp8
= False
;
6031 PyObject
* obj0
= 0 ;
6032 PyObject
* obj1
= 0 ;
6033 PyObject
* obj2
= 0 ;
6034 PyObject
* obj3
= 0 ;
6035 PyObject
* obj4
= 0 ;
6036 PyObject
* obj5
= 0 ;
6037 PyObject
* obj6
= 0 ;
6038 PyObject
* obj7
= 0 ;
6040 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 arg2
= (int) SWIG_AsInt(obj1
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6051 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6057 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6062 if (! PySequence_Check(obj4
)) {
6063 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6066 arg5
= new wxArrayString
;
6068 int i
, len
=PySequence_Length(obj4
);
6069 for (i
=0; i
<len
; i
++) {
6070 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6072 PyObject
* str
= PyObject_Unicode(item
);
6074 PyObject
* str
= PyObject_Str(item
);
6076 arg5
->Add(Py2wxString(str
));
6083 arg6
= (long) SWIG_AsLong(obj5
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6087 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6091 PyErr_SetString(PyExc_TypeError
,"null reference");
6097 arg8
= wxString_in_helper(obj7
);
6098 if (arg8
== NULL
) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6111 if (temp5
) delete arg5
;
6120 if (temp5
) delete arg5
;
6130 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxCheckListBox
*result
;
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (wxCheckListBox
*)new wxCheckListBox();
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6152 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6155 wxWindow
*arg2
= (wxWindow
*) 0 ;
6157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6161 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6162 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6163 long arg7
= (long) 0 ;
6164 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6165 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6166 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6167 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6171 bool temp6
= False
;
6172 bool temp9
= False
;
6173 PyObject
* obj0
= 0 ;
6174 PyObject
* obj1
= 0 ;
6175 PyObject
* obj2
= 0 ;
6176 PyObject
* obj3
= 0 ;
6177 PyObject
* obj4
= 0 ;
6178 PyObject
* obj5
= 0 ;
6179 PyObject
* obj6
= 0 ;
6180 PyObject
* obj7
= 0 ;
6181 PyObject
* obj8
= 0 ;
6183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6191 arg3
= (int) SWIG_AsInt(obj2
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6196 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6202 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6207 if (! PySequence_Check(obj5
)) {
6208 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6211 arg6
= new wxArrayString
;
6213 int i
, len
=PySequence_Length(obj5
);
6214 for (i
=0; i
<len
; i
++) {
6215 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6217 PyObject
* str
= PyObject_Unicode(item
);
6219 PyObject
* str
= PyObject_Str(item
);
6221 arg6
->Add(Py2wxString(str
));
6228 arg7
= (long) SWIG_AsLong(obj6
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6232 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6236 PyErr_SetString(PyExc_TypeError
,"null reference");
6242 arg9
= wxString_in_helper(obj8
);
6243 if (arg9
== NULL
) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6258 if (temp6
) delete arg6
;
6267 if (temp6
) delete arg6
;
6277 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
*resultobj
;
6279 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6285 (char *) "self",(char *) "index", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6291 arg2
= (int) SWIG_AsInt(obj1
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (bool)(arg1
)->IsChecked(arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6309 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6313 int arg3
= (int) True
;
6314 PyObject
* obj0
= 0 ;
6315 PyObject
* obj1
= 0 ;
6316 PyObject
* obj2
= 0 ;
6318 (char *) "self",(char *) "index",(char *) "check", NULL
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6324 arg2
= (int) SWIG_AsInt(obj1
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 arg3
= (int) SWIG_AsInt(obj2
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 (arg1
)->Check(arg2
,arg3
);
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 Py_INCREF(Py_None
); resultobj
= Py_None
;
6344 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6350 PyObject
* obj0
= 0 ;
6351 PyObject
* obj1
= 0 ;
6353 (char *) "self",(char *) "pt", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6361 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_FromInt((int)result
);
6377 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6383 PyObject
* obj0
= 0 ;
6384 PyObject
* obj1
= 0 ;
6385 PyObject
* obj2
= 0 ;
6387 (char *) "self",(char *) "x",(char *) "y", NULL
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6393 arg2
= (int) SWIG_AsInt(obj1
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6395 arg3
= (int) SWIG_AsInt(obj2
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6404 resultobj
= SWIG_FromInt((int)result
);
6411 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
6413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6414 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6416 return Py_BuildValue((char *)"");
6418 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6419 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6424 static PyObject
*_wrap_TextCtrlNameStr_get() {
6429 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6431 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6438 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*, PyObject
*args
) {
6439 PyObject
*resultobj
;
6442 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 result
= (wxTextAttr
*)new wxTextAttr();
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6457 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*, PyObject
*args
) {
6458 PyObject
*resultobj
;
6459 wxColour
*arg1
= 0 ;
6460 wxColour
const &arg2_defvalue
= wxNullColour
;
6461 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6462 wxFont
const &arg3_defvalue
= wxNullFont
;
6463 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6464 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6468 PyObject
* obj0
= 0 ;
6469 PyObject
* obj1
= 0 ;
6470 PyObject
* obj2
= 0 ;
6471 PyObject
* obj3
= 0 ;
6473 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6476 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6481 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6485 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6489 PyErr_SetString(PyExc_TypeError
,"null reference");
6494 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6511 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6516 argc
= PyObject_Length(args
);
6517 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6518 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6521 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6523 if ((argc
>= 1) && (argc
<= 4)) {
6526 _v
= wxColour_typecheck(argv
[0]);
6530 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6533 _v
= wxColour_typecheck(argv
[1]);
6537 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6541 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6550 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6552 _v
= SWIG_CheckInt(argv
[3]);
6554 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6561 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6566 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6571 (char *) "self", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6591 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6594 PyObject
* obj0
= 0 ;
6596 (char *) "self", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 Py_INCREF(Py_None
); resultobj
= Py_None
;
6616 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
;
6618 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6619 wxColour
*arg2
= 0 ;
6621 PyObject
* obj0
= 0 ;
6622 PyObject
* obj1
= 0 ;
6624 (char *) "self",(char *) "colText", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6632 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 Py_INCREF(Py_None
); resultobj
= Py_None
;
6648 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
;
6650 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6651 wxColour
*arg2
= 0 ;
6653 PyObject
* obj0
= 0 ;
6654 PyObject
* obj1
= 0 ;
6656 (char *) "self",(char *) "colBack", NULL
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6664 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6673 Py_INCREF(Py_None
); resultobj
= Py_None
;
6680 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
;
6682 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6684 long arg3
= (long) wxTEXT_ATTR_FONT
;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6687 PyObject
* obj2
= 0 ;
6689 (char *) "self",(char *) "font",(char *) "flags", NULL
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6699 PyErr_SetString(PyExc_TypeError
,"null reference");
6703 arg3
= (long) SWIG_AsLong(obj2
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 Py_INCREF(Py_None
); resultobj
= Py_None
;
6720 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
;
6722 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6724 PyObject
* obj0
= 0 ;
6725 PyObject
* obj1
= 0 ;
6727 (char *) "self",(char *) "alignment", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6733 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 Py_INCREF(Py_None
); resultobj
= Py_None
;
6749 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
;
6751 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6752 wxArrayInt
*arg2
= 0 ;
6753 bool temp2
= False
;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6757 (char *) "self",(char *) "tabs", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6764 if (! PySequence_Check(obj1
)) {
6765 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6768 arg2
= new wxArrayInt
;
6770 int i
, len
=PySequence_Length(obj1
);
6771 for (i
=0; i
<len
; i
++) {
6772 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6773 PyObject
* number
= PyNumber_Int(item
);
6774 arg2
->Add(PyInt_AS_LONG(number
));
6780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6781 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6783 wxPyEndAllowThreads(__tstate
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6786 Py_INCREF(Py_None
); resultobj
= Py_None
;
6788 if (temp2
) delete arg2
;
6793 if (temp2
) delete arg2
;
6799 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6806 (char *) "self",(char *) "indent", NULL
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6812 arg2
= (int) SWIG_AsInt(obj1
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 (arg1
)->SetLeftIndent(arg2
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 Py_INCREF(Py_None
); resultobj
= Py_None
;
6828 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6835 (char *) "self",(char *) "indent", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6841 arg2
= (int) SWIG_AsInt(obj1
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 (arg1
)->SetRightIndent(arg2
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 Py_INCREF(Py_None
); resultobj
= Py_None
;
6857 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6862 PyObject
* obj1
= 0 ;
6864 (char *) "self",(char *) "flags", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6870 arg2
= (long) SWIG_AsLong(obj1
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 (arg1
)->SetFlags(arg2
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 Py_INCREF(Py_None
); resultobj
= Py_None
;
6886 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6890 PyObject
* obj0
= 0 ;
6892 (char *) "self", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6914 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6918 PyObject
* obj0
= 0 ;
6920 (char *) "self", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6930 wxPyEndAllowThreads(__tstate
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6942 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6946 PyObject
* obj0
= 0 ;
6948 (char *) "self", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6970 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "self", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6998 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7002 PyObject
* obj0
= 0 ;
7004 (char *) "self", NULL
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7026 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7032 (char *) "self", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7054 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7058 PyObject
* obj0
= 0 ;
7060 (char *) "self", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7082 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
;
7084 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7088 PyObject
* obj1
= 0 ;
7090 (char *) "self",(char *) "flag", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 arg2
= (long) SWIG_AsLong(obj1
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7114 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7120 (char *) "self", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7130 result
= (wxColour
*) &_result_ref
;
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7143 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7147 PyObject
* obj0
= 0 ;
7149 (char *) "self", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7159 result
= (wxColour
*) &_result_ref
;
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7172 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7178 (char *) "self", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7188 result
= (wxFont
*) &_result_ref
;
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7195 wxFont
* resultptr
= new wxFont(*result
);
7196 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7204 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7208 PyObject
* obj0
= 0 ;
7210 (char *) "self", NULL
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= SWIG_FromInt((int)result
);
7230 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
;
7232 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7234 PyObject
* obj0
= 0 ;
7236 (char *) "self", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7246 result
= (wxArrayInt
*) &_result_ref
;
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= PyList_New(0);
7255 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7256 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7257 PyList_Append(resultobj
, val
);
7267 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7271 PyObject
* obj0
= 0 ;
7273 (char *) "self", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_FromLong((long)result
);
7293 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7299 (char *) "self", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_FromLong((long)result
);
7319 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7321 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7323 PyObject
* obj0
= 0 ;
7325 (char *) "self", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 resultobj
= SWIG_FromLong((long)result
);
7345 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7351 (char *) "self", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7373 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxTextAttr
*arg1
= 0 ;
7376 wxTextAttr
*arg2
= 0 ;
7377 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7381 PyObject
* obj2
= 0 ;
7383 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7391 PyErr_SetString(PyExc_TypeError
,"null reference");
7394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7398 PyErr_SetString(PyExc_TypeError
,"null reference");
7401 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7411 wxTextAttr
* resultptr
;
7412 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7421 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
7423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7424 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7426 return Py_BuildValue((char *)"");
7428 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxWindow
*arg1
= (wxWindow
*) 0 ;
7432 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7433 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7434 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7435 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7436 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7437 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7438 long arg6
= (long) 0 ;
7439 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7440 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7441 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7442 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7444 bool temp3
= False
;
7447 bool temp8
= False
;
7448 PyObject
* obj0
= 0 ;
7449 PyObject
* obj1
= 0 ;
7450 PyObject
* obj2
= 0 ;
7451 PyObject
* obj3
= 0 ;
7452 PyObject
* obj4
= 0 ;
7453 PyObject
* obj5
= 0 ;
7454 PyObject
* obj6
= 0 ;
7455 PyObject
* obj7
= 0 ;
7457 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7463 arg2
= (int) SWIG_AsInt(obj1
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 arg3
= wxString_in_helper(obj2
);
7468 if (arg3
== NULL
) SWIG_fail
;
7475 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7481 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7485 arg6
= (long) SWIG_AsLong(obj5
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7489 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7493 PyErr_SetString(PyExc_TypeError
,"null reference");
7499 arg8
= wxString_in_helper(obj7
);
7500 if (arg8
== NULL
) SWIG_fail
;
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= wxPyMake_wxObject(result
);
7536 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (wxTextCtrl
*)new wxTextCtrl();
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= wxPyMake_wxObject(result
);
7560 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
*resultobj
;
7562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7563 wxWindow
*arg2
= (wxWindow
*) 0 ;
7565 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7566 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7567 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7568 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7569 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7570 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7571 long arg7
= (long) 0 ;
7572 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7573 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7574 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7575 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7577 bool temp4
= False
;
7580 bool temp9
= False
;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj1
= 0 ;
7583 PyObject
* obj2
= 0 ;
7584 PyObject
* obj3
= 0 ;
7585 PyObject
* obj4
= 0 ;
7586 PyObject
* obj5
= 0 ;
7587 PyObject
* obj6
= 0 ;
7588 PyObject
* obj7
= 0 ;
7589 PyObject
* obj8
= 0 ;
7591 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7599 arg3
= (int) SWIG_AsInt(obj2
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7603 arg4
= wxString_in_helper(obj3
);
7604 if (arg4
== NULL
) SWIG_fail
;
7611 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7617 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7621 arg7
= (long) SWIG_AsLong(obj6
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7625 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7629 PyErr_SetString(PyExc_TypeError
,"null reference");
7635 arg9
= wxString_in_helper(obj8
);
7636 if (arg9
== NULL
) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7672 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7678 (char *) "self", NULL
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7704 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7707 wxString
*arg2
= 0 ;
7708 bool temp2
= False
;
7709 PyObject
* obj0
= 0 ;
7710 PyObject
* obj1
= 0 ;
7712 (char *) "self",(char *) "value", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7719 arg2
= wxString_in_helper(obj1
);
7720 if (arg2
== NULL
) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 (arg1
)->SetValue((wxString
const &)*arg2
);
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 Py_INCREF(Py_None
); resultobj
= Py_None
;
7745 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7753 PyObject
* obj2
= 0 ;
7755 (char *) "self",(char *) "from",(char *) "to", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7761 arg2
= (long) SWIG_AsLong(obj1
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7763 arg3
= (long) SWIG_AsLong(obj2
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7785 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7790 PyObject
* obj0
= 0 ;
7791 PyObject
* obj1
= 0 ;
7793 (char *) "self",(char *) "lineNo", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7799 arg2
= (long) SWIG_AsLong(obj1
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= SWIG_FromInt((int)result
);
7815 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7820 PyObject
* obj0
= 0 ;
7821 PyObject
* obj1
= 0 ;
7823 (char *) "self",(char *) "lineNo", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7829 arg2
= (long) SWIG_AsLong(obj1
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7851 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
;
7853 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7855 PyObject
* obj0
= 0 ;
7857 (char *) "self", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_FromInt((int)result
);
7877 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7881 PyObject
* obj0
= 0 ;
7883 (char *) "self", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7905 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7907 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7909 PyObject
* obj0
= 0 ;
7911 (char *) "self", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7933 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7937 PyObject
* obj0
= 0 ;
7939 (char *) "self", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7961 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7965 PyObject
* obj0
= 0 ;
7967 (char *) "self", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7989 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7991 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7992 long *arg2
= (long *) 0 ;
7993 long *arg3
= (long *) 0 ;
7996 PyObject
* obj0
= 0 ;
7998 (char *) "self", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 Py_INCREF(Py_None
); resultobj
= Py_None
;
8015 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8016 resultobj
= t_output_helper(resultobj
,o
);
8019 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8020 resultobj
= t_output_helper(resultobj
,o
);
8028 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8032 PyObject
* obj0
= 0 ;
8034 (char *) "self", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8060 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8063 PyObject
* obj0
= 0 ;
8065 (char *) "self", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 Py_INCREF(Py_None
); resultobj
= Py_None
;
8085 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8090 wxString
*arg4
= 0 ;
8091 bool temp4
= False
;
8092 PyObject
* obj0
= 0 ;
8093 PyObject
* obj1
= 0 ;
8094 PyObject
* obj2
= 0 ;
8095 PyObject
* obj3
= 0 ;
8097 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8103 arg2
= (long) SWIG_AsLong(obj1
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8105 arg3
= (long) SWIG_AsLong(obj2
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 arg4
= wxString_in_helper(obj3
);
8109 if (arg4
== NULL
) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8140 PyObject
* obj1
= 0 ;
8141 PyObject
* obj2
= 0 ;
8143 (char *) "self",(char *) "from",(char *) "to", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8149 arg2
= (long) SWIG_AsLong(obj1
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8151 arg3
= (long) SWIG_AsLong(obj2
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 (arg1
)->Remove(arg2
,arg3
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 Py_INCREF(Py_None
); resultobj
= Py_None
;
8167 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8170 wxString
*arg2
= 0 ;
8172 bool temp2
= False
;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8176 (char *) "self",(char *) "file", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8183 arg2
= wxString_in_helper(obj1
);
8184 if (arg2
== NULL
) SWIG_fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8211 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8214 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8215 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8217 bool temp2
= False
;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8221 (char *) "self",(char *) "file", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8229 arg2
= wxString_in_helper(obj1
);
8230 if (arg2
== NULL
) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8258 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8261 PyObject
* obj0
= 0 ;
8263 (char *) "self", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 (arg1
)->MarkDirty();
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8276 Py_INCREF(Py_None
); resultobj
= Py_None
;
8283 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8286 PyObject
* obj0
= 0 ;
8288 (char *) "self", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 (arg1
)->DiscardEdits();
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 Py_INCREF(Py_None
); resultobj
= Py_None
;
8308 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8311 unsigned long arg2
;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8315 (char *) "self",(char *) "len", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8321 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 (arg1
)->SetMaxLength(arg2
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 Py_INCREF(Py_None
); resultobj
= Py_None
;
8337 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8340 wxString
*arg2
= 0 ;
8341 bool temp2
= False
;
8342 PyObject
* obj0
= 0 ;
8343 PyObject
* obj1
= 0 ;
8345 (char *) "self",(char *) "text", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8352 arg2
= wxString_in_helper(obj1
);
8353 if (arg2
== NULL
) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 (arg1
)->WriteText((wxString
const &)*arg2
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 Py_INCREF(Py_None
); resultobj
= Py_None
;
8378 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8381 wxString
*arg2
= 0 ;
8382 bool temp2
= False
;
8383 PyObject
* obj0
= 0 ;
8384 PyObject
* obj1
= 0 ;
8386 (char *) "self",(char *) "text", NULL
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8393 arg2
= wxString_in_helper(obj1
);
8394 if (arg2
== NULL
) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 (arg1
)->AppendText((wxString
const &)*arg2
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 Py_INCREF(Py_None
); resultobj
= Py_None
;
8419 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8422 wxKeyEvent
*arg2
= 0 ;
8424 PyObject
* obj0
= 0 ;
8425 PyObject
* obj1
= 0 ;
8427 (char *) "self",(char *) "event", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8437 PyErr_SetString(PyExc_TypeError
,"null reference");
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8456 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8461 wxTextAttr
*arg4
= 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 PyObject
* obj2
= 0 ;
8466 PyObject
* obj3
= 0 ;
8468 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8474 arg2
= (long) SWIG_AsLong(obj1
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8476 arg3
= (long) SWIG_AsLong(obj2
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8478 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8482 PyErr_SetString(PyExc_TypeError
,"null reference");
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8501 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8505 wxTextAttr
*arg3
= 0 ;
8507 PyObject
* obj0
= 0 ;
8508 PyObject
* obj1
= 0 ;
8509 PyObject
* obj2
= 0 ;
8511 (char *) "self",(char *) "position",(char *) "style", NULL
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8517 arg2
= (long) SWIG_AsLong(obj1
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8519 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8523 PyErr_SetString(PyExc_TypeError
,"null reference");
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8542 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8545 wxTextAttr
*arg2
= 0 ;
8547 PyObject
* obj0
= 0 ;
8548 PyObject
* obj1
= 0 ;
8550 (char *) "self",(char *) "style", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8560 PyErr_SetString(PyExc_TypeError
,"null reference");
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8579 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8583 PyObject
* obj0
= 0 ;
8585 (char *) "self", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8595 result
= (wxTextAttr
*) &_result_ref
;
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8608 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
;
8610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8614 PyObject
* obj0
= 0 ;
8615 PyObject
* obj1
= 0 ;
8616 PyObject
* obj2
= 0 ;
8618 (char *) "self",(char *) "x",(char *) "y", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8624 arg2
= (long) SWIG_AsLong(obj1
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8626 arg3
= (long) SWIG_AsLong(obj2
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_FromLong((long)result
);
8642 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8646 long *arg3
= (long *) 0 ;
8647 long *arg4
= (long *) 0 ;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8653 (char *) "self",(char *) "pos", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8661 arg2
= (long) SWIG_AsLong(obj1
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 Py_INCREF(Py_None
); resultobj
= Py_None
;
8672 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8673 resultobj
= t_output_helper(resultobj
,o
);
8676 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8677 resultobj
= t_output_helper(resultobj
,o
);
8685 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
*resultobj
;
8687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8689 PyObject
* obj0
= 0 ;
8690 PyObject
* obj1
= 0 ;
8692 (char *) "self",(char *) "pos", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8698 arg2
= (long) SWIG_AsLong(obj1
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 (arg1
)->ShowPosition(arg2
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 Py_INCREF(Py_None
); resultobj
= Py_None
;
8714 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8718 long *arg3
= (long *) 0 ;
8719 long *arg4
= (long *) 0 ;
8724 PyObject
* obj0
= 0 ;
8725 PyObject
* obj1
= 0 ;
8727 (char *) "self",(char *) "pt", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8737 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= SWIG_FromInt((int)result
);
8748 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8749 resultobj
= t_output_helper(resultobj
,o
);
8752 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8753 resultobj
= t_output_helper(resultobj
,o
);
8761 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8766 (char *) "self", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8789 PyObject
* obj0
= 0 ;
8791 (char *) "self", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 Py_INCREF(Py_None
); resultobj
= Py_None
;
8811 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8816 (char *) "self", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 Py_INCREF(Py_None
); resultobj
= Py_None
;
8836 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8840 PyObject
* obj0
= 0 ;
8842 (char *) "self", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8864 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8870 (char *) "self", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8892 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8898 (char *) "self", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8920 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8922 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8923 PyObject
* obj0
= 0 ;
8925 (char *) "self", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8945 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "self", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",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();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8974 PyObject
* obj0
= 0 ;
8976 (char *) "self", NULL
8979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8998 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9004 (char *) "self", NULL
9007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9026 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9033 (char *) "self",(char *) "pos", NULL
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9039 arg2
= (long) SWIG_AsLong(obj1
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 (arg1
)->SetInsertionPoint(arg2
);
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 Py_INCREF(Py_None
); resultobj
= Py_None
;
9055 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9058 PyObject
* obj0
= 0 ;
9060 (char *) "self", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->SetInsertionPointEnd();
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 Py_INCREF(Py_None
); resultobj
= Py_None
;
9080 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9084 PyObject
* obj0
= 0 ;
9086 (char *) "self", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= SWIG_FromLong((long)result
);
9106 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9110 PyObject
* obj0
= 0 ;
9112 (char *) "self", NULL
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= SWIG_FromLong((long)result
);
9132 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
;
9134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9137 PyObject
* obj0
= 0 ;
9138 PyObject
* obj1
= 0 ;
9139 PyObject
* obj2
= 0 ;
9141 (char *) "self",(char *) "from",(char *) "to", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9147 arg2
= (long) SWIG_AsLong(obj1
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9149 arg3
= (long) SWIG_AsLong(obj2
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 (arg1
)->SetSelection(arg2
,arg3
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 Py_INCREF(Py_None
); resultobj
= Py_None
;
9165 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9168 PyObject
* obj0
= 0 ;
9170 (char *) "self", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 (arg1
)->SelectAll();
9180 wxPyEndAllowThreads(__tstate
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 Py_INCREF(Py_None
); resultobj
= Py_None
;
9190 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
;
9192 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9194 PyObject
* obj0
= 0 ;
9195 PyObject
* obj1
= 0 ;
9197 (char *) "self",(char *) "editable", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9203 arg2
= (bool) SWIG_AsBool(obj1
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 (arg1
)->SetEditable(arg2
);
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 Py_INCREF(Py_None
); resultobj
= Py_None
;
9219 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9222 wxString
*arg2
= 0 ;
9223 bool temp2
= False
;
9224 PyObject
* obj0
= 0 ;
9225 PyObject
* obj1
= 0 ;
9227 (char *) "self",(char *) "text", NULL
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9234 arg2
= wxString_in_helper(obj1
);
9235 if (arg2
== NULL
) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 Py_INCREF(Py_None
); resultobj
= Py_None
;
9260 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9267 PyObject
* obj1
= 0 ;
9268 PyObject
* obj2
= 0 ;
9270 (char *) "self",(char *) "from",(char *) "to", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9276 arg2
= (long) SWIG_AsLong(obj1
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9278 arg3
= (long) SWIG_AsLong(obj2
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9300 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
9302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9303 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9305 return Py_BuildValue((char *)"");
9307 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9310 wxMouseEvent
*arg2
= 0 ;
9313 wxTextUrlEvent
*result
;
9314 PyObject
* obj0
= 0 ;
9315 PyObject
* obj1
= 0 ;
9316 PyObject
* obj2
= 0 ;
9317 PyObject
* obj3
= 0 ;
9319 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9323 arg1
= (int) SWIG_AsInt(obj0
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9329 PyErr_SetString(PyExc_TypeError
,"null reference");
9332 arg3
= (long) SWIG_AsLong(obj2
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9334 arg4
= (long) SWIG_AsLong(obj3
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9350 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9353 wxMouseEvent
*result
;
9354 PyObject
* obj0
= 0 ;
9356 (char *) "self", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9366 result
= (wxMouseEvent
*) &_result_ref
;
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9379 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "self", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= SWIG_FromLong((long)result
);
9405 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9409 PyObject
* obj0
= 0 ;
9411 (char *) "self", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= SWIG_FromLong((long)result
);
9431 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
9433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9434 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9436 return Py_BuildValue((char *)"");
9438 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9439 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9444 static PyObject
*_wrap_ScrollBarNameStr_get() {
9449 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9451 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9458 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxWindow
*arg1
= (wxWindow
*) 0 ;
9461 int arg2
= (int) -1 ;
9462 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9463 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9464 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9465 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9466 long arg5
= (long) wxSB_HORIZONTAL
;
9467 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9468 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9469 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9471 wxScrollBar
*result
;
9474 bool temp7
= False
;
9475 PyObject
* obj0
= 0 ;
9476 PyObject
* obj1
= 0 ;
9477 PyObject
* obj2
= 0 ;
9478 PyObject
* obj3
= 0 ;
9479 PyObject
* obj4
= 0 ;
9480 PyObject
* obj5
= 0 ;
9481 PyObject
* obj6
= 0 ;
9483 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9490 arg2
= (int) SWIG_AsInt(obj1
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9496 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9502 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9506 arg5
= (long) SWIG_AsLong(obj4
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9510 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9514 PyErr_SetString(PyExc_TypeError
,"null reference");
9520 arg7
= wxString_in_helper(obj6
);
9521 if (arg7
== NULL
) SWIG_fail
;
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9547 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxScrollBar
*result
;
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (wxScrollBar
*)new wxScrollBar();
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9569 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9572 wxWindow
*arg2
= (wxWindow
*) 0 ;
9573 int arg3
= (int) -1 ;
9574 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9575 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9576 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9577 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9578 long arg6
= (long) wxSB_HORIZONTAL
;
9579 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9580 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9581 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9582 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9586 bool temp8
= False
;
9587 PyObject
* obj0
= 0 ;
9588 PyObject
* obj1
= 0 ;
9589 PyObject
* obj2
= 0 ;
9590 PyObject
* obj3
= 0 ;
9591 PyObject
* obj4
= 0 ;
9592 PyObject
* obj5
= 0 ;
9593 PyObject
* obj6
= 0 ;
9594 PyObject
* obj7
= 0 ;
9596 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9605 arg3
= (int) SWIG_AsInt(obj2
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9611 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9617 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9621 arg6
= (long) SWIG_AsLong(obj5
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9625 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9629 PyErr_SetString(PyExc_TypeError
,"null reference");
9635 arg8
= wxString_in_helper(obj7
);
9636 if (arg8
== NULL
) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9664 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
;
9666 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9668 PyObject
* obj0
= 0 ;
9670 (char *) "self", NULL
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) SWIG_fail
;
9683 resultobj
= SWIG_FromInt((int)result
);
9690 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
;
9692 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9694 PyObject
* obj0
= 0 ;
9696 (char *) "self", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= SWIG_FromInt((int)result
);
9716 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
;
9718 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9720 PyObject
* obj0
= 0 ;
9722 (char *) "self", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= SWIG_FromInt((int)result
);
9742 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9746 PyObject
* obj0
= 0 ;
9748 (char *) "self", NULL
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= SWIG_FromInt((int)result
);
9768 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9770 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9774 (char *) "self", NULL
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9796 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9803 (char *) "self",(char *) "viewStart", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9809 arg2
= (int) SWIG_AsInt(obj1
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 (arg1
)->SetThumbPosition(arg2
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 Py_INCREF(Py_None
); resultobj
= Py_None
;
9825 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9832 bool arg6
= (bool) True
;
9833 PyObject
* obj0
= 0 ;
9834 PyObject
* obj1
= 0 ;
9835 PyObject
* obj2
= 0 ;
9836 PyObject
* obj3
= 0 ;
9837 PyObject
* obj4
= 0 ;
9838 PyObject
* obj5
= 0 ;
9840 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9846 arg2
= (int) SWIG_AsInt(obj1
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9848 arg3
= (int) SWIG_AsInt(obj2
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9850 arg4
= (int) SWIG_AsInt(obj3
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9852 arg5
= (int) SWIG_AsInt(obj4
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 arg6
= (bool) SWIG_AsBool(obj5
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 Py_INCREF(Py_None
); resultobj
= Py_None
;
9872 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
9874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9875 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9877 return Py_BuildValue((char *)"");
9879 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9880 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9885 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9890 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9892 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9899 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9900 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9905 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9910 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9912 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9919 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxWindow
*arg1
= (wxWindow
*) 0 ;
9922 int arg2
= (int) -1 ;
9923 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9924 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9925 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9926 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9927 long arg5
= (long) wxSP_HORIZONTAL
;
9928 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9929 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9930 wxSpinButton
*result
;
9933 bool temp6
= False
;
9934 PyObject
* obj0
= 0 ;
9935 PyObject
* obj1
= 0 ;
9936 PyObject
* obj2
= 0 ;
9937 PyObject
* obj3
= 0 ;
9938 PyObject
* obj4
= 0 ;
9939 PyObject
* obj5
= 0 ;
9941 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9948 arg2
= (int) SWIG_AsInt(obj1
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9954 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9960 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9964 arg5
= (long) SWIG_AsLong(obj4
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9969 arg6
= wxString_in_helper(obj5
);
9970 if (arg6
== NULL
) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
9996 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
*resultobj
;
9998 wxSpinButton
*result
;
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (wxSpinButton
*)new wxSpinButton();
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10018 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10021 wxWindow
*arg2
= (wxWindow
*) 0 ;
10022 int arg3
= (int) -1 ;
10023 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10024 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10025 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10026 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10027 long arg6
= (long) wxSP_HORIZONTAL
;
10028 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10029 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10033 bool temp7
= False
;
10034 PyObject
* obj0
= 0 ;
10035 PyObject
* obj1
= 0 ;
10036 PyObject
* obj2
= 0 ;
10037 PyObject
* obj3
= 0 ;
10038 PyObject
* obj4
= 0 ;
10039 PyObject
* obj5
= 0 ;
10040 PyObject
* obj6
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10051 arg3
= (int) SWIG_AsInt(obj2
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10057 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10063 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10067 arg6
= (long) SWIG_AsLong(obj5
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10072 arg7
= wxString_in_helper(obj6
);
10073 if (arg7
== NULL
) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10101 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
;
10103 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10105 PyObject
* obj0
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= SWIG_FromInt((int)result
);
10127 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_FromInt((int)result
);
10153 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "self", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_FromInt((int)result
);
10179 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self",(char *) "val", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10192 arg2
= (int) SWIG_AsInt(obj1
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 (arg1
)->SetValue(arg2
);
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 Py_INCREF(Py_None
); resultobj
= Py_None
;
10208 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self",(char *) "minVal", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10221 arg2
= (int) SWIG_AsInt(obj1
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 (arg1
)->SetMin(arg2
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 Py_INCREF(Py_None
); resultobj
= Py_None
;
10237 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10241 PyObject
* obj0
= 0 ;
10242 PyObject
* obj1
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self",(char *) "maxVal", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10250 arg2
= (int) SWIG_AsInt(obj1
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 (arg1
)->SetMax(arg2
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 Py_INCREF(Py_None
); resultobj
= Py_None
;
10266 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 PyObject
* obj1
= 0 ;
10273 PyObject
* obj2
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10281 arg2
= (int) SWIG_AsInt(obj1
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10283 arg3
= (int) SWIG_AsInt(obj2
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 (arg1
)->SetRange(arg2
,arg3
);
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 Py_INCREF(Py_None
); resultobj
= Py_None
;
10299 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
;
10301 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10303 PyObject
* obj0
= 0 ;
10304 char *kwnames
[] = {
10305 (char *) "self", NULL
10308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10327 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
10329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10330 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10332 return Py_BuildValue((char *)"");
10334 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxWindow
*arg1
= (wxWindow
*) 0 ;
10337 int arg2
= (int) -1 ;
10338 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10339 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10340 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10341 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10342 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10343 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10344 long arg6
= (long) wxSP_ARROW_KEYS
;
10345 int arg7
= (int) 0 ;
10346 int arg8
= (int) 100 ;
10347 int arg9
= (int) 0 ;
10348 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10349 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10350 wxSpinCtrl
*result
;
10351 bool temp3
= False
;
10354 bool temp10
= False
;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 PyObject
* obj2
= 0 ;
10358 PyObject
* obj3
= 0 ;
10359 PyObject
* obj4
= 0 ;
10360 PyObject
* obj5
= 0 ;
10361 PyObject
* obj6
= 0 ;
10362 PyObject
* obj7
= 0 ;
10363 PyObject
* obj8
= 0 ;
10364 PyObject
* obj9
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10373 arg2
= (int) SWIG_AsInt(obj1
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10378 arg3
= wxString_in_helper(obj2
);
10379 if (arg3
== NULL
) SWIG_fail
;
10386 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10392 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10396 arg6
= (long) SWIG_AsLong(obj5
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10400 arg7
= (int) SWIG_AsInt(obj6
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10404 arg8
= (int) SWIG_AsInt(obj7
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10408 arg9
= (int) SWIG_AsInt(obj8
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10413 arg10
= wxString_in_helper(obj9
);
10414 if (arg10
== NULL
) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10448 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxSpinCtrl
*result
;
10451 char *kwnames
[] = {
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10470 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10473 wxWindow
*arg2
= (wxWindow
*) 0 ;
10474 int arg3
= (int) -1 ;
10475 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10476 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10477 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10478 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10479 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10480 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10481 long arg7
= (long) wxSP_ARROW_KEYS
;
10482 int arg8
= (int) 0 ;
10483 int arg9
= (int) 100 ;
10484 int arg10
= (int) 0 ;
10485 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10486 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10488 bool temp4
= False
;
10491 bool temp11
= False
;
10492 PyObject
* obj0
= 0 ;
10493 PyObject
* obj1
= 0 ;
10494 PyObject
* obj2
= 0 ;
10495 PyObject
* obj3
= 0 ;
10496 PyObject
* obj4
= 0 ;
10497 PyObject
* obj5
= 0 ;
10498 PyObject
* obj6
= 0 ;
10499 PyObject
* obj7
= 0 ;
10500 PyObject
* obj8
= 0 ;
10501 PyObject
* obj9
= 0 ;
10502 PyObject
* obj10
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10513 arg3
= (int) SWIG_AsInt(obj2
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10518 arg4
= wxString_in_helper(obj3
);
10519 if (arg4
== NULL
) SWIG_fail
;
10526 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10532 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10536 arg7
= (long) SWIG_AsLong(obj6
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10540 arg8
= (int) SWIG_AsInt(obj7
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10544 arg9
= (int) SWIG_AsInt(obj8
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10548 arg10
= (int) SWIG_AsInt(obj9
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10553 arg11
= wxString_in_helper(obj10
);
10554 if (arg11
== NULL
) SWIG_fail
;
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10590 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10594 PyObject
* obj0
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "self", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= SWIG_FromInt((int)result
);
10616 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self",(char *) "value", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10629 arg2
= (int) SWIG_AsInt(obj1
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 (arg1
)->SetValue(arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 Py_INCREF(Py_None
); resultobj
= Py_None
;
10645 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10648 wxString
*arg2
= 0 ;
10649 bool temp2
= False
;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "self",(char *) "text", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10660 arg2
= wxString_in_helper(obj1
);
10661 if (arg2
== NULL
) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 (arg1
)->SetValue((wxString
const &)*arg2
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 Py_INCREF(Py_None
); resultobj
= Py_None
;
10686 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
;
10688 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 PyObject
* obj2
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10701 arg2
= (int) SWIG_AsInt(obj1
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10703 arg3
= (int) SWIG_AsInt(obj2
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 (arg1
)->SetRange(arg2
,arg3
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 Py_INCREF(Py_None
); resultobj
= Py_None
;
10719 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10723 PyObject
* obj0
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= SWIG_FromInt((int)result
);
10745 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 resultobj
= SWIG_FromInt((int)result
);
10771 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10776 PyObject
* obj0
= 0 ;
10777 PyObject
* obj1
= 0 ;
10778 PyObject
* obj2
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self",(char *) "from",(char *) "to", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10786 arg2
= (long) SWIG_AsLong(obj1
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10788 arg3
= (long) SWIG_AsLong(obj2
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 (arg1
)->SetSelection(arg2
,arg3
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 Py_INCREF(Py_None
); resultobj
= Py_None
;
10804 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
10806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10807 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10809 return Py_BuildValue((char *)"");
10811 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10814 int arg2
= (int) 0 ;
10815 wxSpinEvent
*result
;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "commandType",(char *) "winid", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10824 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10828 arg2
= (int) SWIG_AsInt(obj1
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10845 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10864 resultobj
= SWIG_FromInt((int)result
);
10871 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
;
10873 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10875 PyObject
* obj0
= 0 ;
10876 PyObject
* obj1
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "self",(char *) "pos", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10884 arg2
= (int) SWIG_AsInt(obj1
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 (arg1
)->SetPosition(arg2
);
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 Py_INCREF(Py_None
); resultobj
= Py_None
;
10900 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
10902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10903 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10905 return Py_BuildValue((char *)"");
10907 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10908 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10913 static PyObject
*_wrap_RadioBoxNameStr_get() {
10918 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10920 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10927 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10928 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10933 static PyObject
*_wrap_RadioButtonNameStr_get() {
10938 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10940 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10947 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxWindow
*arg1
= (wxWindow
*) 0 ;
10951 wxString
*arg3
= 0 ;
10952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10956 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10957 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10958 int arg7
= (int) 0 ;
10959 long arg8
= (long) wxRA_HORIZONTAL
;
10960 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10961 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10962 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10963 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10964 wxRadioBox
*result
;
10965 bool temp3
= False
;
10968 bool temp6
= False
;
10969 bool temp10
= False
;
10970 PyObject
* obj0
= 0 ;
10971 PyObject
* obj1
= 0 ;
10972 PyObject
* obj2
= 0 ;
10973 PyObject
* obj3
= 0 ;
10974 PyObject
* obj4
= 0 ;
10975 PyObject
* obj5
= 0 ;
10976 PyObject
* obj6
= 0 ;
10977 PyObject
* obj7
= 0 ;
10978 PyObject
* obj8
= 0 ;
10979 PyObject
* obj9
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10987 arg2
= (int) SWIG_AsInt(obj1
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 arg3
= wxString_in_helper(obj2
);
10991 if (arg3
== NULL
) SWIG_fail
;
10997 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11003 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11008 if (! PySequence_Check(obj5
)) {
11009 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11012 arg6
= new wxArrayString
;
11014 int i
, len
=PySequence_Length(obj5
);
11015 for (i
=0; i
<len
; i
++) {
11016 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11018 PyObject
* str
= PyObject_Unicode(item
);
11020 PyObject
* str
= PyObject_Str(item
);
11022 arg6
->Add(Py2wxString(str
));
11029 arg7
= (int) SWIG_AsInt(obj6
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11033 arg8
= (long) SWIG_AsLong(obj7
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11037 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11040 if (arg9
== NULL
) {
11041 PyErr_SetString(PyExc_TypeError
,"null reference");
11047 arg10
= wxString_in_helper(obj9
);
11048 if (arg10
== NULL
) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 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
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11065 if (temp6
) delete arg6
;
11078 if (temp6
) delete arg6
;
11088 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxRadioBox
*result
;
11091 char *kwnames
[] = {
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 result
= (wxRadioBox
*)new wxRadioBox();
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11110 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11113 wxWindow
*arg2
= (wxWindow
*) 0 ;
11115 wxString
*arg4
= 0 ;
11116 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11117 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11118 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11119 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11120 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11121 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11122 int arg8
= (int) 0 ;
11123 long arg9
= (long) wxRA_HORIZONTAL
;
11124 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11125 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11126 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11127 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11129 bool temp4
= False
;
11132 bool temp7
= False
;
11133 bool temp11
= False
;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 PyObject
* obj2
= 0 ;
11137 PyObject
* obj3
= 0 ;
11138 PyObject
* obj4
= 0 ;
11139 PyObject
* obj5
= 0 ;
11140 PyObject
* obj6
= 0 ;
11141 PyObject
* obj7
= 0 ;
11142 PyObject
* obj8
= 0 ;
11143 PyObject
* obj9
= 0 ;
11144 PyObject
* obj10
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11154 arg3
= (int) SWIG_AsInt(obj2
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 arg4
= wxString_in_helper(obj3
);
11158 if (arg4
== NULL
) SWIG_fail
;
11164 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11170 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11175 if (! PySequence_Check(obj6
)) {
11176 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11179 arg7
= new wxArrayString
;
11181 int i
, len
=PySequence_Length(obj6
);
11182 for (i
=0; i
<len
; i
++) {
11183 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11185 PyObject
* str
= PyObject_Unicode(item
);
11187 PyObject
* str
= PyObject_Str(item
);
11189 arg7
->Add(Py2wxString(str
));
11196 arg8
= (int) SWIG_AsInt(obj7
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11200 arg9
= (long) SWIG_AsLong(obj8
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11204 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11207 if (arg10
== NULL
) {
11208 PyErr_SetString(PyExc_TypeError
,"null reference");
11214 arg11
= wxString_in_helper(obj10
);
11215 if (arg11
== NULL
) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 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
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11234 if (temp7
) delete arg7
;
11247 if (temp7
) delete arg7
;
11257 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self",(char *) "n", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11270 arg2
= (int) SWIG_AsInt(obj1
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 (arg1
)->SetSelection(arg2
);
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 Py_INCREF(Py_None
); resultobj
= Py_None
;
11286 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
;
11288 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11290 PyObject
* obj0
= 0 ;
11291 char *kwnames
[] = {
11292 (char *) "self", NULL
11295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= SWIG_FromInt((int)result
);
11312 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11314 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11316 PyObject
* obj0
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11344 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11345 PyObject
*resultobj
;
11346 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11347 wxString
*arg2
= 0 ;
11349 bool temp2
= False
;
11350 PyObject
* obj0
= 0 ;
11351 PyObject
* obj1
= 0 ;
11352 char *kwnames
[] = {
11353 (char *) "self",(char *) "s", NULL
11356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11360 arg2
= wxString_in_helper(obj1
);
11361 if (arg2
== NULL
) SWIG_fail
;
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11388 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11392 PyObject
* obj0
= 0 ;
11393 char *kwnames
[] = {
11394 (char *) "self", NULL
11397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 resultobj
= SWIG_FromInt((int)result
);
11414 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11417 wxString
*arg2
= 0 ;
11419 bool temp2
= False
;
11420 PyObject
* obj0
= 0 ;
11421 PyObject
* obj1
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self",(char *) "s", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11430 arg2
= wxString_in_helper(obj1
);
11431 if (arg2
== NULL
) SWIG_fail
;
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= SWIG_FromInt((int)result
);
11456 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11461 PyObject
* obj0
= 0 ;
11462 PyObject
* obj1
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "self",(char *) "n", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11470 arg2
= (int) SWIG_AsInt(obj1
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11492 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11496 wxString
*arg3
= 0 ;
11497 bool temp3
= False
;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 PyObject
* obj2
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self",(char *) "n",(char *) "label", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11508 arg2
= (int) SWIG_AsInt(obj1
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 arg3
= wxString_in_helper(obj2
);
11512 if (arg3
== NULL
) SWIG_fail
;
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 Py_INCREF(Py_None
); resultobj
= Py_None
;
11537 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11541 bool arg3
= (bool) True
;
11542 PyObject
* obj0
= 0 ;
11543 PyObject
* obj1
= 0 ;
11544 PyObject
* obj2
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "self",(char *) "n",(char *) "enable", NULL
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (bool) SWIG_AsBool(obj2
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 (arg1
)->Enable(arg2
,arg3
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 Py_INCREF(Py_None
); resultobj
= Py_None
;
11572 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11576 bool arg3
= (bool) True
;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 PyObject
* obj2
= 0 ;
11580 char *kwnames
[] = {
11581 (char *) "self",(char *) "n",(char *) "show", NULL
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11587 arg2
= (int) SWIG_AsInt(obj1
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 arg3
= (bool) SWIG_AsBool(obj2
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 (arg1
)->Show(arg2
,arg3
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 Py_INCREF(Py_None
); resultobj
= Py_None
;
11607 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
;
11609 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11611 PyObject
* obj0
= 0 ;
11612 char *kwnames
[] = {
11613 (char *) "self", NULL
11616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 resultobj
= SWIG_FromInt((int)result
);
11633 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11637 PyObject
* obj0
= 0 ;
11638 char *kwnames
[] = {
11639 (char *) "self", NULL
11642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 resultobj
= SWIG_FromInt((int)result
);
11659 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11666 PyObject
* obj0
= 0 ;
11667 PyObject
* obj1
= 0 ;
11668 PyObject
* obj2
= 0 ;
11669 PyObject
* obj3
= 0 ;
11670 char *kwnames
[] = {
11671 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11677 arg2
= (int) SWIG_AsInt(obj1
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11679 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11681 arg4
= (long) SWIG_AsLong(obj3
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11690 resultobj
= SWIG_FromInt((int)result
);
11697 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
11699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11700 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11702 return Py_BuildValue((char *)"");
11704 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
;
11706 wxWindow
*arg1
= (wxWindow
*) 0 ;
11708 wxString
*arg3
= 0 ;
11709 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11710 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11711 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11712 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11713 long arg6
= (long) 0 ;
11714 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11715 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11716 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11717 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11718 wxRadioButton
*result
;
11719 bool temp3
= False
;
11722 bool temp8
= False
;
11723 PyObject
* obj0
= 0 ;
11724 PyObject
* obj1
= 0 ;
11725 PyObject
* obj2
= 0 ;
11726 PyObject
* obj3
= 0 ;
11727 PyObject
* obj4
= 0 ;
11728 PyObject
* obj5
= 0 ;
11729 PyObject
* obj6
= 0 ;
11730 PyObject
* obj7
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11738 arg2
= (int) SWIG_AsInt(obj1
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 arg3
= wxString_in_helper(obj2
);
11742 if (arg3
== NULL
) SWIG_fail
;
11748 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11754 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11758 arg6
= (long) SWIG_AsLong(obj5
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11762 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11765 if (arg7
== NULL
) {
11766 PyErr_SetString(PyExc_TypeError
,"null reference");
11772 arg8
= wxString_in_helper(obj7
);
11773 if (arg8
== NULL
) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11807 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11809 wxRadioButton
*result
;
11810 char *kwnames
[] = {
11814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 result
= (wxRadioButton
*)new wxRadioButton();
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11829 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11830 PyObject
*resultobj
;
11831 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11832 wxWindow
*arg2
= (wxWindow
*) 0 ;
11834 wxString
*arg4
= 0 ;
11835 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11836 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11837 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11838 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11839 long arg7
= (long) 0 ;
11840 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11841 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11842 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11843 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11845 bool temp4
= False
;
11848 bool temp9
= False
;
11849 PyObject
* obj0
= 0 ;
11850 PyObject
* obj1
= 0 ;
11851 PyObject
* obj2
= 0 ;
11852 PyObject
* obj3
= 0 ;
11853 PyObject
* obj4
= 0 ;
11854 PyObject
* obj5
= 0 ;
11855 PyObject
* obj6
= 0 ;
11856 PyObject
* obj7
= 0 ;
11857 PyObject
* obj8
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11867 arg3
= (int) SWIG_AsInt(obj2
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 arg4
= wxString_in_helper(obj3
);
11871 if (arg4
== NULL
) SWIG_fail
;
11877 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11883 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11887 arg7
= (long) SWIG_AsLong(obj6
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11891 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11894 if (arg8
== NULL
) {
11895 PyErr_SetString(PyExc_TypeError
,"null reference");
11901 arg9
= wxString_in_helper(obj8
);
11902 if (arg9
== NULL
) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11938 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11942 PyObject
* obj0
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (bool)(arg1
)->GetValue();
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11966 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self",(char *) "value", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11979 arg2
= (bool) SWIG_AsBool(obj1
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 (arg1
)->SetValue(arg2
);
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 Py_INCREF(Py_None
); resultobj
= Py_None
;
11995 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
11997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11998 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12000 return Py_BuildValue((char *)"");
12002 static int _wrap_SliderNameStr_set(PyObject
*) {
12003 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12008 static PyObject
*_wrap_SliderNameStr_get() {
12013 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12015 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12022 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxWindow
*arg1
= (wxWindow
*) 0 ;
12029 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12030 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12031 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12032 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12033 long arg8
= (long) wxSL_HORIZONTAL
;
12034 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12035 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12036 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12037 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12041 bool temp10
= False
;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 PyObject
* obj2
= 0 ;
12045 PyObject
* obj3
= 0 ;
12046 PyObject
* obj4
= 0 ;
12047 PyObject
* obj5
= 0 ;
12048 PyObject
* obj6
= 0 ;
12049 PyObject
* obj7
= 0 ;
12050 PyObject
* obj8
= 0 ;
12051 PyObject
* obj9
= 0 ;
12052 char *kwnames
[] = {
12053 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12059 arg2
= (int) SWIG_AsInt(obj1
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12061 arg3
= (int) SWIG_AsInt(obj2
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12063 arg4
= (int) SWIG_AsInt(obj3
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12065 arg5
= (int) SWIG_AsInt(obj4
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12070 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12076 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12080 arg8
= (long) SWIG_AsLong(obj7
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12084 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12087 if (arg9
== NULL
) {
12088 PyErr_SetString(PyExc_TypeError
,"null reference");
12094 arg10
= wxString_in_helper(obj9
);
12095 if (arg10
== NULL
) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12121 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
;
12124 char *kwnames
[] = {
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (wxSlider
*)new wxSlider();
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12143 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxSlider
*arg1
= (wxSlider
*) 0 ;
12146 wxWindow
*arg2
= (wxWindow
*) 0 ;
12151 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12152 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12153 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12154 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12155 long arg9
= (long) wxSL_HORIZONTAL
;
12156 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12157 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12158 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12159 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12163 bool temp11
= False
;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 PyObject
* obj2
= 0 ;
12167 PyObject
* obj3
= 0 ;
12168 PyObject
* obj4
= 0 ;
12169 PyObject
* obj5
= 0 ;
12170 PyObject
* obj6
= 0 ;
12171 PyObject
* obj7
= 0 ;
12172 PyObject
* obj8
= 0 ;
12173 PyObject
* obj9
= 0 ;
12174 PyObject
* obj10
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12184 arg3
= (int) SWIG_AsInt(obj2
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12186 arg4
= (int) SWIG_AsInt(obj3
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12188 arg5
= (int) SWIG_AsInt(obj4
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12190 arg6
= (int) SWIG_AsInt(obj5
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12195 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12201 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12205 arg9
= (long) SWIG_AsLong(obj8
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12209 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12212 if (arg10
== NULL
) {
12213 PyErr_SetString(PyExc_TypeError
,"null reference");
12219 arg11
= wxString_in_helper(obj10
);
12220 if (arg11
== NULL
) SWIG_fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12248 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxSlider
*arg1
= (wxSlider
*) 0 ;
12252 PyObject
* obj0
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "self", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_FromInt((int)result
);
12274 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxSlider
*arg1
= (wxSlider
*) 0 ;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self",(char *) "value", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12287 arg2
= (int) SWIG_AsInt(obj1
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 (arg1
)->SetValue(arg2
);
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 Py_INCREF(Py_None
); resultobj
= Py_None
;
12303 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxSlider
*arg1
= (wxSlider
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 PyObject
* obj1
= 0 ;
12310 PyObject
* obj2
= 0 ;
12311 char *kwnames
[] = {
12312 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12318 arg2
= (int) SWIG_AsInt(obj1
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12320 arg3
= (int) SWIG_AsInt(obj2
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 (arg1
)->SetRange(arg2
,arg3
);
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 Py_INCREF(Py_None
); resultobj
= Py_None
;
12336 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
;
12338 wxSlider
*arg1
= (wxSlider
*) 0 ;
12340 PyObject
* obj0
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_FromInt((int)result
);
12362 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxSlider
*arg1
= (wxSlider
*) 0 ;
12366 PyObject
* obj0
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "self", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= SWIG_FromInt((int)result
);
12388 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxSlider
*arg1
= (wxSlider
*) 0 ;
12392 PyObject
* obj0
= 0 ;
12393 PyObject
* obj1
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "self",(char *) "minValue", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12401 arg2
= (int) SWIG_AsInt(obj1
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 (arg1
)->SetMin(arg2
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 Py_INCREF(Py_None
); resultobj
= Py_None
;
12417 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxSlider
*arg1
= (wxSlider
*) 0 ;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self",(char *) "maxValue", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12430 arg2
= (int) SWIG_AsInt(obj1
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 (arg1
)->SetMax(arg2
);
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 Py_INCREF(Py_None
); resultobj
= Py_None
;
12446 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
;
12448 wxSlider
*arg1
= (wxSlider
*) 0 ;
12450 PyObject
* obj0
= 0 ;
12451 PyObject
* obj1
= 0 ;
12452 char *kwnames
[] = {
12453 (char *) "self",(char *) "lineSize", NULL
12456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12459 arg2
= (int) SWIG_AsInt(obj1
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetLineSize(arg2
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 Py_INCREF(Py_None
); resultobj
= Py_None
;
12475 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
;
12477 wxSlider
*arg1
= (wxSlider
*) 0 ;
12479 PyObject
* obj0
= 0 ;
12480 PyObject
* obj1
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self",(char *) "pageSize", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12488 arg2
= (int) SWIG_AsInt(obj1
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 (arg1
)->SetPageSize(arg2
);
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 Py_INCREF(Py_None
); resultobj
= Py_None
;
12504 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxSlider
*arg1
= (wxSlider
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_FromInt((int)result
);
12530 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
;
12532 wxSlider
*arg1
= (wxSlider
*) 0 ;
12534 PyObject
* obj0
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "self", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= SWIG_FromInt((int)result
);
12556 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxSlider
*arg1
= (wxSlider
*) 0 ;
12560 PyObject
* obj0
= 0 ;
12561 PyObject
* obj1
= 0 ;
12562 char *kwnames
[] = {
12563 (char *) "self",(char *) "lenPixels", NULL
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12569 arg2
= (int) SWIG_AsInt(obj1
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 (arg1
)->SetThumbLength(arg2
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 Py_INCREF(Py_None
); resultobj
= Py_None
;
12585 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxSlider
*arg1
= (wxSlider
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= SWIG_FromInt((int)result
);
12611 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxSlider
*arg1
= (wxSlider
*) 0 ;
12615 int arg3
= (int) 1 ;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 PyObject
* obj2
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self",(char *) "n",(char *) "pos", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12626 arg2
= (int) SWIG_AsInt(obj1
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 arg3
= (int) SWIG_AsInt(obj2
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->SetTickFreq(arg2
,arg3
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 Py_INCREF(Py_None
); resultobj
= Py_None
;
12646 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxSlider
*arg1
= (wxSlider
*) 0 ;
12650 PyObject
* obj0
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= SWIG_FromInt((int)result
);
12672 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxSlider
*arg1
= (wxSlider
*) 0 ;
12675 PyObject
* obj0
= 0 ;
12676 char *kwnames
[] = {
12677 (char *) "self", NULL
12680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 (arg1
)->ClearTicks();
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 Py_INCREF(Py_None
); resultobj
= Py_None
;
12697 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxSlider
*arg1
= (wxSlider
*) 0 ;
12701 PyObject
* obj0
= 0 ;
12702 PyObject
* obj1
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self",(char *) "tickPos", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12710 arg2
= (int) SWIG_AsInt(obj1
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 (arg1
)->SetTick(arg2
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 Py_INCREF(Py_None
); resultobj
= Py_None
;
12726 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxSlider
*arg1
= (wxSlider
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 (arg1
)->ClearSel();
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 Py_INCREF(Py_None
); resultobj
= Py_None
;
12751 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
;
12753 wxSlider
*arg1
= (wxSlider
*) 0 ;
12755 PyObject
* obj0
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= SWIG_FromInt((int)result
);
12777 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxSlider
*arg1
= (wxSlider
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "self", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= SWIG_FromInt((int)result
);
12803 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxSlider
*arg1
= (wxSlider
*) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 PyObject
* obj1
= 0 ;
12810 PyObject
* obj2
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self",(char *) "min",(char *) "max", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12818 arg2
= (int) SWIG_AsInt(obj1
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12820 arg3
= (int) SWIG_AsInt(obj2
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 (arg1
)->SetSelection(arg2
,arg3
);
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12829 Py_INCREF(Py_None
); resultobj
= Py_None
;
12836 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
12838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12839 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12841 return Py_BuildValue((char *)"");
12843 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12844 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12849 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12854 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12856 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12863 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxWindow
*arg1
= (wxWindow
*) 0 ;
12867 wxString
*arg3
= 0 ;
12868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12872 long arg6
= (long) 0 ;
12873 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12874 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12875 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12876 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12877 wxToggleButton
*result
;
12878 bool temp3
= False
;
12881 bool temp8
= False
;
12882 PyObject
* obj0
= 0 ;
12883 PyObject
* obj1
= 0 ;
12884 PyObject
* obj2
= 0 ;
12885 PyObject
* obj3
= 0 ;
12886 PyObject
* obj4
= 0 ;
12887 PyObject
* obj5
= 0 ;
12888 PyObject
* obj6
= 0 ;
12889 PyObject
* obj7
= 0 ;
12890 char *kwnames
[] = {
12891 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12897 arg2
= (int) SWIG_AsInt(obj1
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12900 arg3
= wxString_in_helper(obj2
);
12901 if (arg3
== NULL
) SWIG_fail
;
12907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12917 arg6
= (long) SWIG_AsLong(obj5
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12921 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12924 if (arg7
== NULL
) {
12925 PyErr_SetString(PyExc_TypeError
,"null reference");
12931 arg8
= wxString_in_helper(obj7
);
12932 if (arg8
== NULL
) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12966 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12968 wxToggleButton
*result
;
12969 char *kwnames
[] = {
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (wxToggleButton
*)new wxToggleButton();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
12988 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
12990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12991 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12993 return Py_BuildValue((char *)"");
12995 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
12996 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13001 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13006 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13008 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13015 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13041 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
;
13043 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "n", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13055 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= wxPyMake_wxObject(result
);
13073 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
;
13075 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13077 PyObject
* obj0
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "self", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= SWIG_FromInt((int)result
);
13099 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13103 wxString
*arg3
= 0 ;
13105 bool temp3
= False
;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 PyObject
* obj2
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self",(char *) "n",(char *) "strText", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13116 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 arg3
= wxString_in_helper(obj2
);
13120 if (arg3
== NULL
) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13147 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13152 PyObject
* obj0
= 0 ;
13153 PyObject
* obj1
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self",(char *) "n", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13161 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13183 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
;
13185 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13186 wxImageList
*arg2
= (wxImageList
*) 0 ;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self",(char *) "imageList", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 (arg1
)->SetImageList(arg2
);
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 Py_INCREF(Py_None
); resultobj
= Py_None
;
13212 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
;
13214 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13215 wxImageList
*arg2
= (wxImageList
*) 0 ;
13216 PyObject
* obj0
= 0 ;
13217 PyObject
* obj1
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self",(char *) "imageList", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13226 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 (arg1
)->AssignImageList(arg2
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 Py_INCREF(Py_None
); resultobj
= Py_None
;
13241 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13244 wxImageList
*result
;
13245 PyObject
* obj0
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= wxPyMake_wxObject(result
);
13269 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self",(char *) "n", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13283 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= SWIG_FromInt((int)result
);
13299 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 PyObject
* obj1
= 0 ;
13307 PyObject
* obj2
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self",(char *) "n",(char *) "imageId", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13317 arg3
= (int) SWIG_AsInt(obj2
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13335 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 PyObject
* obj1
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self",(char *) "size", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13351 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 Py_INCREF(Py_None
); resultobj
= Py_None
;
13367 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
;
13369 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13373 PyObject
* obj0
= 0 ;
13374 PyObject
* obj1
= 0 ;
13375 char *kwnames
[] = {
13376 (char *) "self",(char *) "sizePage", NULL
13379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13384 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13394 wxSize
* resultptr
;
13395 resultptr
= new wxSize((wxSize
&) result
);
13396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13404 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
;
13406 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 PyObject
* obj1
= 0 ;
13411 char *kwnames
[] = {
13412 (char *) "self",(char *) "n", NULL
13415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13418 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (bool)(arg1
)->DeletePage(arg2
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13436 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, 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_RemovePage",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
= (bool)(arg1
)->RemovePage(arg2
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13468 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= (bool)(arg1
)->DeleteAllPages();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13496 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
;
13498 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13499 wxWindow
*arg2
= (wxWindow
*) 0 ;
13500 wxString
*arg3
= 0 ;
13501 bool arg4
= (bool) False
;
13502 int arg5
= (int) -1 ;
13504 bool temp3
= False
;
13505 PyObject
* obj0
= 0 ;
13506 PyObject
* obj1
= 0 ;
13507 PyObject
* obj2
= 0 ;
13508 PyObject
* obj3
= 0 ;
13509 PyObject
* obj4
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13520 arg3
= wxString_in_helper(obj2
);
13521 if (arg3
== NULL
) SWIG_fail
;
13525 arg4
= (bool) SWIG_AsBool(obj3
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13529 arg5
= (int) SWIG_AsInt(obj4
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13556 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13560 wxWindow
*arg3
= (wxWindow
*) 0 ;
13561 wxString
*arg4
= 0 ;
13562 bool arg5
= (bool) False
;
13563 int arg6
= (int) -1 ;
13565 bool temp4
= False
;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 PyObject
* obj2
= 0 ;
13569 PyObject
* obj3
= 0 ;
13570 PyObject
* obj4
= 0 ;
13571 PyObject
* obj5
= 0 ;
13572 char *kwnames
[] = {
13573 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13579 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13581 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13584 arg4
= wxString_in_helper(obj3
);
13585 if (arg4
== NULL
) SWIG_fail
;
13589 arg5
= (bool) SWIG_AsBool(obj4
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 arg6
= (int) SWIG_AsInt(obj5
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13620 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self",(char *) "n", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13634 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (int)(arg1
)->SetSelection(arg2
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_FromInt((int)result
);
13650 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13653 bool arg2
= (bool) True
;
13654 PyObject
* obj0
= 0 ;
13655 PyObject
* obj1
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self",(char *) "forward", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13664 arg2
= (bool) SWIG_AsBool(obj1
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 (arg1
)->AdvanceSelection(arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 Py_INCREF(Py_None
); resultobj
= Py_None
;
13681 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
13683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13684 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13686 return Py_BuildValue((char *)"");
13688 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13691 int arg2
= (int) 0 ;
13692 int arg3
= (int) -1 ;
13693 int arg4
= (int) -1 ;
13694 wxBookCtrlEvent
*result
;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 PyObject
* obj2
= 0 ;
13698 PyObject
* obj3
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13705 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 arg2
= (int) SWIG_AsInt(obj1
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13713 arg3
= (int) SWIG_AsInt(obj2
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 arg4
= (int) SWIG_AsInt(obj3
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13734 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
;
13736 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13738 PyObject
* obj0
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= SWIG_FromInt((int)result
);
13760 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
;
13762 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13764 PyObject
* obj0
= 0 ;
13765 PyObject
* obj1
= 0 ;
13766 char *kwnames
[] = {
13767 (char *) "self",(char *) "nSel", NULL
13770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13773 arg2
= (int) SWIG_AsInt(obj1
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 (arg1
)->SetSelection(arg2
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 Py_INCREF(Py_None
); resultobj
= Py_None
;
13789 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13790 PyObject
*resultobj
;
13791 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13793 PyObject
* obj0
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "self", NULL
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_FromInt((int)result
);
13815 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13819 PyObject
* obj0
= 0 ;
13820 PyObject
* obj1
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self",(char *) "nOldSel", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13828 arg2
= (int) SWIG_AsInt(obj1
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 (arg1
)->SetOldSelection(arg2
);
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 Py_INCREF(Py_None
); resultobj
= Py_None
;
13844 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
13846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13847 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13849 return Py_BuildValue((char *)"");
13851 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13852 PyObject
*resultobj
;
13853 wxWindow
*arg1
= (wxWindow
*) 0 ;
13854 int arg2
= (int) -1 ;
13855 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13856 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13857 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13858 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13859 long arg5
= (long) 0 ;
13860 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13861 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13862 wxNotebook
*result
;
13865 bool temp6
= False
;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 PyObject
* obj2
= 0 ;
13869 PyObject
* obj3
= 0 ;
13870 PyObject
* obj4
= 0 ;
13871 PyObject
* obj5
= 0 ;
13872 char *kwnames
[] = {
13873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13880 arg2
= (int) SWIG_AsInt(obj1
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13886 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13892 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13896 arg5
= (long) SWIG_AsLong(obj4
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13901 arg6
= wxString_in_helper(obj5
);
13902 if (arg6
== NULL
) SWIG_fail
;
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= wxPyMake_wxObject(result
);
13930 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxNotebook
*result
;
13933 char *kwnames
[] = {
13937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 result
= (wxNotebook
*)new wxNotebook();
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= wxPyMake_wxObject(result
);
13954 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13957 wxWindow
*arg2
= (wxWindow
*) 0 ;
13959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13961 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13962 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13963 long arg6
= (long) 0 ;
13964 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13965 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13969 bool temp7
= False
;
13970 PyObject
* obj0
= 0 ;
13971 PyObject
* obj1
= 0 ;
13972 PyObject
* obj2
= 0 ;
13973 PyObject
* obj3
= 0 ;
13974 PyObject
* obj4
= 0 ;
13975 PyObject
* obj5
= 0 ;
13976 PyObject
* obj6
= 0 ;
13977 char *kwnames
[] = {
13978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
13983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13986 arg3
= (int) SWIG_AsInt(obj2
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13991 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13997 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14001 arg6
= (long) SWIG_AsLong(obj5
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14006 arg7
= wxString_in_helper(obj6
);
14007 if (arg7
== NULL
) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14035 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= SWIG_FromInt((int)result
);
14061 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 char *kwnames
[] = {
14069 (char *) "self",(char *) "padding", NULL
14072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14077 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14083 wxPyEndAllowThreads(__tstate
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14086 Py_INCREF(Py_None
); resultobj
= Py_None
;
14093 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
;
14095 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "sz", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14109 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 Py_INCREF(Py_None
); resultobj
= Py_None
;
14125 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14128 wxPoint
*arg2
= 0 ;
14129 long *arg3
= (long *) 0 ;
14133 PyObject
* obj0
= 0 ;
14134 PyObject
* obj1
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "self",(char *) "pt", NULL
14140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= SWIG_FromInt((int)result
);
14156 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14157 resultobj
= t_output_helper(resultobj
,o
);
14165 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14171 PyObject
* obj0
= 0 ;
14172 PyObject
* obj1
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self",(char *) "sizePage", NULL
14177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14182 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14192 wxSize
* resultptr
;
14193 resultptr
= new wxSize((wxSize
&) result
);
14194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14202 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
14204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14205 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14207 return Py_BuildValue((char *)"");
14209 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14212 int arg2
= (int) 0 ;
14213 int arg3
= (int) -1 ;
14214 int arg4
= (int) -1 ;
14215 wxNotebookEvent
*result
;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 PyObject
* obj2
= 0 ;
14219 PyObject
* obj3
= 0 ;
14220 char *kwnames
[] = {
14221 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14226 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14230 arg2
= (int) SWIG_AsInt(obj1
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14234 arg3
= (int) SWIG_AsInt(obj2
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 arg4
= (int) SWIG_AsInt(obj3
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14245 wxPyEndAllowThreads(__tstate
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14255 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
14257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14258 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14260 return Py_BuildValue((char *)"");
14262 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxWindow
*arg1
= (wxWindow
*) 0 ;
14265 int arg2
= (int) -1 ;
14266 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14267 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14268 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14269 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14270 long arg5
= (long) 0 ;
14271 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14272 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14273 wxListbook
*result
;
14276 bool temp6
= False
;
14277 PyObject
* obj0
= 0 ;
14278 PyObject
* obj1
= 0 ;
14279 PyObject
* obj2
= 0 ;
14280 PyObject
* obj3
= 0 ;
14281 PyObject
* obj4
= 0 ;
14282 PyObject
* obj5
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14291 arg2
= (int) SWIG_AsInt(obj1
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14303 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14307 arg5
= (long) SWIG_AsLong(obj4
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14312 arg6
= wxString_in_helper(obj5
);
14313 if (arg6
== NULL
) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14339 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14340 PyObject
*resultobj
;
14341 wxListbook
*result
;
14342 char *kwnames
[] = {
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 result
= (wxListbook
*)new wxListbook();
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14361 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
;
14363 wxListbook
*arg1
= (wxListbook
*) 0 ;
14364 wxWindow
*arg2
= (wxWindow
*) 0 ;
14366 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14367 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14368 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14369 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14370 long arg6
= (long) 0 ;
14371 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14372 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14376 bool temp7
= False
;
14377 PyObject
* obj0
= 0 ;
14378 PyObject
* obj1
= 0 ;
14379 PyObject
* obj2
= 0 ;
14380 PyObject
* obj3
= 0 ;
14381 PyObject
* obj4
= 0 ;
14382 PyObject
* obj5
= 0 ;
14383 PyObject
* obj6
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14393 arg3
= (int) SWIG_AsInt(obj2
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14398 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14404 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14408 arg6
= (long) SWIG_AsLong(obj5
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14413 arg7
= wxString_in_helper(obj6
);
14414 if (arg7
== NULL
) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14442 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxListbook
*arg1
= (wxListbook
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14470 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
14472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14473 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14475 return Py_BuildValue((char *)"");
14477 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14480 int arg2
= (int) 0 ;
14481 int arg3
= (int) -1 ;
14482 int arg4
= (int) -1 ;
14483 wxListbookEvent
*result
;
14484 PyObject
* obj0
= 0 ;
14485 PyObject
* obj1
= 0 ;
14486 PyObject
* obj2
= 0 ;
14487 PyObject
* obj3
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14494 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14498 arg2
= (int) SWIG_AsInt(obj1
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14502 arg3
= (int) SWIG_AsInt(obj2
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14506 arg4
= (int) SWIG_AsInt(obj3
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14523 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
14525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14526 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14528 return Py_BuildValue((char *)"");
14530 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14533 wxBookCtrlSizer
*result
;
14534 PyObject
* obj0
= 0 ;
14535 char *kwnames
[] = {
14536 (char *) "nb", NULL
14539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14556 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 (arg1
)->RecalcSizes();
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 Py_INCREF(Py_None
); resultobj
= Py_None
;
14581 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (arg1
)->CalcMin();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14601 wxSize
* resultptr
;
14602 resultptr
= new wxSize((wxSize
&) result
);
14603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14611 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14614 wxBookCtrl
*result
;
14615 PyObject
* obj0
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14637 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
14639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14640 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14642 return Py_BuildValue((char *)"");
14644 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14647 wxNotebookSizer
*result
;
14648 PyObject
* obj0
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "nb", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14670 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14673 PyObject
* obj0
= 0 ;
14674 char *kwnames
[] = {
14675 (char *) "self", NULL
14678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 (arg1
)->RecalcSizes();
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 Py_INCREF(Py_None
); resultobj
= Py_None
;
14695 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14699 PyObject
* obj0
= 0 ;
14700 char *kwnames
[] = {
14701 (char *) "self", NULL
14704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (arg1
)->CalcMin();
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14715 wxSize
* resultptr
;
14716 resultptr
= new wxSize((wxSize
&) result
);
14717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14725 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14728 wxNotebook
*result
;
14729 PyObject
* obj0
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= wxPyMake_wxObject(result
);
14753 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
14755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14756 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14758 return Py_BuildValue((char *)"");
14760 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (int)(arg1
)->GetId();
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= SWIG_FromInt((int)result
);
14786 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14790 PyObject
* obj0
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "self", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (wxControl
*)(arg1
)->GetControl();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= wxPyMake_wxObject(result
);
14814 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14817 wxToolBarBase
*result
;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= wxPyMake_wxObject(result
);
14842 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (int)(arg1
)->IsButton();
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= SWIG_FromInt((int)result
);
14868 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 result
= (int)(arg1
)->IsControl();
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= SWIG_FromInt((int)result
);
14894 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14898 PyObject
* obj0
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (int)(arg1
)->IsSeparator();
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= SWIG_FromInt((int)result
);
14920 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
;
14922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 result
= (int)(arg1
)->GetStyle();
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= SWIG_FromInt((int)result
);
14946 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "self", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (int)(arg1
)->GetKind();
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_FromInt((int)result
);
14972 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "self", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 result
= (bool)(arg1
)->IsEnabled();
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15000 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15004 PyObject
* obj0
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "self", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= (bool)(arg1
)->IsToggled();
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15028 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
;
15030 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15032 PyObject
* obj0
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "self", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (bool)(arg1
)->CanBeToggled();
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15056 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15072 result
= (wxBitmap
*) &_result_ref
;
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15079 wxBitmap
* resultptr
= new wxBitmap(*result
);
15080 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15088 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15092 PyObject
* obj0
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15104 result
= (wxBitmap
*) &_result_ref
;
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15111 wxBitmap
* resultptr
= new wxBitmap(*result
);
15112 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15120 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (arg1
)->GetBitmap();
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15140 wxBitmap
* resultptr
;
15141 resultptr
= new wxBitmap((wxBitmap
&) result
);
15142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15150 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15154 PyObject
* obj0
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (arg1
)->GetLabel();
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15182 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (arg1
)->GetShortHelp();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15214 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 char *kwnames
[] = {
15220 (char *) "self", NULL
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 result
= (arg1
)->GetLongHelp();
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15246 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 PyObject
* obj1
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self",(char *) "enable", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15260 arg2
= (bool) SWIG_AsBool(obj1
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (bool)(arg1
)->Enable(arg2
);
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15278 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15281 PyObject
* obj0
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 Py_INCREF(Py_None
); resultobj
= Py_None
;
15303 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 PyObject
* obj1
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self",(char *) "toggle", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15317 arg2
= (bool) SWIG_AsBool(obj1
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (bool)(arg1
)->SetToggle(arg2
);
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15335 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15338 wxString
*arg2
= 0 ;
15340 bool temp2
= False
;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 char *kwnames
[] = {
15344 (char *) "self",(char *) "help", NULL
15347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15351 arg2
= wxString_in_helper(obj1
);
15352 if (arg2
== NULL
) SWIG_fail
;
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15379 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15382 wxString
*arg2
= 0 ;
15384 bool temp2
= False
;
15385 PyObject
* obj0
= 0 ;
15386 PyObject
* obj1
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self",(char *) "help", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 arg2
= wxString_in_helper(obj1
);
15396 if (arg2
== NULL
) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15423 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15426 wxBitmap
*arg2
= 0 ;
15427 PyObject
* obj0
= 0 ;
15428 PyObject
* obj1
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self",(char *) "bmp", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15439 if (arg2
== NULL
) {
15440 PyErr_SetString(PyExc_TypeError
,"null reference");
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15450 Py_INCREF(Py_None
); resultobj
= Py_None
;
15457 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15460 wxBitmap
*arg2
= 0 ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "bmp", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15473 if (arg2
== NULL
) {
15474 PyErr_SetString(PyExc_TypeError
,"null reference");
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 Py_INCREF(Py_None
); resultobj
= Py_None
;
15491 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
;
15493 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15494 wxString
*arg2
= 0 ;
15495 bool temp2
= False
;
15496 PyObject
* obj0
= 0 ;
15497 PyObject
* obj1
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "self",(char *) "label", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15506 arg2
= wxString_in_helper(obj1
);
15507 if (arg2
== NULL
) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 (arg1
)->SetLabel((wxString
const &)*arg2
);
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 Py_INCREF(Py_None
); resultobj
= Py_None
;
15532 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
;
15534 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15535 PyObject
* obj0
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 Py_INCREF(Py_None
); resultobj
= Py_None
;
15557 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15560 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "self",(char *) "tbar", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 (arg1
)->Attach(arg2
);
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 Py_INCREF(Py_None
); resultobj
= Py_None
;
15586 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15587 PyObject
*resultobj
;
15588 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15590 PyObject
* obj0
= 0 ;
15591 char *kwnames
[] = {
15592 (char *) "self", NULL
15595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= result
;
15612 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
;
15614 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15615 PyObject
*arg2
= (PyObject
*) 0 ;
15616 PyObject
* obj0
= 0 ;
15617 PyObject
* obj1
= 0 ;
15618 char *kwnames
[] = {
15619 (char *) "self",(char *) "clientData", NULL
15622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 Py_INCREF(Py_None
); resultobj
= Py_None
;
15640 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
15642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15643 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15645 return Py_BuildValue((char *)"");
15647 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
;
15649 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15651 wxString
*arg3
= 0 ;
15652 wxBitmap
*arg4
= 0 ;
15653 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15654 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15655 int arg6
= (int) wxITEM_NORMAL
;
15656 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15657 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15658 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15659 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15660 PyObject
*arg9
= (PyObject
*) NULL
;
15661 wxToolBarToolBase
*result
;
15662 bool temp3
= False
;
15663 bool temp7
= False
;
15664 bool temp8
= False
;
15665 PyObject
* obj0
= 0 ;
15666 PyObject
* obj1
= 0 ;
15667 PyObject
* obj2
= 0 ;
15668 PyObject
* obj3
= 0 ;
15669 PyObject
* obj4
= 0 ;
15670 PyObject
* obj5
= 0 ;
15671 PyObject
* obj6
= 0 ;
15672 PyObject
* obj7
= 0 ;
15673 PyObject
* obj8
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15681 arg2
= (int) SWIG_AsInt(obj1
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15684 arg3
= wxString_in_helper(obj2
);
15685 if (arg3
== NULL
) SWIG_fail
;
15688 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15691 if (arg4
== NULL
) {
15692 PyErr_SetString(PyExc_TypeError
,"null reference");
15696 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15699 if (arg5
== NULL
) {
15700 PyErr_SetString(PyExc_TypeError
,"null reference");
15705 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15710 arg7
= wxString_in_helper(obj6
);
15711 if (arg7
== NULL
) SWIG_fail
;
15717 arg8
= wxString_in_helper(obj7
);
15718 if (arg8
== NULL
) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= wxPyMake_wxObject(result
);
15765 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15766 PyObject
*resultobj
;
15767 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15770 wxString
*arg4
= 0 ;
15771 wxBitmap
*arg5
= 0 ;
15772 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15773 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15774 int arg7
= (int) wxITEM_NORMAL
;
15775 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15776 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15777 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15778 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15779 PyObject
*arg10
= (PyObject
*) NULL
;
15780 wxToolBarToolBase
*result
;
15781 bool temp4
= False
;
15782 bool temp8
= False
;
15783 bool temp9
= False
;
15784 PyObject
* obj0
= 0 ;
15785 PyObject
* obj1
= 0 ;
15786 PyObject
* obj2
= 0 ;
15787 PyObject
* obj3
= 0 ;
15788 PyObject
* obj4
= 0 ;
15789 PyObject
* obj5
= 0 ;
15790 PyObject
* obj6
= 0 ;
15791 PyObject
* obj7
= 0 ;
15792 PyObject
* obj8
= 0 ;
15793 PyObject
* obj9
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15801 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15803 arg3
= (int) SWIG_AsInt(obj2
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 arg4
= wxString_in_helper(obj3
);
15807 if (arg4
== NULL
) SWIG_fail
;
15810 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15813 if (arg5
== NULL
) {
15814 PyErr_SetString(PyExc_TypeError
,"null reference");
15818 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
15819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15821 if (arg6
== NULL
) {
15822 PyErr_SetString(PyExc_TypeError
,"null reference");
15827 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15832 arg8
= wxString_in_helper(obj7
);
15833 if (arg8
== NULL
) SWIG_fail
;
15839 arg9
= wxString_in_helper(obj8
);
15840 if (arg9
== NULL
) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 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
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= wxPyMake_wxObject(result
);
15887 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15890 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15891 wxToolBarToolBase
*result
;
15892 PyObject
* obj0
= 0 ;
15893 PyObject
* obj1
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "self",(char *) "tool", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
15902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= wxPyMake_wxObject(result
);
15919 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15923 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15924 wxToolBarToolBase
*result
;
15925 PyObject
* obj0
= 0 ;
15926 PyObject
* obj1
= 0 ;
15927 PyObject
* obj2
= 0 ;
15928 char *kwnames
[] = {
15929 (char *) "self",(char *) "pos",(char *) "tool", NULL
15932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15935 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15937 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
15938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= wxPyMake_wxObject(result
);
15955 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15958 wxControl
*arg2
= (wxControl
*) 0 ;
15959 wxToolBarToolBase
*result
;
15960 PyObject
* obj0
= 0 ;
15961 PyObject
* obj1
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self",(char *) "control", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
15970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15975 wxPyEndAllowThreads(__tstate
);
15976 if (PyErr_Occurred()) SWIG_fail
;
15979 resultobj
= wxPyMake_wxObject(result
);
15987 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15991 wxControl
*arg3
= (wxControl
*) 0 ;
15992 wxToolBarToolBase
*result
;
15993 PyObject
* obj0
= 0 ;
15994 PyObject
* obj1
= 0 ;
15995 PyObject
* obj2
= 0 ;
15996 char *kwnames
[] = {
15997 (char *) "self",(char *) "pos",(char *) "control", NULL
16000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16003 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16005 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= wxPyMake_wxObject(result
);
16023 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16028 PyObject
* obj0
= 0 ;
16029 PyObject
* obj1
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self",(char *) "id", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16037 arg2
= (int) SWIG_AsInt(obj1
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16041 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16047 resultobj
= wxPyMake_wxObject(result
);
16055 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16058 wxToolBarToolBase
*result
;
16059 PyObject
* obj0
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= wxPyMake_wxObject(result
);
16083 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16087 wxToolBarToolBase
*result
;
16088 PyObject
* obj0
= 0 ;
16089 PyObject
* obj1
= 0 ;
16090 char *kwnames
[] = {
16091 (char *) "self",(char *) "pos", NULL
16094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16097 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= wxPyMake_wxObject(result
);
16115 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16119 wxToolBarToolBase
*result
;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "id", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16129 arg2
= (int) SWIG_AsInt(obj1
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= wxPyMake_wxObject(result
);
16147 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16152 PyObject
* obj0
= 0 ;
16153 PyObject
* obj1
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self",(char *) "pos", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16179 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
;
16181 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16184 PyObject
* obj0
= 0 ;
16185 PyObject
* obj1
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self",(char *) "id", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16193 arg2
= (int) SWIG_AsInt(obj1
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= (bool)(arg1
)->DeleteTool(arg2
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16211 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 (arg1
)->ClearTools();
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
;
16238 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 char *kwnames
[] = {
16242 (char *) "self", NULL
16245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (bool)(arg1
)->Realize();
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16264 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16269 PyObject
* obj0
= 0 ;
16270 PyObject
* obj1
= 0 ;
16271 PyObject
* obj2
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self",(char *) "id",(char *) "enable", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 arg2
= (int) SWIG_AsInt(obj1
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16281 arg3
= (bool) SWIG_AsBool(obj2
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 (arg1
)->EnableTool(arg2
,arg3
);
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16290 Py_INCREF(Py_None
); resultobj
= Py_None
;
16297 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16299 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 PyObject
* obj1
= 0 ;
16304 PyObject
* obj2
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "self",(char *) "id",(char *) "toggle", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16312 arg2
= (int) SWIG_AsInt(obj1
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16314 arg3
= (bool) SWIG_AsBool(obj2
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 (arg1
)->ToggleTool(arg2
,arg3
);
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16323 Py_INCREF(Py_None
); resultobj
= Py_None
;
16330 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 PyObject
* obj1
= 0 ;
16337 PyObject
* obj2
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self",(char *) "id",(char *) "toggle", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16345 arg2
= (int) SWIG_AsInt(obj1
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16347 arg3
= (bool) SWIG_AsBool(obj2
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 (arg1
)->SetToggle(arg2
,arg3
);
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16356 Py_INCREF(Py_None
); resultobj
= Py_None
;
16363 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 PyObject
* obj1
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "self",(char *) "id", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16377 arg2
= (int) SWIG_AsInt(obj1
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= result
;
16393 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
;
16395 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16397 PyObject
*arg3
= (PyObject
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 PyObject
* obj1
= 0 ;
16400 PyObject
* obj2
= 0 ;
16401 char *kwnames
[] = {
16402 (char *) "self",(char *) "id",(char *) "clientData", NULL
16405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16408 arg2
= (int) SWIG_AsInt(obj1
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 Py_INCREF(Py_None
); resultobj
= Py_None
;
16425 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 PyObject
* obj1
= 0 ;
16432 char *kwnames
[] = {
16433 (char *) "self",(char *) "id", NULL
16436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16439 arg2
= (int) SWIG_AsInt(obj1
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= SWIG_FromInt((int)result
);
16455 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self",(char *) "id", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16469 arg2
= (int) SWIG_AsInt(obj1
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 result
= (bool)(arg1
)->GetToolState(arg2
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16487 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16492 PyObject
* obj0
= 0 ;
16493 PyObject
* obj1
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self",(char *) "id", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16501 arg2
= (int) SWIG_AsInt(obj1
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16519 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16523 wxString
*arg3
= 0 ;
16524 bool temp3
= False
;
16525 PyObject
* obj0
= 0 ;
16526 PyObject
* obj1
= 0 ;
16527 PyObject
* obj2
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self",(char *) "id",(char *) "helpString", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16535 arg2
= (int) SWIG_AsInt(obj1
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16538 arg3
= wxString_in_helper(obj2
);
16539 if (arg3
== NULL
) SWIG_fail
;
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 Py_INCREF(Py_None
); resultobj
= Py_None
;
16564 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 PyObject
* obj1
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self",(char *) "id", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16578 arg2
= (int) SWIG_AsInt(obj1
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= (arg1
)->GetToolShortHelp(arg2
);
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16600 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16602 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16604 wxString
*arg3
= 0 ;
16605 bool temp3
= False
;
16606 PyObject
* obj0
= 0 ;
16607 PyObject
* obj1
= 0 ;
16608 PyObject
* obj2
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self",(char *) "id",(char *) "helpString", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 arg2
= (int) SWIG_AsInt(obj1
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 arg3
= wxString_in_helper(obj2
);
16620 if (arg3
== NULL
) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 Py_INCREF(Py_None
); resultobj
= Py_None
;
16645 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "id", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16659 arg2
= (int) SWIG_AsInt(obj1
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 result
= (arg1
)->GetToolLongHelp(arg2
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16681 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 PyObject
* obj1
= 0 ;
16688 PyObject
* obj2
= 0 ;
16689 char *kwnames
[] = {
16690 (char *) "self",(char *) "x",(char *) "y", NULL
16693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16696 arg2
= (int) SWIG_AsInt(obj1
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16698 arg3
= (int) SWIG_AsInt(obj2
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 (arg1
)->SetMargins(arg2
,arg3
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 Py_INCREF(Py_None
); resultobj
= Py_None
;
16714 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, 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 *) "size", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16730 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 Py_INCREF(Py_None
); resultobj
= Py_None
;
16746 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "self",(char *) "packing", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16759 arg2
= (int) SWIG_AsInt(obj1
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 (arg1
)->SetToolPacking(arg2
);
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16768 Py_INCREF(Py_None
); resultobj
= Py_None
;
16775 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
;
16777 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16779 PyObject
* obj0
= 0 ;
16780 PyObject
* obj1
= 0 ;
16781 char *kwnames
[] = {
16782 (char *) "self",(char *) "separation", NULL
16785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16788 arg2
= (int) SWIG_AsInt(obj1
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 (arg1
)->SetToolSeparation(arg2
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 Py_INCREF(Py_None
); resultobj
= Py_None
;
16804 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (arg1
)->GetToolMargins();
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16824 wxSize
* resultptr
;
16825 resultptr
= new wxSize((wxSize
&) result
);
16826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16834 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 result
= (arg1
)->GetMargins();
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16854 wxSize
* resultptr
;
16855 resultptr
= new wxSize((wxSize
&) result
);
16856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16864 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16868 PyObject
* obj0
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (int)(arg1
)->GetToolPacking();
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= SWIG_FromInt((int)result
);
16890 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
;
16892 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16894 PyObject
* obj0
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "self", NULL
16899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (int)(arg1
)->GetToolSeparation();
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= SWIG_FromInt((int)result
);
16916 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16918 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self",(char *) "nRows", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16929 arg2
= (int) SWIG_AsInt(obj1
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 (arg1
)->SetRows(arg2
);
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16938 Py_INCREF(Py_None
); resultobj
= Py_None
;
16945 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 PyObject
* obj2
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self",(char *) "rows",(char *) "cols", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16960 arg2
= (int) SWIG_AsInt(obj1
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16962 arg3
= (int) SWIG_AsInt(obj2
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 Py_INCREF(Py_None
); resultobj
= Py_None
;
16978 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16980 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16982 PyObject
* obj0
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (int)(arg1
)->GetMaxRows();
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16997 resultobj
= SWIG_FromInt((int)result
);
17004 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "self", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= (int)(arg1
)->GetMaxCols();
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 resultobj
= SWIG_FromInt((int)result
);
17030 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17031 PyObject
*resultobj
;
17032 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17035 PyObject
* obj0
= 0 ;
17036 PyObject
* obj1
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self",(char *) "size", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17046 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17055 Py_INCREF(Py_None
); resultobj
= Py_None
;
17062 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 char *kwnames
[] = {
17068 (char *) "self", NULL
17071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 result
= (arg1
)->GetToolBitmapSize();
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17082 wxSize
* resultptr
;
17083 resultptr
= new wxSize((wxSize
&) result
);
17084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17092 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17096 PyObject
* obj0
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (arg1
)->GetToolSize();
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17112 wxSize
* resultptr
;
17113 resultptr
= new wxSize((wxSize
&) result
);
17114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17122 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
;
17124 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17127 wxToolBarToolBase
*result
;
17128 PyObject
* obj0
= 0 ;
17129 PyObject
* obj1
= 0 ;
17130 PyObject
* obj2
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "self",(char *) "x",(char *) "y", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17138 arg2
= (int) SWIG_AsInt(obj1
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17140 arg3
= (int) SWIG_AsInt(obj2
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= wxPyMake_wxObject(result
);
17158 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17162 wxToolBarToolBase
*result
;
17163 PyObject
* obj0
= 0 ;
17164 PyObject
* obj1
= 0 ;
17165 char *kwnames
[] = {
17166 (char *) "self",(char *) "toolid", NULL
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17172 arg2
= (int) SWIG_AsInt(obj1
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17182 resultobj
= wxPyMake_wxObject(result
);
17190 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17194 PyObject
* obj0
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= (bool)(arg1
)->IsVertical();
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17218 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
17220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17221 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17223 return Py_BuildValue((char *)"");
17225 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
;
17227 wxWindow
*arg1
= (wxWindow
*) 0 ;
17229 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17230 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17231 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17232 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17233 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17234 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17235 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17239 bool temp6
= False
;
17240 PyObject
* obj0
= 0 ;
17241 PyObject
* obj1
= 0 ;
17242 PyObject
* obj2
= 0 ;
17243 PyObject
* obj3
= 0 ;
17244 PyObject
* obj4
= 0 ;
17245 PyObject
* obj5
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17253 arg2
= (int) SWIG_AsInt(obj1
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17258 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17264 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17268 arg5
= (long) SWIG_AsLong(obj4
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17273 arg6
= wxString_in_helper(obj5
);
17274 if (arg6
== NULL
) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= wxPyMake_wxObject(result
);
17302 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17305 char *kwnames
[] = {
17309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= (wxToolBar
*)new wxToolBar();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= wxPyMake_wxObject(result
);
17326 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17329 wxWindow
*arg2
= (wxWindow
*) 0 ;
17331 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17332 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17333 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17334 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17335 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17336 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17337 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17341 bool temp7
= False
;
17342 PyObject
* obj0
= 0 ;
17343 PyObject
* obj1
= 0 ;
17344 PyObject
* obj2
= 0 ;
17345 PyObject
* obj3
= 0 ;
17346 PyObject
* obj4
= 0 ;
17347 PyObject
* obj5
= 0 ;
17348 PyObject
* obj6
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17358 arg3
= (int) SWIG_AsInt(obj2
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17363 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17369 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17373 arg6
= (long) SWIG_AsLong(obj5
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17378 arg7
= wxString_in_helper(obj6
);
17379 if (arg7
== NULL
) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17407 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17408 PyObject
*resultobj
;
17409 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17412 wxToolBarToolBase
*result
;
17413 PyObject
* obj0
= 0 ;
17414 PyObject
* obj1
= 0 ;
17415 PyObject
* obj2
= 0 ;
17416 char *kwnames
[] = {
17417 (char *) "self",(char *) "x",(char *) "y", NULL
17420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17423 arg2
= (int) SWIG_AsInt(obj1
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17425 arg3
= (int) SWIG_AsInt(obj2
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17435 resultobj
= wxPyMake_wxObject(result
);
17443 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
17445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17446 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17448 return Py_BuildValue((char *)"");
17450 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17451 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17456 static PyObject
*_wrap_ListCtrlNameStr_get() {
17461 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17463 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17470 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxColour
const &arg1_defvalue
= wxNullColour
;
17473 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17474 wxColour
const &arg2_defvalue
= wxNullColour
;
17475 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17476 wxFont
const &arg3_defvalue
= wxNullFont
;
17477 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17478 wxListItemAttr
*result
;
17481 PyObject
* obj0
= 0 ;
17482 PyObject
* obj1
= 0 ;
17483 PyObject
* obj2
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17492 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17498 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17502 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17505 if (arg3
== NULL
) {
17506 PyErr_SetString(PyExc_TypeError
,"null reference");
17511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17524 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
;
17526 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17527 wxColour
*arg2
= 0 ;
17529 PyObject
* obj0
= 0 ;
17530 PyObject
* obj1
= 0 ;
17531 char *kwnames
[] = {
17532 (char *) "self",(char *) "colText", NULL
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17540 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17546 wxPyEndAllowThreads(__tstate
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17549 Py_INCREF(Py_None
); resultobj
= Py_None
;
17556 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17559 wxColour
*arg2
= 0 ;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "self",(char *) "colBack", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17572 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 Py_INCREF(Py_None
); resultobj
= Py_None
;
17588 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
;
17590 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17592 PyObject
* obj0
= 0 ;
17593 PyObject
* obj1
= 0 ;
17594 char *kwnames
[] = {
17595 (char *) "self",(char *) "font", NULL
17598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17604 if (arg2
== NULL
) {
17605 PyErr_SetString(PyExc_TypeError
,"null reference");
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 (arg1
)->SetFont((wxFont
const &)*arg2
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 Py_INCREF(Py_None
); resultobj
= Py_None
;
17622 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 result
= (bool)(arg1
)->HasTextColour();
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17650 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
;
17652 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17654 PyObject
* obj0
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 result
= (bool)(arg1
)->HasBackgroundColour();
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17678 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17680 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (bool)(arg1
)->HasFont();
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17706 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17710 PyObject
* obj0
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (arg1
)->GetTextColour();
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17726 wxColour
* resultptr
;
17727 resultptr
= new wxColour((wxColour
&) result
);
17728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17736 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
;
17738 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17740 PyObject
* obj0
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (arg1
)->GetBackgroundColour();
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17756 wxColour
* resultptr
;
17757 resultptr
= new wxColour((wxColour
&) result
);
17758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17766 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
;
17768 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "self", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= (arg1
)->GetFont();
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17786 wxFont
* resultptr
;
17787 resultptr
= new wxFont((wxFont
&) result
);
17788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
17796 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
;
17798 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17799 PyObject
* obj0
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 wxListItemAttr_Destroy(arg1
);
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17814 Py_INCREF(Py_None
); resultobj
= Py_None
;
17821 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
17823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17824 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17826 return Py_BuildValue((char *)"");
17828 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxListItem
*result
;
17831 char *kwnames
[] = {
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (wxListItem
*)new wxListItem();
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= wxPyMake_wxObject(result
);
17852 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
;
17854 wxListItem
*arg1
= (wxListItem
*) 0 ;
17855 PyObject
* obj0
= 0 ;
17856 char *kwnames
[] = {
17857 (char *) "self", NULL
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 Py_INCREF(Py_None
); resultobj
= Py_None
;
17877 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxListItem
*arg1
= (wxListItem
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 Py_INCREF(Py_None
); resultobj
= Py_None
;
17902 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17904 wxListItem
*arg1
= (wxListItem
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 (arg1
)->ClearAttributes();
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 Py_INCREF(Py_None
); resultobj
= Py_None
;
17927 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxListItem
*arg1
= (wxListItem
*) 0 ;
17931 PyObject
* obj0
= 0 ;
17932 PyObject
* obj1
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "self",(char *) "mask", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17940 arg2
= (long) SWIG_AsLong(obj1
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 (arg1
)->SetMask(arg2
);
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 Py_INCREF(Py_None
); resultobj
= Py_None
;
17956 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxListItem
*arg1
= (wxListItem
*) 0 ;
17960 PyObject
* obj0
= 0 ;
17961 PyObject
* obj1
= 0 ;
17962 char *kwnames
[] = {
17963 (char *) "self",(char *) "id", NULL
17966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17969 arg2
= (long) SWIG_AsLong(obj1
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 (arg1
)->SetId(arg2
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 Py_INCREF(Py_None
); resultobj
= Py_None
;
17985 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
;
17987 wxListItem
*arg1
= (wxListItem
*) 0 ;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 char *kwnames
[] = {
17992 (char *) "self",(char *) "col", NULL
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17998 arg2
= (int) SWIG_AsInt(obj1
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 (arg1
)->SetColumn(arg2
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 Py_INCREF(Py_None
); resultobj
= Py_None
;
18014 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
;
18016 wxListItem
*arg1
= (wxListItem
*) 0 ;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "state", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18027 arg2
= (long) SWIG_AsLong(obj1
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 (arg1
)->SetState(arg2
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 Py_INCREF(Py_None
); resultobj
= Py_None
;
18043 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxListItem
*arg1
= (wxListItem
*) 0 ;
18047 PyObject
* obj0
= 0 ;
18048 PyObject
* obj1
= 0 ;
18049 char *kwnames
[] = {
18050 (char *) "self",(char *) "stateMask", NULL
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18056 arg2
= (long) SWIG_AsLong(obj1
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 (arg1
)->SetStateMask(arg2
);
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 Py_INCREF(Py_None
); resultobj
= Py_None
;
18072 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
;
18074 wxListItem
*arg1
= (wxListItem
*) 0 ;
18075 wxString
*arg2
= 0 ;
18076 bool temp2
= False
;
18077 PyObject
* obj0
= 0 ;
18078 PyObject
* obj1
= 0 ;
18079 char *kwnames
[] = {
18080 (char *) "self",(char *) "text", NULL
18083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18087 arg2
= wxString_in_helper(obj1
);
18088 if (arg2
== NULL
) SWIG_fail
;
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 (arg1
)->SetText((wxString
const &)*arg2
);
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 Py_INCREF(Py_None
); resultobj
= Py_None
;
18113 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxListItem
*arg1
= (wxListItem
*) 0 ;
18117 PyObject
* obj0
= 0 ;
18118 PyObject
* obj1
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "self",(char *) "image", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18126 arg2
= (int) SWIG_AsInt(obj1
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 (arg1
)->SetImage(arg2
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 Py_INCREF(Py_None
); resultobj
= Py_None
;
18142 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18143 PyObject
*resultobj
;
18144 wxListItem
*arg1
= (wxListItem
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 PyObject
* obj1
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "self",(char *) "data", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18155 arg2
= (long) SWIG_AsLong(obj1
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 (arg1
)->SetData(arg2
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 Py_INCREF(Py_None
); resultobj
= Py_None
;
18171 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxListItem
*arg1
= (wxListItem
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 PyObject
* obj1
= 0 ;
18177 char *kwnames
[] = {
18178 (char *) "self",(char *) "width", NULL
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 arg2
= (int) SWIG_AsInt(obj1
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 (arg1
)->SetWidth(arg2
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 Py_INCREF(Py_None
); resultobj
= Py_None
;
18200 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxListItem
*arg1
= (wxListItem
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 PyObject
* obj1
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "self",(char *) "align", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18217 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 Py_INCREF(Py_None
); resultobj
= Py_None
;
18229 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18231 wxListItem
*arg1
= (wxListItem
*) 0 ;
18232 wxColour
*arg2
= 0 ;
18234 PyObject
* obj0
= 0 ;
18235 PyObject
* obj1
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self",(char *) "colText", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 Py_INCREF(Py_None
); resultobj
= Py_None
;
18261 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxListItem
*arg1
= (wxListItem
*) 0 ;
18264 wxColour
*arg2
= 0 ;
18266 PyObject
* obj0
= 0 ;
18267 PyObject
* obj1
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "self",(char *) "colBack", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18277 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 Py_INCREF(Py_None
); resultobj
= Py_None
;
18293 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
;
18295 wxListItem
*arg1
= (wxListItem
*) 0 ;
18297 PyObject
* obj0
= 0 ;
18298 PyObject
* obj1
= 0 ;
18299 char *kwnames
[] = {
18300 (char *) "self",(char *) "font", NULL
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18309 if (arg2
== NULL
) {
18310 PyErr_SetString(PyExc_TypeError
,"null reference");
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 (arg1
)->SetFont((wxFont
const &)*arg2
);
18317 wxPyEndAllowThreads(__tstate
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 Py_INCREF(Py_None
); resultobj
= Py_None
;
18327 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
;
18329 wxListItem
*arg1
= (wxListItem
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "self", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (long)(arg1
)->GetMask();
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= SWIG_FromLong((long)result
);
18353 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxListItem
*arg1
= (wxListItem
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 result
= (long)(arg1
)->GetId();
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= SWIG_FromLong((long)result
);
18379 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
;
18381 wxListItem
*arg1
= (wxListItem
*) 0 ;
18383 PyObject
* obj0
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 result
= (int)(arg1
)->GetColumn();
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18398 resultobj
= SWIG_FromInt((int)result
);
18405 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxListItem
*arg1
= (wxListItem
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (long)(arg1
)->GetState();
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= SWIG_FromLong((long)result
);
18431 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxListItem
*arg1
= (wxListItem
*) 0 ;
18435 PyObject
* obj0
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "self", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 wxString
const &_result_ref
= (arg1
)->GetText();
18447 result
= (wxString
*) &_result_ref
;
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18457 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18466 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxListItem
*arg1
= (wxListItem
*) 0 ;
18470 PyObject
* obj0
= 0 ;
18471 char *kwnames
[] = {
18472 (char *) "self", NULL
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 result
= (int)(arg1
)->GetImage();
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= SWIG_FromInt((int)result
);
18492 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxListItem
*arg1
= (wxListItem
*) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (long)(arg1
)->GetData();
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_FromLong((long)result
);
18518 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxListItem
*arg1
= (wxListItem
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (int)(arg1
)->GetWidth();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_FromInt((int)result
);
18544 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxListItem
*arg1
= (wxListItem
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 result
= (int)(arg1
)->GetAlign();
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_FromInt((int)result
);
18570 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
;
18572 wxListItem
*arg1
= (wxListItem
*) 0 ;
18573 wxListItemAttr
*result
;
18574 PyObject
* obj0
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "self", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18596 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxListItem
*arg1
= (wxListItem
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 result
= (bool)(arg1
)->HasAttributes();
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18624 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxListItem
*arg1
= (wxListItem
*) 0 ;
18628 PyObject
* obj0
= 0 ;
18629 char *kwnames
[] = {
18630 (char *) "self", NULL
18633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18644 wxColour
* resultptr
;
18645 resultptr
= new wxColour((wxColour
&) result
);
18646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18654 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
;
18656 wxListItem
*arg1
= (wxListItem
*) 0 ;
18658 PyObject
* obj0
= 0 ;
18659 char *kwnames
[] = {
18660 (char *) "self", NULL
18663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18668 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18670 wxPyEndAllowThreads(__tstate
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18674 wxColour
* resultptr
;
18675 resultptr
= new wxColour((wxColour
&) result
);
18676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18684 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18686 wxListItem
*arg1
= (wxListItem
*) 0 ;
18688 PyObject
* obj0
= 0 ;
18689 char *kwnames
[] = {
18690 (char *) "self", NULL
18693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18698 result
= ((wxListItem
const *)arg1
)->GetFont();
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18704 wxFont
* resultptr
;
18705 resultptr
= new wxFont((wxFont
&) result
);
18706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18714 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18716 wxListItem
*arg1
= (wxListItem
*) 0 ;
18718 PyObject
* obj0
= 0 ;
18719 PyObject
* obj1
= 0 ;
18720 char *kwnames
[] = {
18721 (char *) "self",(char *) "m_mask", NULL
18724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18727 arg2
= (long) SWIG_AsLong(obj1
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18729 if (arg1
) (arg1
)->m_mask
= arg2
;
18731 Py_INCREF(Py_None
); resultobj
= Py_None
;
18738 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxListItem
*arg1
= (wxListItem
*) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18750 result
= (long) ((arg1
)->m_mask
);
18752 resultobj
= SWIG_FromLong((long)result
);
18759 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxListItem
*arg1
= (wxListItem
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self",(char *) "m_itemId", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18772 arg2
= (long) SWIG_AsLong(obj1
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18774 if (arg1
) (arg1
)->m_itemId
= arg2
;
18776 Py_INCREF(Py_None
); resultobj
= Py_None
;
18783 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18784 PyObject
*resultobj
;
18785 wxListItem
*arg1
= (wxListItem
*) 0 ;
18787 PyObject
* obj0
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18795 result
= (long) ((arg1
)->m_itemId
);
18797 resultobj
= SWIG_FromLong((long)result
);
18804 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxListItem
*arg1
= (wxListItem
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self",(char *) "m_col", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18817 arg2
= (int) SWIG_AsInt(obj1
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18819 if (arg1
) (arg1
)->m_col
= arg2
;
18821 Py_INCREF(Py_None
); resultobj
= Py_None
;
18828 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxListItem
*arg1
= (wxListItem
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "self", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18840 result
= (int) ((arg1
)->m_col
);
18842 resultobj
= SWIG_FromInt((int)result
);
18849 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxListItem
*arg1
= (wxListItem
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self",(char *) "m_state", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18862 arg2
= (long) SWIG_AsLong(obj1
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18864 if (arg1
) (arg1
)->m_state
= arg2
;
18866 Py_INCREF(Py_None
); resultobj
= Py_None
;
18873 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxListItem
*arg1
= (wxListItem
*) 0 ;
18877 PyObject
* obj0
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18885 result
= (long) ((arg1
)->m_state
);
18887 resultobj
= SWIG_FromLong((long)result
);
18894 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
;
18896 wxListItem
*arg1
= (wxListItem
*) 0 ;
18898 PyObject
* obj0
= 0 ;
18899 PyObject
* obj1
= 0 ;
18900 char *kwnames
[] = {
18901 (char *) "self",(char *) "m_stateMask", NULL
18904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18907 arg2
= (long) SWIG_AsLong(obj1
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18909 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18911 Py_INCREF(Py_None
); resultobj
= Py_None
;
18918 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxListItem
*arg1
= (wxListItem
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 result
= (long) ((arg1
)->m_stateMask
);
18932 resultobj
= SWIG_FromLong((long)result
);
18939 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
;
18941 wxListItem
*arg1
= (wxListItem
*) 0 ;
18942 wxString
*arg2
= (wxString
*) 0 ;
18943 bool temp2
= False
;
18944 PyObject
* obj0
= 0 ;
18945 PyObject
* obj1
= 0 ;
18946 char *kwnames
[] = {
18947 (char *) "self",(char *) "m_text", NULL
18950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18954 arg2
= wxString_in_helper(obj1
);
18955 if (arg2
== NULL
) SWIG_fail
;
18958 if (arg1
) (arg1
)->m_text
= *arg2
;
18960 Py_INCREF(Py_None
); resultobj
= Py_None
;
18975 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxListItem
*arg1
= (wxListItem
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18987 result
= (wxString
*)& ((arg1
)->m_text
);
18991 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18993 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19002 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxListItem
*arg1
= (wxListItem
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "self",(char *) "m_image", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19015 arg2
= (int) SWIG_AsInt(obj1
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19017 if (arg1
) (arg1
)->m_image
= arg2
;
19019 Py_INCREF(Py_None
); resultobj
= Py_None
;
19026 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
;
19028 wxListItem
*arg1
= (wxListItem
*) 0 ;
19030 PyObject
* obj0
= 0 ;
19031 char *kwnames
[] = {
19032 (char *) "self", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19038 result
= (int) ((arg1
)->m_image
);
19040 resultobj
= SWIG_FromInt((int)result
);
19047 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxListItem
*arg1
= (wxListItem
*) 0 ;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self",(char *) "m_data", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19060 arg2
= (long) SWIG_AsLong(obj1
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19062 if (arg1
) (arg1
)->m_data
= arg2
;
19064 Py_INCREF(Py_None
); resultobj
= Py_None
;
19071 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxListItem
*arg1
= (wxListItem
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19083 result
= (long) ((arg1
)->m_data
);
19085 resultobj
= SWIG_FromLong((long)result
);
19092 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxListItem
*arg1
= (wxListItem
*) 0 ;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "self",(char *) "m_format", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19105 arg2
= (int) SWIG_AsInt(obj1
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19107 if (arg1
) (arg1
)->m_format
= arg2
;
19109 Py_INCREF(Py_None
); resultobj
= Py_None
;
19116 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxListItem
*arg1
= (wxListItem
*) 0 ;
19120 PyObject
* obj0
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "self", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19128 result
= (int) ((arg1
)->m_format
);
19130 resultobj
= SWIG_FromInt((int)result
);
19137 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxListItem
*arg1
= (wxListItem
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self",(char *) "m_width", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 arg2
= (int) SWIG_AsInt(obj1
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19152 if (arg1
) (arg1
)->m_width
= arg2
;
19154 Py_INCREF(Py_None
); resultobj
= Py_None
;
19161 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
;
19163 wxListItem
*arg1
= (wxListItem
*) 0 ;
19165 PyObject
* obj0
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19173 result
= (int) ((arg1
)->m_width
);
19175 resultobj
= SWIG_FromInt((int)result
);
19182 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
19184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19185 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19187 return Py_BuildValue((char *)"");
19189 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
;
19191 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19192 int arg2
= (int) 0 ;
19193 wxListEvent
*result
;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "commandType",(char *) "id", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19202 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19206 arg2
= (int) SWIG_AsInt(obj1
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19223 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self",(char *) "m_code", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19236 arg2
= (int) SWIG_AsInt(obj1
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19238 if (arg1
) (arg1
)->m_code
= arg2
;
19240 Py_INCREF(Py_None
); resultobj
= Py_None
;
19247 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
;
19249 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19251 PyObject
* obj0
= 0 ;
19252 char *kwnames
[] = {
19253 (char *) "self", NULL
19256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19259 result
= (int) ((arg1
)->m_code
);
19261 resultobj
= SWIG_FromInt((int)result
);
19268 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self",(char *) "m_oldItemIndex", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19281 arg2
= (long) SWIG_AsLong(obj1
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19283 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19285 Py_INCREF(Py_None
); resultobj
= Py_None
;
19292 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19296 PyObject
* obj0
= 0 ;
19297 char *kwnames
[] = {
19298 (char *) "self", NULL
19301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19304 result
= (long) ((arg1
)->m_oldItemIndex
);
19306 resultobj
= SWIG_FromLong((long)result
);
19313 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self",(char *) "m_itemIndex", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 arg2
= (long) SWIG_AsLong(obj1
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19328 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19330 Py_INCREF(Py_None
); resultobj
= Py_None
;
19337 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
;
19339 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19349 result
= (long) ((arg1
)->m_itemIndex
);
19351 resultobj
= SWIG_FromLong((long)result
);
19358 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 PyObject
* obj1
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self",(char *) "m_col", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19371 arg2
= (int) SWIG_AsInt(obj1
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19373 if (arg1
) (arg1
)->m_col
= arg2
;
19375 Py_INCREF(Py_None
); resultobj
= Py_None
;
19382 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19386 PyObject
* obj0
= 0 ;
19387 char *kwnames
[] = {
19388 (char *) "self", NULL
19391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19394 result
= (int) ((arg1
)->m_col
);
19396 resultobj
= SWIG_FromInt((int)result
);
19403 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19406 wxPoint
*arg2
= (wxPoint
*) 0 ;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self",(char *) "m_pointDrag", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19418 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19420 Py_INCREF(Py_None
); resultobj
= Py_None
;
19427 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
;
19429 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19431 PyObject
* obj0
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19439 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19448 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19451 wxListItem
*result
;
19452 PyObject
* obj0
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "self", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19460 result
= (wxListItem
*)& ((arg1
)->m_item
);
19463 resultobj
= wxPyMake_wxObject(result
);
19471 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19475 PyObject
* obj0
= 0 ;
19476 char *kwnames
[] = {
19477 (char *) "self", NULL
19480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 result
= (int)(arg1
)->GetKeyCode();
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 resultobj
= SWIG_FromInt((int)result
);
19497 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19501 PyObject
* obj0
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "self", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 result
= (long)(arg1
)->GetIndex();
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= SWIG_FromLong((long)result
);
19523 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19527 PyObject
* obj0
= 0 ;
19528 char *kwnames
[] = {
19529 (char *) "self", NULL
19532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 result
= (int)(arg1
)->GetColumn();
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= SWIG_FromInt((int)result
);
19549 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19551 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19553 PyObject
* obj0
= 0 ;
19554 char *kwnames
[] = {
19555 (char *) "self", NULL
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 result
= (arg1
)->GetPoint();
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19569 wxPoint
* resultptr
;
19570 resultptr
= new wxPoint((wxPoint
&) result
);
19571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19579 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
;
19581 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19583 PyObject
* obj0
= 0 ;
19584 char *kwnames
[] = {
19585 (char *) "self", NULL
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 wxString
const &_result_ref
= (arg1
)->GetLabel();
19595 result
= (wxString
*) &_result_ref
;
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19603 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19605 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19614 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 char *kwnames
[] = {
19620 (char *) "self", NULL
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 wxString
const &_result_ref
= (arg1
)->GetText();
19630 result
= (wxString
*) &_result_ref
;
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19638 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19640 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19649 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= (int)(arg1
)->GetImage();
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= SWIG_FromInt((int)result
);
19675 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19679 PyObject
* obj0
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (long)(arg1
)->GetData();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_FromLong((long)result
);
19701 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (long)(arg1
)->GetMask();
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_FromLong((long)result
);
19727 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19729 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19730 wxListItem
*result
;
19731 PyObject
* obj0
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19743 result
= (wxListItem
*) &_result_ref
;
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19756 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
;
19758 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19760 PyObject
* obj0
= 0 ;
19761 char *kwnames
[] = {
19762 (char *) "self", NULL
19765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 result
= (long)(arg1
)->GetCacheFrom();
19772 wxPyEndAllowThreads(__tstate
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= SWIG_FromLong((long)result
);
19782 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
;
19784 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19786 PyObject
* obj0
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "self", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (long)(arg1
)->GetCacheTo();
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= SWIG_FromLong((long)result
);
19808 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19812 PyObject
* obj0
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "self", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19836 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19840 PyObject
* obj0
= 0 ;
19841 PyObject
* obj1
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self",(char *) "editCancelled", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19849 arg2
= (bool) SWIG_AsBool(obj1
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 (arg1
)->SetEditCanceled(arg2
);
19855 wxPyEndAllowThreads(__tstate
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19858 Py_INCREF(Py_None
); resultobj
= Py_None
;
19865 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
19867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19868 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19870 return Py_BuildValue((char *)"");
19872 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxWindow
*arg1
= (wxWindow
*) 0 ;
19875 int arg2
= (int) -1 ;
19876 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19877 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19878 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19879 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19880 long arg5
= (long) wxLC_ICON
;
19881 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19882 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19883 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19884 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19885 wxPyListCtrl
*result
;
19888 bool temp7
= False
;
19889 PyObject
* obj0
= 0 ;
19890 PyObject
* obj1
= 0 ;
19891 PyObject
* obj2
= 0 ;
19892 PyObject
* obj3
= 0 ;
19893 PyObject
* obj4
= 0 ;
19894 PyObject
* obj5
= 0 ;
19895 PyObject
* obj6
= 0 ;
19896 char *kwnames
[] = {
19897 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19904 arg2
= (int) SWIG_AsInt(obj1
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19910 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19916 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19920 arg5
= (long) SWIG_AsLong(obj4
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19924 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
19925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19927 if (arg6
== NULL
) {
19928 PyErr_SetString(PyExc_TypeError
,"null reference");
19934 arg7
= wxString_in_helper(obj6
);
19935 if (arg7
== NULL
) SWIG_fail
;
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
19961 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxPyListCtrl
*result
;
19964 char *kwnames
[] = {
19968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
19983 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
;
19985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19986 wxWindow
*arg2
= (wxWindow
*) 0 ;
19987 int arg3
= (int) -1 ;
19988 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19989 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19990 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19991 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19992 long arg6
= (long) wxLC_ICON
;
19993 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19994 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19995 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19996 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20000 bool temp8
= False
;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 PyObject
* obj2
= 0 ;
20004 PyObject
* obj3
= 0 ;
20005 PyObject
* obj4
= 0 ;
20006 PyObject
* obj5
= 0 ;
20007 PyObject
* obj6
= 0 ;
20008 PyObject
* obj7
= 0 ;
20009 char *kwnames
[] = {
20010 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20019 arg3
= (int) SWIG_AsInt(obj2
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20025 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20031 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20035 arg6
= (long) SWIG_AsLong(obj5
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20039 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20042 if (arg7
== NULL
) {
20043 PyErr_SetString(PyExc_TypeError
,"null reference");
20049 arg8
= wxString_in_helper(obj7
);
20050 if (arg8
== NULL
) SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20078 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20081 PyObject
*arg2
= (PyObject
*) 0 ;
20082 PyObject
*arg3
= (PyObject
*) 0 ;
20083 PyObject
* obj0
= 0 ;
20084 PyObject
* obj1
= 0 ;
20085 PyObject
* obj2
= 0 ;
20086 char *kwnames
[] = {
20087 (char *) "self",(char *) "self",(char *) "_class", NULL
20090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 Py_INCREF(Py_None
); resultobj
= Py_None
;
20109 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
;
20111 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20112 wxColour
*arg2
= 0 ;
20115 PyObject
* obj0
= 0 ;
20116 PyObject
* obj1
= 0 ;
20117 char *kwnames
[] = {
20118 (char *) "self",(char *) "col", NULL
20121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20126 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20144 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20147 wxColour
*arg2
= 0 ;
20150 PyObject
* obj0
= 0 ;
20151 PyObject
* obj1
= 0 ;
20152 char *kwnames
[] = {
20153 (char *) "self",(char *) "col", NULL
20156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20161 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20179 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
;
20181 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20183 wxListItem
*result
;
20184 PyObject
* obj0
= 0 ;
20185 PyObject
* obj1
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "self",(char *) "col", NULL
20190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20193 arg2
= (int) SWIG_AsInt(obj1
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20203 resultobj
= wxPyMake_wxObject(result
);
20211 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20215 wxListItem
*arg3
= 0 ;
20217 PyObject
* obj0
= 0 ;
20218 PyObject
* obj1
= 0 ;
20219 PyObject
* obj2
= 0 ;
20220 char *kwnames
[] = {
20221 (char *) "self",(char *) "col",(char *) "item", NULL
20224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20227 arg2
= (int) SWIG_AsInt(obj1
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20229 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20232 if (arg3
== NULL
) {
20233 PyErr_SetString(PyExc_TypeError
,"null reference");
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20252 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self",(char *) "col", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20266 arg2
= (int) SWIG_AsInt(obj1
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20275 resultobj
= SWIG_FromInt((int)result
);
20282 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20283 PyObject
*resultobj
;
20284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 PyObject
* obj1
= 0 ;
20290 PyObject
* obj2
= 0 ;
20291 char *kwnames
[] = {
20292 (char *) "self",(char *) "col",(char *) "width", NULL
20295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20298 arg2
= (int) SWIG_AsInt(obj1
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20300 arg3
= (int) SWIG_AsInt(obj2
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20318 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= SWIG_FromInt((int)result
);
20344 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 char *kwnames
[] = {
20350 (char *) "self", NULL
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20364 wxRect
* resultptr
;
20365 resultptr
= new wxRect((wxRect
&) result
);
20366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20374 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
;
20376 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20378 int arg3
= (int) 0 ;
20379 wxListItem
*result
;
20380 PyObject
* obj0
= 0 ;
20381 PyObject
* obj1
= 0 ;
20382 PyObject
* obj2
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "self",(char *) "itemId",(char *) "col", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20390 arg2
= (long) SWIG_AsLong(obj1
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 arg3
= (int) SWIG_AsInt(obj2
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= wxPyMake_wxObject(result
);
20412 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20415 wxListItem
*arg2
= 0 ;
20417 PyObject
* obj0
= 0 ;
20418 PyObject
* obj1
= 0 ;
20419 char *kwnames
[] = {
20420 (char *) "self",(char *) "info", NULL
20423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20429 if (arg2
== NULL
) {
20430 PyErr_SetString(PyExc_TypeError
,"null reference");
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 result
= (bool)(arg1
)->SetItem(*arg2
);
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20449 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
;
20451 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20454 wxString
*arg4
= 0 ;
20455 int arg5
= (int) -1 ;
20457 bool temp4
= False
;
20458 PyObject
* obj0
= 0 ;
20459 PyObject
* obj1
= 0 ;
20460 PyObject
* obj2
= 0 ;
20461 PyObject
* obj3
= 0 ;
20462 PyObject
* obj4
= 0 ;
20463 char *kwnames
[] = {
20464 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20470 arg2
= (long) SWIG_AsLong(obj1
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20472 arg3
= (int) SWIG_AsInt(obj2
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20475 arg4
= wxString_in_helper(obj3
);
20476 if (arg4
== NULL
) SWIG_fail
;
20480 arg5
= (int) SWIG_AsInt(obj4
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 resultobj
= SWIG_FromLong((long)result
);
20505 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
;
20507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20511 PyObject
* obj0
= 0 ;
20512 PyObject
* obj1
= 0 ;
20513 PyObject
* obj2
= 0 ;
20514 char *kwnames
[] = {
20515 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20521 arg2
= (long) SWIG_AsLong(obj1
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20523 arg3
= (long) SWIG_AsLong(obj2
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= SWIG_FromInt((int)result
);
20539 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 PyObject
* obj2
= 0 ;
20549 PyObject
* obj3
= 0 ;
20550 char *kwnames
[] = {
20551 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20557 arg2
= (long) SWIG_AsLong(obj1
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20559 arg3
= (long) SWIG_AsLong(obj2
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20561 arg4
= (long) SWIG_AsLong(obj3
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20579 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20586 PyObject
* obj0
= 0 ;
20587 PyObject
* obj1
= 0 ;
20588 PyObject
* obj2
= 0 ;
20589 PyObject
* obj3
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20597 arg2
= (long) SWIG_AsLong(obj1
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20599 arg3
= (int) SWIG_AsInt(obj2
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20601 arg4
= (int) SWIG_AsInt(obj3
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20619 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20621 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20624 PyObject
* obj0
= 0 ;
20625 PyObject
* obj1
= 0 ;
20626 char *kwnames
[] = {
20627 (char *) "self",(char *) "item", NULL
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20633 arg2
= (long) SWIG_AsLong(obj1
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20655 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20659 wxString
*arg3
= 0 ;
20660 bool temp3
= False
;
20661 PyObject
* obj0
= 0 ;
20662 PyObject
* obj1
= 0 ;
20663 PyObject
* obj2
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self",(char *) "item",(char *) "str", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20671 arg2
= (long) SWIG_AsLong(obj1
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 arg3
= wxString_in_helper(obj2
);
20675 if (arg3
== NULL
) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20685 Py_INCREF(Py_None
); resultobj
= Py_None
;
20700 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
;
20702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20705 PyObject
* obj0
= 0 ;
20706 PyObject
* obj1
= 0 ;
20707 char *kwnames
[] = {
20708 (char *) "self",(char *) "item", NULL
20711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20714 arg2
= (long) SWIG_AsLong(obj1
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 resultobj
= SWIG_FromLong((long)result
);
20730 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20736 PyObject
* obj0
= 0 ;
20737 PyObject
* obj1
= 0 ;
20738 PyObject
* obj2
= 0 ;
20739 char *kwnames
[] = {
20740 (char *) "self",(char *) "item",(char *) "data", NULL
20743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20746 arg2
= (long) SWIG_AsLong(obj1
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20748 arg3
= (long) SWIG_AsLong(obj2
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20754 wxPyEndAllowThreads(__tstate
);
20755 if (PyErr_Occurred()) SWIG_fail
;
20758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20766 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20767 PyObject
*resultobj
;
20768 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20771 PyObject
* obj0
= 0 ;
20772 PyObject
* obj1
= 0 ;
20773 char *kwnames
[] = {
20774 (char *) "self",(char *) "item", NULL
20777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20780 arg2
= (long) SWIG_AsLong(obj1
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20790 wxPoint
* resultptr
;
20791 resultptr
= new wxPoint((wxPoint
&) result
);
20792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20800 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20804 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20806 PyObject
* obj0
= 0 ;
20807 PyObject
* obj1
= 0 ;
20808 PyObject
* obj2
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "self",(char *) "item",(char *) "code", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20816 arg2
= (long) SWIG_AsLong(obj1
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 arg3
= (int) SWIG_AsInt(obj2
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20830 wxRect
* resultptr
;
20831 resultptr
= new wxRect((wxRect
&) result
);
20832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20840 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20844 wxPoint
*arg3
= 0 ;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 PyObject
* obj2
= 0 ;
20850 char *kwnames
[] = {
20851 (char *) "self",(char *) "item",(char *) "pos", NULL
20854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20857 arg2
= (long) SWIG_AsLong(obj1
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20861 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20879 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
;
20881 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20883 PyObject
* obj0
= 0 ;
20884 char *kwnames
[] = {
20885 (char *) "self", NULL
20888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20898 resultobj
= SWIG_FromInt((int)result
);
20905 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20909 PyObject
* obj0
= 0 ;
20910 char *kwnames
[] = {
20911 (char *) "self", NULL
20914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= SWIG_FromInt((int)result
);
20931 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 char *kwnames
[] = {
20937 (char *) "self", NULL
20940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20951 wxSize
* resultptr
;
20952 resultptr
= new wxSize((wxSize
&) result
);
20953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20961 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20965 bool arg3
= (bool) False
;
20966 PyObject
* obj0
= 0 ;
20967 PyObject
* obj1
= 0 ;
20968 PyObject
* obj2
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20976 arg2
= (int) SWIG_AsInt(obj1
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 arg3
= (bool) SWIG_AsBool(obj2
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 (arg1
)->SetItemSpacing(arg2
,arg3
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 Py_INCREF(Py_None
); resultobj
= Py_None
;
20996 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
;
20998 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21000 PyObject
* obj0
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= SWIG_FromInt((int)result
);
21022 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21026 PyObject
* obj0
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21042 wxColour
* resultptr
;
21043 resultptr
= new wxColour((wxColour
&) result
);
21044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21052 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21055 wxColour
*arg2
= 0 ;
21057 PyObject
* obj0
= 0 ;
21058 PyObject
* obj1
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self",(char *) "col", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21068 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 Py_INCREF(Py_None
); resultobj
= Py_None
;
21084 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21086 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21088 PyObject
* obj0
= 0 ;
21089 char *kwnames
[] = {
21090 (char *) "self", NULL
21093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= SWIG_FromLong((long)result
);
21110 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21112 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21114 bool arg3
= (bool) True
;
21115 PyObject
* obj0
= 0 ;
21116 PyObject
* obj1
= 0 ;
21117 PyObject
* obj2
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self",(char *) "style",(char *) "add", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21125 arg2
= (long) SWIG_AsLong(obj1
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 arg3
= (bool) SWIG_AsBool(obj2
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 (arg1
)->SetSingleStyle(arg2
,arg3
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 Py_INCREF(Py_None
); resultobj
= Py_None
;
21145 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21149 PyObject
* obj0
= 0 ;
21150 PyObject
* obj1
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self",(char *) "style", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21158 arg2
= (long) SWIG_AsLong(obj1
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 (arg1
)->SetWindowStyleFlag(arg2
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 Py_INCREF(Py_None
); resultobj
= Py_None
;
21174 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21178 int arg3
= (int) wxLIST_NEXT_ALL
;
21179 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 PyObject
* obj2
= 0 ;
21184 PyObject
* obj3
= 0 ;
21185 char *kwnames
[] = {
21186 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21192 arg2
= (long) SWIG_AsLong(obj1
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 arg3
= (int) SWIG_AsInt(obj2
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21199 arg4
= (int) SWIG_AsInt(obj3
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= SWIG_FromLong((long)result
);
21216 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21220 wxImageList
*result
;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self",(char *) "which", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21230 arg2
= (int) SWIG_AsInt(obj1
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21240 resultobj
= wxPyMake_wxObject(result
);
21248 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21249 PyObject
*resultobj
;
21250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21251 wxImageList
*arg2
= (wxImageList
*) 0 ;
21253 PyObject
* obj0
= 0 ;
21254 PyObject
* obj1
= 0 ;
21255 PyObject
* obj2
= 0 ;
21256 char *kwnames
[] = {
21257 (char *) "self",(char *) "imageList",(char *) "which", NULL
21260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21265 arg3
= (int) SWIG_AsInt(obj2
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 (arg1
)->SetImageList(arg2
,arg3
);
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21274 Py_INCREF(Py_None
); resultobj
= Py_None
;
21281 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
;
21283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21284 wxImageList
*arg2
= (wxImageList
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 PyObject
* obj2
= 0 ;
21289 char *kwnames
[] = {
21290 (char *) "self",(char *) "imageList",(char *) "which", NULL
21293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21297 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21298 arg3
= (int) SWIG_AsInt(obj2
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 (arg1
)->AssignImageList(arg2
,arg3
);
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 Py_INCREF(Py_None
); resultobj
= Py_None
;
21314 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
;
21316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21318 PyObject
* obj0
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21342 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21346 PyObject
* obj0
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21370 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
;
21372 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21374 PyObject
* obj0
= 0 ;
21375 PyObject
* obj1
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self",(char *) "item", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21383 arg2
= (long) SWIG_AsLong(obj1
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 (arg1
)->RefreshItem(arg2
);
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 Py_INCREF(Py_None
); resultobj
= Py_None
;
21399 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 PyObject
* obj2
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",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
;
21416 arg3
= (long) SWIG_AsLong(obj2
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 (arg1
)->RefreshItems(arg2
,arg3
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 Py_INCREF(Py_None
); resultobj
= Py_None
;
21432 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21435 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21437 PyObject
* obj0
= 0 ;
21438 PyObject
* obj1
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "self",(char *) "flag", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 arg2
= (int) SWIG_AsInt(obj1
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (bool)(arg1
)->Arrange(arg2
);
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21466 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self",(char *) "item", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21480 arg2
= (long) SWIG_AsLong(obj1
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 result
= (bool)(arg1
)->DeleteItem(arg2
);
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21498 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21502 PyObject
* obj0
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (bool)(arg1
)->DeleteAllItems();
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21526 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "self",(char *) "col", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21540 arg2
= (int) SWIG_AsInt(obj1
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21558 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21562 PyObject
* obj0
= 0 ;
21563 char *kwnames
[] = {
21564 (char *) "self", NULL
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (bool)(arg1
)->DeleteAllColumns();
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21586 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21589 PyObject
* obj0
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 (arg1
)->ClearAll();
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 Py_INCREF(Py_None
); resultobj
= Py_None
;
21611 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
;
21613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21615 PyObject
* obj0
= 0 ;
21616 PyObject
* obj1
= 0 ;
21617 char *kwnames
[] = {
21618 (char *) "self",(char *) "item", NULL
21621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21624 arg2
= (long) SWIG_AsLong(obj1
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 (arg1
)->EditLabel(arg2
);
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21633 Py_INCREF(Py_None
); resultobj
= Py_None
;
21640 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "item", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 arg2
= (long) SWIG_AsLong(obj1
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21672 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
;
21674 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21676 wxString
*arg3
= 0 ;
21677 bool arg4
= (bool) False
;
21679 bool temp3
= False
;
21680 PyObject
* obj0
= 0 ;
21681 PyObject
* obj1
= 0 ;
21682 PyObject
* obj2
= 0 ;
21683 PyObject
* obj3
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21691 arg2
= (long) SWIG_AsLong(obj1
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 arg3
= wxString_in_helper(obj2
);
21695 if (arg3
== NULL
) SWIG_fail
;
21699 arg4
= (bool) SWIG_AsBool(obj3
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= SWIG_FromLong((long)result
);
21724 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21730 PyObject
* obj0
= 0 ;
21731 PyObject
* obj1
= 0 ;
21732 PyObject
* obj2
= 0 ;
21733 char *kwnames
[] = {
21734 (char *) "self",(char *) "start",(char *) "data", NULL
21737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21740 arg2
= (long) SWIG_AsLong(obj1
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21742 arg3
= (long) SWIG_AsLong(obj2
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= SWIG_FromLong((long)result
);
21758 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
;
21760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21762 wxPoint
*arg3
= 0 ;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 PyObject
* obj2
= 0 ;
21769 PyObject
* obj3
= 0 ;
21770 char *kwnames
[] = {
21771 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21777 arg2
= (long) SWIG_AsLong(obj1
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21783 arg4
= (int) SWIG_AsInt(obj3
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21792 resultobj
= SWIG_FromLong((long)result
);
21799 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
;
21801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21802 wxPoint
*arg2
= 0 ;
21807 PyObject
* obj0
= 0 ;
21808 PyObject
* obj1
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "self",(char *) "point", NULL
21814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21819 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= SWIG_FromLong((long)result
);
21830 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21831 resultobj
= t_output_helper(resultobj
,o
);
21839 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21842 wxListItem
*arg2
= 0 ;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "self",(char *) "info", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21856 if (arg2
== NULL
) {
21857 PyErr_SetString(PyExc_TypeError
,"null reference");
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (long)(arg1
)->InsertItem(*arg2
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= SWIG_FromLong((long)result
);
21874 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21878 wxString
*arg3
= 0 ;
21880 bool temp3
= False
;
21881 PyObject
* obj0
= 0 ;
21882 PyObject
* obj1
= 0 ;
21883 PyObject
* obj2
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "self",(char *) "index",(char *) "label", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21891 arg2
= (long) SWIG_AsLong(obj1
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 arg3
= wxString_in_helper(obj2
);
21895 if (arg3
== NULL
) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= SWIG_FromLong((long)result
);
21920 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
;
21922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21926 PyObject
* obj0
= 0 ;
21927 PyObject
* obj1
= 0 ;
21928 PyObject
* obj2
= 0 ;
21929 char *kwnames
[] = {
21930 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21936 arg2
= (long) SWIG_AsLong(obj1
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21938 arg3
= (int) SWIG_AsInt(obj2
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= SWIG_FromLong((long)result
);
21954 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21958 wxString
*arg3
= 0 ;
21961 bool temp3
= False
;
21962 PyObject
* obj0
= 0 ;
21963 PyObject
* obj1
= 0 ;
21964 PyObject
* obj2
= 0 ;
21965 PyObject
* obj3
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21973 arg2
= (long) SWIG_AsLong(obj1
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 arg3
= wxString_in_helper(obj2
);
21977 if (arg3
== NULL
) SWIG_fail
;
21980 arg4
= (int) SWIG_AsInt(obj3
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 resultobj
= SWIG_FromLong((long)result
);
22004 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22005 PyObject
*resultobj
;
22006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22008 wxListItem
*arg3
= 0 ;
22010 PyObject
* obj0
= 0 ;
22011 PyObject
* obj1
= 0 ;
22012 PyObject
* obj2
= 0 ;
22013 char *kwnames
[] = {
22014 (char *) "self",(char *) "col",(char *) "info", NULL
22017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22020 arg2
= (long) SWIG_AsLong(obj1
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22022 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22025 if (arg3
== NULL
) {
22026 PyErr_SetString(PyExc_TypeError
,"null reference");
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= SWIG_FromLong((long)result
);
22043 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22047 wxString
*arg3
= 0 ;
22048 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22049 int arg5
= (int) -1 ;
22051 bool temp3
= False
;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 PyObject
* obj2
= 0 ;
22055 PyObject
* obj3
= 0 ;
22056 PyObject
* obj4
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22064 arg2
= (long) SWIG_AsLong(obj1
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22067 arg3
= wxString_in_helper(obj2
);
22068 if (arg3
== NULL
) SWIG_fail
;
22072 arg4
= (int) SWIG_AsInt(obj3
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22076 arg5
= (int) SWIG_AsInt(obj4
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= SWIG_FromLong((long)result
);
22101 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 char *kwnames
[] = {
22108 (char *) "self",(char *) "count", NULL
22111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22114 arg2
= (long) SWIG_AsLong(obj1
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 (arg1
)->SetItemCount(arg2
);
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 Py_INCREF(Py_None
); resultobj
= Py_None
;
22130 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
;
22132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22136 PyObject
* obj0
= 0 ;
22137 PyObject
* obj1
= 0 ;
22138 PyObject
* obj2
= 0 ;
22139 char *kwnames
[] = {
22140 (char *) "self",(char *) "dx",(char *) "dy", NULL
22143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22146 arg2
= (int) SWIG_AsInt(obj1
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22148 arg3
= (int) SWIG_AsInt(obj2
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22166 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22170 wxColour
*arg3
= 0 ;
22172 PyObject
* obj0
= 0 ;
22173 PyObject
* obj1
= 0 ;
22174 PyObject
* obj2
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self",(char *) "item",(char *) "col", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22182 arg2
= (long) SWIG_AsLong(obj1
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22186 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 Py_INCREF(Py_None
); resultobj
= Py_None
;
22202 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
;
22204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22207 PyObject
* obj0
= 0 ;
22208 PyObject
* obj1
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self",(char *) "item", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22216 arg2
= (long) SWIG_AsLong(obj1
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22226 wxColour
* resultptr
;
22227 resultptr
= new wxColour((wxColour
&) result
);
22228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22236 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22240 wxColour
*arg3
= 0 ;
22242 PyObject
* obj0
= 0 ;
22243 PyObject
* obj1
= 0 ;
22244 PyObject
* obj2
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "self",(char *) "item",(char *) "col", NULL
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22252 arg2
= (long) SWIG_AsLong(obj1
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22256 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 Py_INCREF(Py_None
); resultobj
= Py_None
;
22272 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self",(char *) "item", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22286 arg2
= (long) SWIG_AsLong(obj1
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 wxColour
* resultptr
;
22297 resultptr
= new wxColour((wxColour
&) result
);
22298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22306 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22309 PyObject
*arg2
= (PyObject
*) 0 ;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self",(char *) "func", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22337 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22341 PyObject
* obj0
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= wxPyMake_wxObject(result
);
22365 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
22367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22368 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22370 return Py_BuildValue((char *)"");
22372 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxWindow
*arg1
= (wxWindow
*) 0 ;
22375 int arg2
= (int) -1 ;
22376 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22377 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22378 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22379 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22380 long arg5
= (long) wxLC_REPORT
;
22381 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22382 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22383 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22384 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22385 wxListView
*result
;
22388 bool temp7
= False
;
22389 PyObject
* obj0
= 0 ;
22390 PyObject
* obj1
= 0 ;
22391 PyObject
* obj2
= 0 ;
22392 PyObject
* obj3
= 0 ;
22393 PyObject
* obj4
= 0 ;
22394 PyObject
* obj5
= 0 ;
22395 PyObject
* obj6
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22404 arg2
= (int) SWIG_AsInt(obj1
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22410 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22416 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22420 arg5
= (long) SWIG_AsLong(obj4
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22424 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22427 if (arg6
== NULL
) {
22428 PyErr_SetString(PyExc_TypeError
,"null reference");
22434 arg7
= wxString_in_helper(obj6
);
22435 if (arg7
== NULL
) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22461 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxListView
*result
;
22464 char *kwnames
[] = {
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 result
= (wxListView
*)new wxListView();
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22483 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
;
22485 wxListView
*arg1
= (wxListView
*) 0 ;
22486 wxWindow
*arg2
= (wxWindow
*) 0 ;
22487 int arg3
= (int) -1 ;
22488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22492 long arg6
= (long) wxLC_REPORT
;
22493 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22494 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22495 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22496 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22500 bool temp8
= False
;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 PyObject
* obj2
= 0 ;
22504 PyObject
* obj3
= 0 ;
22505 PyObject
* obj4
= 0 ;
22506 PyObject
* obj5
= 0 ;
22507 PyObject
* obj6
= 0 ;
22508 PyObject
* obj7
= 0 ;
22509 char *kwnames
[] = {
22510 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22519 arg3
= (int) SWIG_AsInt(obj2
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22525 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22531 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22535 arg6
= (long) SWIG_AsLong(obj5
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22539 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22542 if (arg7
== NULL
) {
22543 PyErr_SetString(PyExc_TypeError
,"null reference");
22549 arg8
= wxString_in_helper(obj7
);
22550 if (arg8
== NULL
) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22578 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxListView
*arg1
= (wxListView
*) 0 ;
22582 bool arg3
= (bool) True
;
22583 PyObject
* obj0
= 0 ;
22584 PyObject
* obj1
= 0 ;
22585 PyObject
* obj2
= 0 ;
22586 char *kwnames
[] = {
22587 (char *) "self",(char *) "n",(char *) "on", NULL
22590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22593 arg2
= (long) SWIG_AsLong(obj1
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 arg3
= (bool) SWIG_AsBool(obj2
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 (arg1
)->Select(arg2
,arg3
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 Py_INCREF(Py_None
); resultobj
= Py_None
;
22613 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
;
22615 wxListView
*arg1
= (wxListView
*) 0 ;
22617 PyObject
* obj0
= 0 ;
22618 PyObject
* obj1
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "self",(char *) "index", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22626 arg2
= (long) SWIG_AsLong(obj1
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 (arg1
)->Focus(arg2
);
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 Py_INCREF(Py_None
); resultobj
= Py_None
;
22642 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxListView
*arg1
= (wxListView
*) 0 ;
22646 PyObject
* obj0
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "self", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_FromLong((long)result
);
22668 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxListView
*arg1
= (wxListView
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "item", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22682 arg2
= (long) SWIG_AsLong(obj1
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22691 resultobj
= SWIG_FromLong((long)result
);
22698 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22699 PyObject
*resultobj
;
22700 wxListView
*arg1
= (wxListView
*) 0 ;
22702 PyObject
* obj0
= 0 ;
22703 char *kwnames
[] = {
22704 (char *) "self", NULL
22707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 resultobj
= SWIG_FromLong((long)result
);
22724 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22726 wxListView
*arg1
= (wxListView
*) 0 ;
22729 PyObject
* obj0
= 0 ;
22730 PyObject
* obj1
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self",(char *) "index", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22738 arg2
= (long) SWIG_AsLong(obj1
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 result
= (bool)(arg1
)->IsSelected(arg2
);
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22756 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxListView
*arg1
= (wxListView
*) 0 ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 PyObject
* obj2
= 0 ;
22764 char *kwnames
[] = {
22765 (char *) "self",(char *) "col",(char *) "image", NULL
22768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22771 arg2
= (int) SWIG_AsInt(obj1
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22773 arg3
= (int) SWIG_AsInt(obj2
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 (arg1
)->SetColumnImage(arg2
,arg3
);
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 Py_INCREF(Py_None
); resultobj
= Py_None
;
22789 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
;
22791 wxListView
*arg1
= (wxListView
*) 0 ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 char *kwnames
[] = {
22796 (char *) "self",(char *) "col", NULL
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22802 arg2
= (int) SWIG_AsInt(obj1
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 (arg1
)->ClearColumnImage(arg2
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 Py_INCREF(Py_None
); resultobj
= Py_None
;
22818 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
22820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22821 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22823 return Py_BuildValue((char *)"");
22825 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22826 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22831 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22836 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22838 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22845 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxTreeItemId
*result
;
22848 char *kwnames
[] = {
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= (wxTreeItemId
*)new wxTreeItemId();
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
22867 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
;
22869 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 Py_INCREF(Py_None
); resultobj
= Py_None
;
22892 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22894 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22896 PyObject
* obj0
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self", NULL
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22920 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
;
22922 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22923 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 PyObject
* obj1
= 0 ;
22927 char *kwnames
[] = {
22928 (char *) "self",(char *) "other", NULL
22931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22952 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22954 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22955 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 PyObject
* obj1
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self",(char *) "other", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
22967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22984 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
;
22986 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22987 void *arg2
= (void *) 0 ;
22988 PyObject
* obj0
= 0 ;
22989 PyObject
* obj1
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self",(char *) "m_pItem", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22997 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22998 if (arg1
) (arg1
)->m_pItem
= arg2
;
23000 Py_INCREF(Py_None
); resultobj
= Py_None
;
23007 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
;
23009 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23011 PyObject
* obj0
= 0 ;
23012 char *kwnames
[] = {
23013 (char *) "self", NULL
23016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23019 result
= (void *) ((arg1
)->m_pItem
);
23021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23028 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
23030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23031 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23033 return Py_BuildValue((char *)"");
23035 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 PyObject
*arg1
= (PyObject
*) NULL
;
23038 wxPyTreeItemData
*result
;
23039 PyObject
* obj0
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "obj", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23062 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
;
23064 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23066 PyObject
* obj0
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= (PyObject
*)(arg1
)->GetData();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 resultobj
= result
;
23088 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23091 PyObject
*arg2
= (PyObject
*) 0 ;
23092 PyObject
* obj0
= 0 ;
23093 PyObject
* obj1
= 0 ;
23094 char *kwnames
[] = {
23095 (char *) "self",(char *) "obj", NULL
23098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 (arg1
)->SetData(arg2
);
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 Py_INCREF(Py_None
); resultobj
= Py_None
;
23116 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23119 wxTreeItemId
*result
;
23120 PyObject
* obj0
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23132 result
= (wxTreeItemId
*) &_result_ref
;
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23145 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
;
23147 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23148 wxTreeItemId
*arg2
= 0 ;
23149 PyObject
* obj0
= 0 ;
23150 PyObject
* obj1
= 0 ;
23151 char *kwnames
[] = {
23152 (char *) "self",(char *) "id", NULL
23155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23161 if (arg2
== NULL
) {
23162 PyErr_SetString(PyExc_TypeError
,"null reference");
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 Py_INCREF(Py_None
); resultobj
= Py_None
;
23179 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
;
23181 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23182 PyObject
* obj0
= 0 ;
23183 char *kwnames
[] = {
23184 (char *) "self", NULL
23187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 wxPyTreeItemData_Destroy(arg1
);
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23197 Py_INCREF(Py_None
); resultobj
= Py_None
;
23204 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
23206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23207 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23209 return Py_BuildValue((char *)"");
23211 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
;
23213 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23214 int arg2
= (int) 0 ;
23215 wxTreeEvent
*result
;
23216 PyObject
* obj0
= 0 ;
23217 PyObject
* obj1
= 0 ;
23218 char *kwnames
[] = {
23219 (char *) "commandType",(char *) "id", NULL
23222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23224 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23228 arg2
= (int) SWIG_AsInt(obj1
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23245 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23248 wxTreeItemId result
;
23249 PyObject
* obj0
= 0 ;
23250 char *kwnames
[] = {
23251 (char *) "self", NULL
23254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23265 wxTreeItemId
* resultptr
;
23266 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23275 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
;
23277 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23278 wxTreeItemId
*arg2
= 0 ;
23279 PyObject
* obj0
= 0 ;
23280 PyObject
* obj1
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self",(char *) "item", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23291 if (arg2
== NULL
) {
23292 PyErr_SetString(PyExc_TypeError
,"null reference");
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 Py_INCREF(Py_None
); resultobj
= Py_None
;
23309 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23312 wxTreeItemId result
;
23313 PyObject
* obj0
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23329 wxTreeItemId
* resultptr
;
23330 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23339 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23341 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23342 wxTreeItemId
*arg2
= 0 ;
23343 PyObject
* obj0
= 0 ;
23344 PyObject
* obj1
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "self",(char *) "item", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23355 if (arg2
== NULL
) {
23356 PyErr_SetString(PyExc_TypeError
,"null reference");
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 Py_INCREF(Py_None
); resultobj
= Py_None
;
23373 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
;
23375 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23377 PyObject
* obj0
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23393 wxPoint
* resultptr
;
23394 resultptr
= new wxPoint((wxPoint
&) result
);
23395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23403 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23406 wxPoint
*arg2
= 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self",(char *) "pt", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23419 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23428 Py_INCREF(Py_None
); resultobj
= Py_None
;
23435 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23438 wxKeyEvent
*result
;
23439 PyObject
* obj0
= 0 ;
23440 char *kwnames
[] = {
23441 (char *) "self", NULL
23444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23451 result
= (wxKeyEvent
*) &_result_ref
;
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23464 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= SWIG_FromInt((int)result
);
23490 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23493 wxKeyEvent
*arg2
= 0 ;
23494 PyObject
* obj0
= 0 ;
23495 PyObject
* obj1
= 0 ;
23496 char *kwnames
[] = {
23497 (char *) "self",(char *) "evt", NULL
23500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23506 if (arg2
== NULL
) {
23507 PyErr_SetString(PyExc_TypeError
,"null reference");
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 Py_INCREF(Py_None
); resultobj
= Py_None
;
23524 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23526 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23528 PyObject
* obj0
= 0 ;
23529 char *kwnames
[] = {
23530 (char *) "self", NULL
23533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23540 result
= (wxString
*) &_result_ref
;
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23548 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23550 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23559 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23561 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23562 wxString
*arg2
= 0 ;
23563 bool temp2
= False
;
23564 PyObject
* obj0
= 0 ;
23565 PyObject
* obj1
= 0 ;
23566 char *kwnames
[] = {
23567 (char *) "self",(char *) "label", NULL
23570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23574 arg2
= wxString_in_helper(obj1
);
23575 if (arg2
== NULL
) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 (arg1
)->SetLabel((wxString
const &)*arg2
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 Py_INCREF(Py_None
); resultobj
= Py_None
;
23600 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
;
23602 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23604 PyObject
* obj0
= 0 ;
23605 char *kwnames
[] = {
23606 (char *) "self", NULL
23609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23628 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
;
23630 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 char *kwnames
[] = {
23635 (char *) "self",(char *) "editCancelled", NULL
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23641 arg2
= (bool) SWIG_AsBool(obj1
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 (arg1
)->SetEditCanceled(arg2
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23650 Py_INCREF(Py_None
); resultobj
= Py_None
;
23657 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
;
23659 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23660 wxString
*arg2
= 0 ;
23661 bool temp2
= False
;
23662 PyObject
* obj0
= 0 ;
23663 PyObject
* obj1
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self",(char *) "toolTip", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23672 arg2
= wxString_in_helper(obj1
);
23673 if (arg2
== NULL
) SWIG_fail
;
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23683 Py_INCREF(Py_None
); resultobj
= Py_None
;
23698 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
23700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23701 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23703 return Py_BuildValue((char *)"");
23705 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxWindow
*arg1
= (wxWindow
*) 0 ;
23708 int arg2
= (int) -1 ;
23709 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23710 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23711 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23712 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23713 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23714 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23715 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23716 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23717 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23718 wxPyTreeCtrl
*result
;
23721 bool temp7
= False
;
23722 PyObject
* obj0
= 0 ;
23723 PyObject
* obj1
= 0 ;
23724 PyObject
* obj2
= 0 ;
23725 PyObject
* obj3
= 0 ;
23726 PyObject
* obj4
= 0 ;
23727 PyObject
* obj5
= 0 ;
23728 PyObject
* obj6
= 0 ;
23729 char *kwnames
[] = {
23730 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23737 arg2
= (int) SWIG_AsInt(obj1
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23743 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23749 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23753 arg5
= (long) SWIG_AsLong(obj4
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23757 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23760 if (arg6
== NULL
) {
23761 PyErr_SetString(PyExc_TypeError
,"null reference");
23767 arg7
= wxString_in_helper(obj6
);
23768 if (arg7
== NULL
) SWIG_fail
;
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= wxPyMake_wxObject(result
);
23796 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
;
23798 wxPyTreeCtrl
*result
;
23799 char *kwnames
[] = {
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= wxPyMake_wxObject(result
);
23820 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23823 wxWindow
*arg2
= (wxWindow
*) 0 ;
23824 int arg3
= (int) -1 ;
23825 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23826 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23827 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23828 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23829 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23830 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23831 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23832 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23833 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23837 bool temp8
= False
;
23838 PyObject
* obj0
= 0 ;
23839 PyObject
* obj1
= 0 ;
23840 PyObject
* obj2
= 0 ;
23841 PyObject
* obj3
= 0 ;
23842 PyObject
* obj4
= 0 ;
23843 PyObject
* obj5
= 0 ;
23844 PyObject
* obj6
= 0 ;
23845 PyObject
* obj7
= 0 ;
23846 char *kwnames
[] = {
23847 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23856 arg3
= (int) SWIG_AsInt(obj2
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23862 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23868 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23872 arg6
= (long) SWIG_AsLong(obj5
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23876 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23879 if (arg7
== NULL
) {
23880 PyErr_SetString(PyExc_TypeError
,"null reference");
23886 arg8
= wxString_in_helper(obj7
);
23887 if (arg8
== NULL
) SWIG_fail
;
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23915 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
;
23917 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23918 PyObject
*arg2
= (PyObject
*) 0 ;
23919 PyObject
*arg3
= (PyObject
*) 0 ;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 PyObject
* obj2
= 0 ;
23923 char *kwnames
[] = {
23924 (char *) "self",(char *) "self",(char *) "_class", NULL
23927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23939 Py_INCREF(Py_None
); resultobj
= Py_None
;
23946 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23947 PyObject
*resultobj
;
23948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23950 PyObject
* obj0
= 0 ;
23951 char *kwnames
[] = {
23952 (char *) "self", NULL
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23960 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
23972 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
;
23974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23975 unsigned int result
;
23976 PyObject
* obj0
= 0 ;
23977 char *kwnames
[] = {
23978 (char *) "self", NULL
23981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
23998 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24000 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24001 unsigned int arg2
;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24004 char *kwnames
[] = {
24005 (char *) "self",(char *) "indent", NULL
24008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24011 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 (arg1
)->SetIndent(arg2
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 Py_INCREF(Py_None
); resultobj
= Py_None
;
24027 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
;
24029 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24030 unsigned int result
;
24031 PyObject
* obj0
= 0 ;
24032 char *kwnames
[] = {
24033 (char *) "self", NULL
24036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24046 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24053 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24054 PyObject
*resultobj
;
24055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24056 unsigned int arg2
;
24057 PyObject
* obj0
= 0 ;
24058 PyObject
* obj1
= 0 ;
24059 char *kwnames
[] = {
24060 (char *) "self",(char *) "spacing", NULL
24063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24066 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24070 (arg1
)->SetSpacing(arg2
);
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 Py_INCREF(Py_None
); resultobj
= Py_None
;
24082 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
;
24084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24085 wxImageList
*result
;
24086 PyObject
* obj0
= 0 ;
24087 char *kwnames
[] = {
24088 (char *) "self", NULL
24091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24096 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24098 wxPyEndAllowThreads(__tstate
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24102 resultobj
= wxPyMake_wxObject(result
);
24110 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24111 PyObject
*resultobj
;
24112 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24113 wxImageList
*result
;
24114 PyObject
* obj0
= 0 ;
24115 char *kwnames
[] = {
24116 (char *) "self", NULL
24119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= wxPyMake_wxObject(result
);
24138 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24141 wxImageList
*arg2
= (wxImageList
*) 0 ;
24142 PyObject
* obj0
= 0 ;
24143 PyObject
* obj1
= 0 ;
24144 char *kwnames
[] = {
24145 (char *) "self",(char *) "imageList", NULL
24148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 (arg1
)->SetImageList(arg2
);
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 Py_INCREF(Py_None
); resultobj
= Py_None
;
24167 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24170 wxImageList
*arg2
= (wxImageList
*) 0 ;
24171 PyObject
* obj0
= 0 ;
24172 PyObject
* obj1
= 0 ;
24173 char *kwnames
[] = {
24174 (char *) "self",(char *) "imageList", NULL
24177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 (arg1
)->SetStateImageList(arg2
);
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 Py_INCREF(Py_None
); resultobj
= Py_None
;
24196 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24199 wxImageList
*arg2
= (wxImageList
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self",(char *) "imageList", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24210 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 (arg1
)->AssignImageList(arg2
);
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24218 Py_INCREF(Py_None
); resultobj
= Py_None
;
24225 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24228 wxImageList
*arg2
= (wxImageList
*) 0 ;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self",(char *) "imageList", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24239 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 (arg1
)->AssignStateImageList(arg2
);
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24247 Py_INCREF(Py_None
); resultobj
= Py_None
;
24254 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24255 PyObject
*resultobj
;
24256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24257 wxTreeItemId
*arg2
= 0 ;
24259 PyObject
* obj0
= 0 ;
24260 PyObject
* obj1
= 0 ;
24261 char *kwnames
[] = {
24262 (char *) "self",(char *) "item", NULL
24265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24271 if (arg2
== NULL
) {
24272 PyErr_SetString(PyExc_TypeError
,"null reference");
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24295 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
;
24297 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24298 wxTreeItemId
*arg2
= 0 ;
24299 int arg3
= (int) wxTreeItemIcon_Normal
;
24301 PyObject
* obj0
= 0 ;
24302 PyObject
* obj1
= 0 ;
24303 PyObject
* obj2
= 0 ;
24304 char *kwnames
[] = {
24305 (char *) "self",(char *) "item",(char *) "which", NULL
24308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24314 if (arg2
== NULL
) {
24315 PyErr_SetString(PyExc_TypeError
,"null reference");
24319 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= SWIG_FromInt((int)result
);
24336 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24339 wxTreeItemId
*arg2
= 0 ;
24340 wxPyTreeItemData
*result
;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self",(char *) "item", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24353 if (arg2
== NULL
) {
24354 PyErr_SetString(PyExc_TypeError
,"null reference");
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24371 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24374 wxTreeItemId
*arg2
= 0 ;
24376 PyObject
* obj0
= 0 ;
24377 PyObject
* obj1
= 0 ;
24378 char *kwnames
[] = {
24379 (char *) "self",(char *) "item", NULL
24382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24388 if (arg2
== NULL
) {
24389 PyErr_SetString(PyExc_TypeError
,"null reference");
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24399 resultobj
= result
;
24406 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
;
24408 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24409 wxTreeItemId
*arg2
= 0 ;
24411 PyObject
* obj0
= 0 ;
24412 PyObject
* obj1
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self",(char *) "item", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24423 if (arg2
== NULL
) {
24424 PyErr_SetString(PyExc_TypeError
,"null reference");
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24435 wxColour
* resultptr
;
24436 resultptr
= new wxColour((wxColour
&) result
);
24437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24445 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24448 wxTreeItemId
*arg2
= 0 ;
24450 PyObject
* obj0
= 0 ;
24451 PyObject
* obj1
= 0 ;
24452 char *kwnames
[] = {
24453 (char *) "self",(char *) "item", NULL
24456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24462 if (arg2
== NULL
) {
24463 PyErr_SetString(PyExc_TypeError
,"null reference");
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24474 wxColour
* resultptr
;
24475 resultptr
= new wxColour((wxColour
&) result
);
24476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24484 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
;
24486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24487 wxTreeItemId
*arg2
= 0 ;
24489 PyObject
* obj0
= 0 ;
24490 PyObject
* obj1
= 0 ;
24491 char *kwnames
[] = {
24492 (char *) "self",(char *) "item", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24501 if (arg2
== NULL
) {
24502 PyErr_SetString(PyExc_TypeError
,"null reference");
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24513 wxFont
* resultptr
;
24514 resultptr
= new wxFont((wxFont
&) result
);
24515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24523 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24526 wxTreeItemId
*arg2
= 0 ;
24527 wxString
*arg3
= 0 ;
24528 bool temp3
= False
;
24529 PyObject
* obj0
= 0 ;
24530 PyObject
* obj1
= 0 ;
24531 PyObject
* obj2
= 0 ;
24532 char *kwnames
[] = {
24533 (char *) "self",(char *) "item",(char *) "text", NULL
24536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24542 if (arg2
== NULL
) {
24543 PyErr_SetString(PyExc_TypeError
,"null reference");
24547 arg3
= wxString_in_helper(obj2
);
24548 if (arg3
== NULL
) SWIG_fail
;
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24558 Py_INCREF(Py_None
); resultobj
= Py_None
;
24573 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24576 wxTreeItemId
*arg2
= 0 ;
24578 int arg4
= (int) wxTreeItemIcon_Normal
;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 PyObject
* obj2
= 0 ;
24582 PyObject
* obj3
= 0 ;
24583 char *kwnames
[] = {
24584 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24593 if (arg2
== NULL
) {
24594 PyErr_SetString(PyExc_TypeError
,"null reference");
24597 arg3
= (int) SWIG_AsInt(obj2
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24610 Py_INCREF(Py_None
); resultobj
= Py_None
;
24617 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
;
24619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24620 wxTreeItemId
*arg2
= 0 ;
24621 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 PyObject
* obj2
= 0 ;
24625 char *kwnames
[] = {
24626 (char *) "self",(char *) "item",(char *) "data", NULL
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",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");
24639 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24648 Py_INCREF(Py_None
); resultobj
= Py_None
;
24655 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
;
24657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24658 wxTreeItemId
*arg2
= 0 ;
24659 PyObject
*arg3
= (PyObject
*) 0 ;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 PyObject
* obj2
= 0 ;
24663 char *kwnames
[] = {
24664 (char *) "self",(char *) "item",(char *) "obj", NULL
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24673 if (arg2
== NULL
) {
24674 PyErr_SetString(PyExc_TypeError
,"null reference");
24679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 Py_INCREF(Py_None
); resultobj
= Py_None
;
24692 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
;
24694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24695 wxTreeItemId
*arg2
= 0 ;
24696 bool arg3
= (bool) True
;
24697 PyObject
* obj0
= 0 ;
24698 PyObject
* obj1
= 0 ;
24699 PyObject
* obj2
= 0 ;
24700 char *kwnames
[] = {
24701 (char *) "self",(char *) "item",(char *) "has", NULL
24704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24710 if (arg2
== NULL
) {
24711 PyErr_SetString(PyExc_TypeError
,"null reference");
24715 arg3
= (bool) SWIG_AsBool(obj2
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24725 Py_INCREF(Py_None
); resultobj
= Py_None
;
24732 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24735 wxTreeItemId
*arg2
= 0 ;
24736 bool arg3
= (bool) True
;
24737 PyObject
* obj0
= 0 ;
24738 PyObject
* obj1
= 0 ;
24739 PyObject
* obj2
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "self",(char *) "item",(char *) "bold", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24750 if (arg2
== NULL
) {
24751 PyErr_SetString(PyExc_TypeError
,"null reference");
24755 arg3
= (bool) SWIG_AsBool(obj2
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24765 Py_INCREF(Py_None
); resultobj
= Py_None
;
24772 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
;
24774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24775 wxTreeItemId
*arg2
= 0 ;
24776 wxColour
*arg3
= 0 ;
24778 PyObject
* obj0
= 0 ;
24779 PyObject
* obj1
= 0 ;
24780 PyObject
* obj2
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self",(char *) "item",(char *) "col", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24791 if (arg2
== NULL
) {
24792 PyErr_SetString(PyExc_TypeError
,"null reference");
24797 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 Py_INCREF(Py_None
); resultobj
= Py_None
;
24813 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24816 wxTreeItemId
*arg2
= 0 ;
24817 wxColour
*arg3
= 0 ;
24819 PyObject
* obj0
= 0 ;
24820 PyObject
* obj1
= 0 ;
24821 PyObject
* obj2
= 0 ;
24822 char *kwnames
[] = {
24823 (char *) "self",(char *) "item",(char *) "col", NULL
24826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24832 if (arg2
== NULL
) {
24833 PyErr_SetString(PyExc_TypeError
,"null reference");
24838 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 Py_INCREF(Py_None
); resultobj
= Py_None
;
24854 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
;
24856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24857 wxTreeItemId
*arg2
= 0 ;
24859 PyObject
* obj0
= 0 ;
24860 PyObject
* obj1
= 0 ;
24861 PyObject
* obj2
= 0 ;
24862 char *kwnames
[] = {
24863 (char *) "self",(char *) "item",(char *) "font", NULL
24866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24870 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24872 if (arg2
== NULL
) {
24873 PyErr_SetString(PyExc_TypeError
,"null reference");
24876 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
24877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24879 if (arg3
== NULL
) {
24880 PyErr_SetString(PyExc_TypeError
,"null reference");
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24890 Py_INCREF(Py_None
); resultobj
= Py_None
;
24897 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24900 wxTreeItemId
*arg2
= 0 ;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self",(char *) "item", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) 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");
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24934 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24935 PyObject
*resultobj
;
24936 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24937 wxTreeItemId
*arg2
= 0 ;
24939 PyObject
* obj0
= 0 ;
24940 PyObject
* obj1
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "self",(char *) "item", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24951 if (arg2
== NULL
) {
24952 PyErr_SetString(PyExc_TypeError
,"null reference");
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24971 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24972 PyObject
*resultobj
;
24973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24974 wxTreeItemId
*arg2
= 0 ;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "self",(char *) "item", NULL
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24988 if (arg2
== NULL
) {
24989 PyErr_SetString(PyExc_TypeError
,"null reference");
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
25000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25008 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25009 PyObject
*resultobj
;
25010 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25011 wxTreeItemId
*arg2
= 0 ;
25013 PyObject
* obj0
= 0 ;
25014 PyObject
* obj1
= 0 ;
25015 char *kwnames
[] = {
25016 (char *) "self",(char *) "item", NULL
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25025 if (arg2
== NULL
) {
25026 PyErr_SetString(PyExc_TypeError
,"null reference");
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25045 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
;
25047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25048 wxTreeItemId
*arg2
= 0 ;
25050 PyObject
* obj0
= 0 ;
25051 PyObject
* obj1
= 0 ;
25052 char *kwnames
[] = {
25053 (char *) "self",(char *) "item", NULL
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25062 if (arg2
== NULL
) {
25063 PyErr_SetString(PyExc_TypeError
,"null reference");
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25082 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
;
25084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25085 wxTreeItemId
*arg2
= 0 ;
25086 bool arg3
= (bool) True
;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 PyObject
* obj2
= 0 ;
25091 char *kwnames
[] = {
25092 (char *) "self",(char *) "item",(char *) "recursively", NULL
25095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25101 if (arg2
== NULL
) {
25102 PyErr_SetString(PyExc_TypeError
,"null reference");
25106 arg3
= (bool) SWIG_AsBool(obj2
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25123 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25126 wxTreeItemId result
;
25127 PyObject
* obj0
= 0 ;
25128 char *kwnames
[] = {
25129 (char *) "self", NULL
25132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25143 wxTreeItemId
* resultptr
;
25144 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25153 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25156 wxTreeItemId result
;
25157 PyObject
* obj0
= 0 ;
25158 char *kwnames
[] = {
25159 (char *) "self", NULL
25162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25173 wxTreeItemId
* resultptr
;
25174 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25183 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25184 PyObject
*resultobj
;
25185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25187 PyObject
* obj0
= 0 ;
25188 char *kwnames
[] = {
25189 (char *) "self", NULL
25192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25202 resultobj
= result
;
25209 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25210 PyObject
*resultobj
;
25211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25212 wxTreeItemId
*arg2
= 0 ;
25213 wxTreeItemId result
;
25214 PyObject
* obj0
= 0 ;
25215 PyObject
* obj1
= 0 ;
25216 char *kwnames
[] = {
25217 (char *) "self",(char *) "item", NULL
25220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25226 if (arg2
== NULL
) {
25227 PyErr_SetString(PyExc_TypeError
,"null reference");
25231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25232 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25234 wxPyEndAllowThreads(__tstate
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25238 wxTreeItemId
* resultptr
;
25239 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25248 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
;
25250 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25251 wxTreeItemId
*arg2
= 0 ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 char *kwnames
[] = {
25256 (char *) "self",(char *) "item", NULL
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25265 if (arg2
== NULL
) {
25266 PyErr_SetString(PyExc_TypeError
,"null reference");
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25276 resultobj
= result
;
25283 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25284 PyObject
*resultobj
;
25285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25286 wxTreeItemId
*arg2
= 0 ;
25287 void *arg3
= (void *) 0 ;
25289 PyObject
* obj0
= 0 ;
25290 PyObject
* obj1
= 0 ;
25291 PyObject
* obj2
= 0 ;
25292 char *kwnames
[] = {
25293 (char *) "self",(char *) "item",(char *) "cookie", NULL
25296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25300 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25302 if (arg2
== NULL
) {
25303 PyErr_SetString(PyExc_TypeError
,"null reference");
25306 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 resultobj
= result
;
25321 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25324 wxTreeItemId
*arg2
= 0 ;
25325 wxTreeItemId result
;
25326 PyObject
* obj0
= 0 ;
25327 PyObject
* obj1
= 0 ;
25328 char *kwnames
[] = {
25329 (char *) "self",(char *) "item", NULL
25332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25338 if (arg2
== NULL
) {
25339 PyErr_SetString(PyExc_TypeError
,"null reference");
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25350 wxTreeItemId
* resultptr
;
25351 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25360 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
;
25362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25363 wxTreeItemId
*arg2
= 0 ;
25364 wxTreeItemId result
;
25365 PyObject
* obj0
= 0 ;
25366 PyObject
* obj1
= 0 ;
25367 char *kwnames
[] = {
25368 (char *) "self",(char *) "item", NULL
25371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25377 if (arg2
== NULL
) {
25378 PyErr_SetString(PyExc_TypeError
,"null reference");
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25389 wxTreeItemId
* resultptr
;
25390 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25399 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25402 wxTreeItemId
*arg2
= 0 ;
25403 wxTreeItemId result
;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "self",(char *) "item", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25416 if (arg2
== NULL
) {
25417 PyErr_SetString(PyExc_TypeError
,"null reference");
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25428 wxTreeItemId
* resultptr
;
25429 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25438 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25441 wxTreeItemId result
;
25442 PyObject
* obj0
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "self", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25458 wxTreeItemId
* resultptr
;
25459 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25468 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25471 wxTreeItemId
*arg2
= 0 ;
25472 wxTreeItemId result
;
25473 PyObject
* obj0
= 0 ;
25474 PyObject
* obj1
= 0 ;
25475 char *kwnames
[] = {
25476 (char *) "self",(char *) "item", NULL
25479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25485 if (arg2
== NULL
) {
25486 PyErr_SetString(PyExc_TypeError
,"null reference");
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25497 wxTreeItemId
* resultptr
;
25498 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25507 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25508 PyObject
*resultobj
;
25509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25510 wxTreeItemId
*arg2
= 0 ;
25511 wxTreeItemId result
;
25512 PyObject
* obj0
= 0 ;
25513 PyObject
* obj1
= 0 ;
25514 char *kwnames
[] = {
25515 (char *) "self",(char *) "item", NULL
25518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25524 if (arg2
== NULL
) {
25525 PyErr_SetString(PyExc_TypeError
,"null reference");
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25536 wxTreeItemId
* resultptr
;
25537 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25546 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25549 wxString
*arg2
= 0 ;
25550 int arg3
= (int) -1 ;
25551 int arg4
= (int) -1 ;
25552 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25553 wxTreeItemId result
;
25554 bool temp2
= False
;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 PyObject
* obj2
= 0 ;
25558 PyObject
* obj3
= 0 ;
25559 PyObject
* obj4
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25568 arg2
= wxString_in_helper(obj1
);
25569 if (arg2
== NULL
) SWIG_fail
;
25573 arg3
= (int) SWIG_AsInt(obj2
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25577 arg4
= (int) SWIG_AsInt(obj3
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25581 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25592 wxTreeItemId
* resultptr
;
25593 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25610 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25611 PyObject
*resultobj
;
25612 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25613 wxTreeItemId
*arg2
= 0 ;
25614 wxString
*arg3
= 0 ;
25615 int arg4
= (int) -1 ;
25616 int arg5
= (int) -1 ;
25617 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25618 wxTreeItemId result
;
25619 bool temp3
= False
;
25620 PyObject
* obj0
= 0 ;
25621 PyObject
* obj1
= 0 ;
25622 PyObject
* obj2
= 0 ;
25623 PyObject
* obj3
= 0 ;
25624 PyObject
* obj4
= 0 ;
25625 PyObject
* obj5
= 0 ;
25626 char *kwnames
[] = {
25627 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25636 if (arg2
== NULL
) {
25637 PyErr_SetString(PyExc_TypeError
,"null reference");
25641 arg3
= wxString_in_helper(obj2
);
25642 if (arg3
== NULL
) SWIG_fail
;
25646 arg4
= (int) SWIG_AsInt(obj3
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25650 arg5
= (int) SWIG_AsInt(obj4
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25654 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25659 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25665 wxTreeItemId
* resultptr
;
25666 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25683 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25684 PyObject
*resultobj
;
25685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25686 wxTreeItemId
*arg2
= 0 ;
25687 wxTreeItemId
*arg3
= 0 ;
25688 wxString
*arg4
= 0 ;
25689 int arg5
= (int) -1 ;
25690 int arg6
= (int) -1 ;
25691 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25692 wxTreeItemId result
;
25693 bool temp4
= False
;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 PyObject
* obj2
= 0 ;
25697 PyObject
* obj3
= 0 ;
25698 PyObject
* obj4
= 0 ;
25699 PyObject
* obj5
= 0 ;
25700 PyObject
* obj6
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25711 if (arg2
== NULL
) {
25712 PyErr_SetString(PyExc_TypeError
,"null reference");
25715 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25718 if (arg3
== NULL
) {
25719 PyErr_SetString(PyExc_TypeError
,"null reference");
25723 arg4
= wxString_in_helper(obj3
);
25724 if (arg4
== NULL
) SWIG_fail
;
25728 arg5
= (int) SWIG_AsInt(obj4
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25732 arg6
= (int) SWIG_AsInt(obj5
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25736 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25741 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25743 wxPyEndAllowThreads(__tstate
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25747 wxTreeItemId
* resultptr
;
25748 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25765 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25768 wxTreeItemId
*arg2
= 0 ;
25770 wxString
*arg4
= 0 ;
25771 int arg5
= (int) -1 ;
25772 int arg6
= (int) -1 ;
25773 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25774 wxTreeItemId result
;
25775 bool temp4
= False
;
25776 PyObject
* obj0
= 0 ;
25777 PyObject
* obj1
= 0 ;
25778 PyObject
* obj2
= 0 ;
25779 PyObject
* obj3
= 0 ;
25780 PyObject
* obj4
= 0 ;
25781 PyObject
* obj5
= 0 ;
25782 PyObject
* obj6
= 0 ;
25783 char *kwnames
[] = {
25784 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25793 if (arg2
== NULL
) {
25794 PyErr_SetString(PyExc_TypeError
,"null reference");
25797 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25800 arg4
= wxString_in_helper(obj3
);
25801 if (arg4
== NULL
) SWIG_fail
;
25805 arg5
= (int) SWIG_AsInt(obj4
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25809 arg6
= (int) SWIG_AsInt(obj5
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25813 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25818 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25824 wxTreeItemId
* resultptr
;
25825 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25842 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25843 PyObject
*resultobj
;
25844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25845 wxTreeItemId
*arg2
= 0 ;
25846 wxString
*arg3
= 0 ;
25847 int arg4
= (int) -1 ;
25848 int arg5
= (int) -1 ;
25849 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25850 wxTreeItemId result
;
25851 bool temp3
= False
;
25852 PyObject
* obj0
= 0 ;
25853 PyObject
* obj1
= 0 ;
25854 PyObject
* obj2
= 0 ;
25855 PyObject
* obj3
= 0 ;
25856 PyObject
* obj4
= 0 ;
25857 PyObject
* obj5
= 0 ;
25858 char *kwnames
[] = {
25859 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25868 if (arg2
== NULL
) {
25869 PyErr_SetString(PyExc_TypeError
,"null reference");
25873 arg3
= wxString_in_helper(obj2
);
25874 if (arg3
== NULL
) SWIG_fail
;
25878 arg4
= (int) SWIG_AsInt(obj3
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25882 arg5
= (int) SWIG_AsInt(obj4
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25886 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25897 wxTreeItemId
* resultptr
;
25898 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25915 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25916 PyObject
*resultobj
;
25917 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25918 wxTreeItemId
*arg2
= 0 ;
25919 PyObject
* obj0
= 0 ;
25920 PyObject
* obj1
= 0 ;
25921 char *kwnames
[] = {
25922 (char *) "self",(char *) "item", NULL
25925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25931 if (arg2
== NULL
) {
25932 PyErr_SetString(PyExc_TypeError
,"null reference");
25936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25939 wxPyEndAllowThreads(__tstate
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25942 Py_INCREF(Py_None
); resultobj
= Py_None
;
25949 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25950 PyObject
*resultobj
;
25951 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25952 wxTreeItemId
*arg2
= 0 ;
25953 PyObject
* obj0
= 0 ;
25954 PyObject
* obj1
= 0 ;
25955 char *kwnames
[] = {
25956 (char *) "self",(char *) "item", NULL
25959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25965 if (arg2
== NULL
) {
25966 PyErr_SetString(PyExc_TypeError
,"null reference");
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25976 Py_INCREF(Py_None
); resultobj
= Py_None
;
25983 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
;
25985 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25986 PyObject
* obj0
= 0 ;
25987 char *kwnames
[] = {
25988 (char *) "self", NULL
25991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25996 (arg1
)->DeleteAllItems();
25998 wxPyEndAllowThreads(__tstate
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26001 Py_INCREF(Py_None
); resultobj
= Py_None
;
26008 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26009 PyObject
*resultobj
;
26010 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26011 wxTreeItemId
*arg2
= 0 ;
26012 PyObject
* obj0
= 0 ;
26013 PyObject
* obj1
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self",(char *) "item", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26024 if (arg2
== NULL
) {
26025 PyErr_SetString(PyExc_TypeError
,"null reference");
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 Py_INCREF(Py_None
); resultobj
= Py_None
;
26042 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
;
26044 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26045 wxTreeItemId
*arg2
= 0 ;
26046 PyObject
* obj0
= 0 ;
26047 PyObject
* obj1
= 0 ;
26048 char *kwnames
[] = {
26049 (char *) "self",(char *) "item", NULL
26052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26058 if (arg2
== NULL
) {
26059 PyErr_SetString(PyExc_TypeError
,"null reference");
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 Py_INCREF(Py_None
); resultobj
= Py_None
;
26076 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
;
26078 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26079 wxTreeItemId
*arg2
= 0 ;
26080 PyObject
* obj0
= 0 ;
26081 PyObject
* obj1
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self",(char *) "item", NULL
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26092 if (arg2
== NULL
) {
26093 PyErr_SetString(PyExc_TypeError
,"null reference");
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26100 wxPyEndAllowThreads(__tstate
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26103 Py_INCREF(Py_None
); resultobj
= Py_None
;
26110 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
;
26112 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26113 wxTreeItemId
*arg2
= 0 ;
26114 PyObject
* obj0
= 0 ;
26115 PyObject
* obj1
= 0 ;
26116 char *kwnames
[] = {
26117 (char *) "self",(char *) "item", NULL
26120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26126 if (arg2
== NULL
) {
26127 PyErr_SetString(PyExc_TypeError
,"null reference");
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 Py_INCREF(Py_None
); resultobj
= Py_None
;
26144 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26147 PyObject
* obj0
= 0 ;
26148 char *kwnames
[] = {
26149 (char *) "self", NULL
26152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 (arg1
)->Unselect();
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 Py_INCREF(Py_None
); resultobj
= Py_None
;
26169 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
;
26171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26172 wxTreeItemId
*arg2
= 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self",(char *) "item", NULL
26179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26185 if (arg2
== NULL
) {
26186 PyErr_SetString(PyExc_TypeError
,"null reference");
26190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26191 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26193 wxPyEndAllowThreads(__tstate
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26196 Py_INCREF(Py_None
); resultobj
= Py_None
;
26203 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26204 PyObject
*resultobj
;
26205 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26206 PyObject
* obj0
= 0 ;
26207 char *kwnames
[] = {
26208 (char *) "self", NULL
26211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26216 (arg1
)->UnselectAll();
26218 wxPyEndAllowThreads(__tstate
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26221 Py_INCREF(Py_None
); resultobj
= Py_None
;
26228 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26229 PyObject
*resultobj
;
26230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26231 wxTreeItemId
*arg2
= 0 ;
26232 bool arg3
= (bool) True
;
26233 PyObject
* obj0
= 0 ;
26234 PyObject
* obj1
= 0 ;
26235 PyObject
* obj2
= 0 ;
26236 char *kwnames
[] = {
26237 (char *) "self",(char *) "item",(char *) "select", NULL
26240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26246 if (arg2
== NULL
) {
26247 PyErr_SetString(PyExc_TypeError
,"null reference");
26251 arg3
= (bool) SWIG_AsBool(obj2
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 Py_INCREF(Py_None
); resultobj
= Py_None
;
26268 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
;
26270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26271 wxTreeItemId
*arg2
= 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 char *kwnames
[] = {
26275 (char *) "self",(char *) "item", NULL
26278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26284 if (arg2
== NULL
) {
26285 PyErr_SetString(PyExc_TypeError
,"null reference");
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 Py_INCREF(Py_None
); resultobj
= Py_None
;
26302 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26305 wxTreeItemId
*arg2
= 0 ;
26306 PyObject
* obj0
= 0 ;
26307 PyObject
* obj1
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self",(char *) "item", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26318 if (arg2
== NULL
) {
26319 PyErr_SetString(PyExc_TypeError
,"null reference");
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 Py_INCREF(Py_None
); resultobj
= Py_None
;
26336 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
;
26338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26339 wxTreeItemId
*arg2
= 0 ;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self",(char *) "item", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26352 if (arg2
== NULL
) {
26353 PyErr_SetString(PyExc_TypeError
,"null reference");
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 Py_INCREF(Py_None
); resultobj
= Py_None
;
26370 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
;
26372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26373 wxTreeItemId
*arg2
= 0 ;
26374 PyObject
* obj0
= 0 ;
26375 PyObject
* obj1
= 0 ;
26376 char *kwnames
[] = {
26377 (char *) "self",(char *) "item", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26386 if (arg2
== NULL
) {
26387 PyErr_SetString(PyExc_TypeError
,"null reference");
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 Py_INCREF(Py_None
); resultobj
= Py_None
;
26404 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
;
26406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26407 wxTextCtrl
*result
;
26408 PyObject
* obj0
= 0 ;
26409 char *kwnames
[] = {
26410 (char *) "self", NULL
26413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26418 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26420 wxPyEndAllowThreads(__tstate
);
26421 if (PyErr_Occurred()) SWIG_fail
;
26424 resultobj
= wxPyMake_wxObject(result
);
26432 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26433 PyObject
*resultobj
;
26434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26435 wxTreeItemId
*arg2
= 0 ;
26436 PyObject
* obj0
= 0 ;
26437 PyObject
* obj1
= 0 ;
26438 char *kwnames
[] = {
26439 (char *) "self",(char *) "item", NULL
26442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26448 if (arg2
== NULL
) {
26449 PyErr_SetString(PyExc_TypeError
,"null reference");
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 Py_INCREF(Py_None
); resultobj
= Py_None
;
26466 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26467 PyObject
*resultobj
;
26468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26469 wxPoint
*arg2
= 0 ;
26471 wxTreeItemId result
;
26474 PyObject
* obj0
= 0 ;
26475 PyObject
* obj1
= 0 ;
26476 char *kwnames
[] = {
26477 (char *) "self",(char *) "point", NULL
26481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26486 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26496 wxTreeItemId
* resultptr
;
26497 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26501 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26502 resultobj
= t_output_helper(resultobj
,o
);
26510 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26513 wxTreeItemId
*arg2
= 0 ;
26514 bool arg3
= (bool) False
;
26516 PyObject
* obj0
= 0 ;
26517 PyObject
* obj1
= 0 ;
26518 PyObject
* obj2
= 0 ;
26519 char *kwnames
[] = {
26520 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26529 if (arg2
== NULL
) {
26530 PyErr_SetString(PyExc_TypeError
,"null reference");
26534 arg3
= (bool) SWIG_AsBool(obj2
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26539 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26541 wxPyEndAllowThreads(__tstate
);
26542 if (PyErr_Occurred()) SWIG_fail
;
26544 resultobj
= result
;
26551 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
26553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26554 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26556 return Py_BuildValue((char *)"");
26558 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
26559 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26564 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26569 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26571 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26578 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxWindow
*arg1
= (wxWindow
*) 0 ;
26581 int arg2
= (int) (int)-1 ;
26582 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26583 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26584 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26585 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26586 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26587 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26588 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26589 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26590 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26591 int arg8
= (int) 0 ;
26592 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26593 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26594 wxGenericDirCtrl
*result
;
26595 bool temp3
= False
;
26598 bool temp7
= False
;
26599 bool temp9
= False
;
26600 PyObject
* obj0
= 0 ;
26601 PyObject
* obj1
= 0 ;
26602 PyObject
* obj2
= 0 ;
26603 PyObject
* obj3
= 0 ;
26604 PyObject
* obj4
= 0 ;
26605 PyObject
* obj5
= 0 ;
26606 PyObject
* obj6
= 0 ;
26607 PyObject
* obj7
= 0 ;
26608 PyObject
* obj8
= 0 ;
26609 char *kwnames
[] = {
26610 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26617 arg2
= (int const) SWIG_AsInt(obj1
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26622 arg3
= wxString_in_helper(obj2
);
26623 if (arg3
== NULL
) SWIG_fail
;
26630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26636 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26640 arg6
= (long) SWIG_AsLong(obj5
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26645 arg7
= wxString_in_helper(obj6
);
26646 if (arg7
== NULL
) SWIG_fail
;
26651 arg8
= (int) SWIG_AsInt(obj7
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26656 arg9
= wxString_in_helper(obj8
);
26657 if (arg9
== NULL
) SWIG_fail
;
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26699 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
;
26701 wxGenericDirCtrl
*result
;
26702 char *kwnames
[] = {
26706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26721 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
;
26723 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26724 wxWindow
*arg2
= (wxWindow
*) 0 ;
26725 int arg3
= (int) (int)-1 ;
26726 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26727 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26728 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26729 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26730 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26731 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26732 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26733 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26734 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26735 int arg9
= (int) 0 ;
26736 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26737 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26739 bool temp4
= False
;
26742 bool temp8
= False
;
26743 bool temp10
= False
;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 PyObject
* obj2
= 0 ;
26747 PyObject
* obj3
= 0 ;
26748 PyObject
* obj4
= 0 ;
26749 PyObject
* obj5
= 0 ;
26750 PyObject
* obj6
= 0 ;
26751 PyObject
* obj7
= 0 ;
26752 PyObject
* obj8
= 0 ;
26753 PyObject
* obj9
= 0 ;
26754 char *kwnames
[] = {
26755 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26764 arg3
= (int const) SWIG_AsInt(obj2
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26769 arg4
= wxString_in_helper(obj3
);
26770 if (arg4
== NULL
) SWIG_fail
;
26777 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26783 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26787 arg7
= (long) SWIG_AsLong(obj6
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26792 arg8
= wxString_in_helper(obj7
);
26793 if (arg8
== NULL
) SWIG_fail
;
26798 arg9
= (int) SWIG_AsInt(obj8
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26803 arg10
= wxString_in_helper(obj9
);
26804 if (arg10
== NULL
) SWIG_fail
;
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26848 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
;
26850 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26851 wxString
*arg2
= 0 ;
26853 bool temp2
= False
;
26854 PyObject
* obj0
= 0 ;
26855 PyObject
* obj1
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self",(char *) "path", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26864 arg2
= wxString_in_helper(obj1
);
26865 if (arg2
== NULL
) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26892 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
;
26894 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26896 PyObject
* obj0
= 0 ;
26897 char *kwnames
[] = {
26898 (char *) "self", NULL
26901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26924 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26925 PyObject
*resultobj
;
26926 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26927 wxString
*arg2
= 0 ;
26928 bool temp2
= False
;
26929 PyObject
* obj0
= 0 ;
26930 PyObject
* obj1
= 0 ;
26931 char *kwnames
[] = {
26932 (char *) "self",(char *) "path", NULL
26935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26939 arg2
= wxString_in_helper(obj1
);
26940 if (arg2
== NULL
) SWIG_fail
;
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26950 Py_INCREF(Py_None
); resultobj
= Py_None
;
26965 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26966 PyObject
*resultobj
;
26967 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26969 PyObject
* obj0
= 0 ;
26970 char *kwnames
[] = {
26971 (char *) "self", NULL
26974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26981 wxPyEndAllowThreads(__tstate
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26997 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26998 PyObject
*resultobj
;
26999 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27001 PyObject
* obj0
= 0 ;
27002 char *kwnames
[] = {
27003 (char *) "self", NULL
27006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27029 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
;
27031 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27032 wxString
*arg2
= 0 ;
27033 bool temp2
= False
;
27034 PyObject
* obj0
= 0 ;
27035 PyObject
* obj1
= 0 ;
27036 char *kwnames
[] = {
27037 (char *) "self",(char *) "path", NULL
27040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27044 arg2
= wxString_in_helper(obj1
);
27045 if (arg2
== NULL
) SWIG_fail
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 (arg1
)->SetPath((wxString
const &)*arg2
);
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27055 Py_INCREF(Py_None
); resultobj
= Py_None
;
27070 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
;
27072 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27074 PyObject
* obj0
= 0 ;
27075 PyObject
* obj1
= 0 ;
27076 char *kwnames
[] = {
27077 (char *) "self",(char *) "show", NULL
27080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27083 arg2
= (bool) SWIG_AsBool(obj1
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 (arg1
)->ShowHidden(arg2
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 Py_INCREF(Py_None
); resultobj
= Py_None
;
27099 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
;
27101 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27103 PyObject
* obj0
= 0 ;
27104 char *kwnames
[] = {
27105 (char *) "self", NULL
27108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27113 result
= (bool)(arg1
)->GetShowHidden();
27115 wxPyEndAllowThreads(__tstate
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27127 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27128 PyObject
*resultobj
;
27129 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27131 PyObject
* obj0
= 0 ;
27132 char *kwnames
[] = {
27133 (char *) "self", NULL
27136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27141 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27143 wxPyEndAllowThreads(__tstate
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27159 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27160 PyObject
*resultobj
;
27161 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27162 wxString
*arg2
= 0 ;
27163 bool temp2
= False
;
27164 PyObject
* obj0
= 0 ;
27165 PyObject
* obj1
= 0 ;
27166 char *kwnames
[] = {
27167 (char *) "self",(char *) "filter", NULL
27170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27174 arg2
= wxString_in_helper(obj1
);
27175 if (arg2
== NULL
) SWIG_fail
;
27179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27180 (arg1
)->SetFilter((wxString
const &)*arg2
);
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27185 Py_INCREF(Py_None
); resultobj
= Py_None
;
27200 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27204 PyObject
* obj0
= 0 ;
27205 char *kwnames
[] = {
27206 (char *) "self", NULL
27209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27219 resultobj
= SWIG_FromInt((int)result
);
27226 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27227 PyObject
*resultobj
;
27228 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27230 PyObject
* obj0
= 0 ;
27231 PyObject
* obj1
= 0 ;
27232 char *kwnames
[] = {
27233 (char *) "self",(char *) "n", NULL
27236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27239 arg2
= (int) SWIG_AsInt(obj1
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 (arg1
)->SetFilterIndex(arg2
);
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 Py_INCREF(Py_None
); resultobj
= Py_None
;
27255 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27258 wxTreeItemId result
;
27259 PyObject
* obj0
= 0 ;
27260 char *kwnames
[] = {
27261 (char *) "self", NULL
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 result
= (arg1
)->GetRootId();
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27275 wxTreeItemId
* resultptr
;
27276 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27285 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
;
27287 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27288 wxPyTreeCtrl
*result
;
27289 PyObject
* obj0
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27305 resultobj
= wxPyMake_wxObject(result
);
27313 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27316 wxDirFilterListCtrl
*result
;
27317 PyObject
* obj0
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "self", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27329 wxPyEndAllowThreads(__tstate
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27339 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27340 PyObject
*resultobj
;
27341 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27342 wxTreeItemId arg2
;
27343 wxString
*arg3
= 0 ;
27345 wxTreeItemId result
;
27346 wxTreeItemId
*argp2
;
27347 bool temp3
= False
;
27349 PyObject
* obj0
= 0 ;
27350 PyObject
* obj1
= 0 ;
27351 PyObject
* obj2
= 0 ;
27352 char *kwnames
[] = {
27353 (char *) "self",(char *) "parentId",(char *) "path", NULL
27357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27360 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27361 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27364 arg3
= wxString_in_helper(obj2
);
27365 if (arg3
== NULL
) SWIG_fail
;
27369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27370 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27372 wxPyEndAllowThreads(__tstate
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27376 wxTreeItemId
* resultptr
;
27377 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27381 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27382 resultobj
= t_output_helper(resultobj
,o
);
27398 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
;
27400 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27401 PyObject
* obj0
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "self", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 (arg1
)->DoResize();
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27416 Py_INCREF(Py_None
); resultobj
= Py_None
;
27423 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27426 PyObject
* obj0
= 0 ;
27427 char *kwnames
[] = {
27428 (char *) "self", NULL
27431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27436 (arg1
)->ReCreateTree();
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 Py_INCREF(Py_None
); resultobj
= Py_None
;
27448 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
27450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27451 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27453 return Py_BuildValue((char *)"");
27455 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27456 PyObject
*resultobj
;
27457 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27458 int arg2
= (int) (int)-1 ;
27459 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27460 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27461 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27462 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27463 long arg5
= (long) 0 ;
27464 wxDirFilterListCtrl
*result
;
27467 PyObject
* obj0
= 0 ;
27468 PyObject
* obj1
= 0 ;
27469 PyObject
* obj2
= 0 ;
27470 PyObject
* obj3
= 0 ;
27471 PyObject
* obj4
= 0 ;
27472 char *kwnames
[] = {
27473 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27480 arg2
= (int const) SWIG_AsInt(obj1
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27492 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27496 arg5
= (long) SWIG_AsLong(obj4
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27501 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27513 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxDirFilterListCtrl
*result
;
27516 char *kwnames
[] = {
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27535 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
;
27537 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27538 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27539 int arg3
= (int) (int)-1 ;
27540 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27541 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27542 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27543 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27544 long arg6
= (long) 0 ;
27548 PyObject
* obj0
= 0 ;
27549 PyObject
* obj1
= 0 ;
27550 PyObject
* obj2
= 0 ;
27551 PyObject
* obj3
= 0 ;
27552 PyObject
* obj4
= 0 ;
27553 PyObject
* obj5
= 0 ;
27554 char *kwnames
[] = {
27555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27564 arg3
= (int const) SWIG_AsInt(obj2
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27570 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27576 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27580 arg6
= (long) SWIG_AsLong(obj5
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27585 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27587 wxPyEndAllowThreads(__tstate
);
27588 if (PyErr_Occurred()) SWIG_fail
;
27591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27599 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
;
27601 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27602 wxString
*arg2
= 0 ;
27604 bool temp2
= False
;
27605 PyObject
* obj0
= 0 ;
27606 PyObject
* obj1
= 0 ;
27607 PyObject
* obj2
= 0 ;
27608 char *kwnames
[] = {
27609 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27616 arg2
= wxString_in_helper(obj1
);
27617 if (arg2
== NULL
) SWIG_fail
;
27620 arg3
= (int) SWIG_AsInt(obj2
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 Py_INCREF(Py_None
); resultobj
= Py_None
;
27644 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
27646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27647 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27649 return Py_BuildValue((char *)"");
27651 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxWindow
*arg1
= (wxWindow
*) 0 ;
27655 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27656 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27657 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27658 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27659 long arg5
= (long) 0 ;
27660 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27661 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27662 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27663 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27664 wxPyControl
*result
;
27667 bool temp7
= False
;
27668 PyObject
* obj0
= 0 ;
27669 PyObject
* obj1
= 0 ;
27670 PyObject
* obj2
= 0 ;
27671 PyObject
* obj3
= 0 ;
27672 PyObject
* obj4
= 0 ;
27673 PyObject
* obj5
= 0 ;
27674 PyObject
* obj6
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 arg2
= (int const) SWIG_AsInt(obj1
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27687 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27693 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27697 arg5
= (long) SWIG_AsLong(obj4
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27701 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27704 if (arg6
== NULL
) {
27705 PyErr_SetString(PyExc_TypeError
,"null reference");
27711 arg7
= wxString_in_helper(obj6
);
27712 if (arg7
== NULL
) SWIG_fail
;
27717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27718 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27738 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27739 PyObject
*resultobj
;
27740 wxPyControl
*result
;
27741 char *kwnames
[] = {
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 result
= (wxPyControl
*)new wxPyControl();
27750 wxPyEndAllowThreads(__tstate
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27760 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
;
27762 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27763 PyObject
*arg2
= (PyObject
*) 0 ;
27764 PyObject
*arg3
= (PyObject
*) 0 ;
27765 PyObject
* obj0
= 0 ;
27766 PyObject
* obj1
= 0 ;
27767 PyObject
* obj2
= 0 ;
27768 char *kwnames
[] = {
27769 (char *) "self",(char *) "self",(char *) "_class", NULL
27772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27779 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27784 Py_INCREF(Py_None
); resultobj
= Py_None
;
27791 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27792 PyObject
*resultobj
;
27793 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27798 PyObject
* obj0
= 0 ;
27799 PyObject
* obj1
= 0 ;
27800 PyObject
* obj2
= 0 ;
27801 PyObject
* obj3
= 0 ;
27802 PyObject
* obj4
= 0 ;
27803 char *kwnames
[] = {
27804 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27810 arg2
= (int) SWIG_AsInt(obj1
);
27811 if (PyErr_Occurred()) SWIG_fail
;
27812 arg3
= (int) SWIG_AsInt(obj2
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27814 arg4
= (int) SWIG_AsInt(obj3
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27816 arg5
= (int) SWIG_AsInt(obj4
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27820 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 Py_INCREF(Py_None
); resultobj
= Py_None
;
27832 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27833 PyObject
*resultobj
;
27834 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27839 int arg6
= (int) wxSIZE_AUTO
;
27840 PyObject
* obj0
= 0 ;
27841 PyObject
* obj1
= 0 ;
27842 PyObject
* obj2
= 0 ;
27843 PyObject
* obj3
= 0 ;
27844 PyObject
* obj4
= 0 ;
27845 PyObject
* obj5
= 0 ;
27846 char *kwnames
[] = {
27847 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27853 arg2
= (int) SWIG_AsInt(obj1
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27855 arg3
= (int) SWIG_AsInt(obj2
);
27856 if (PyErr_Occurred()) SWIG_fail
;
27857 arg4
= (int) SWIG_AsInt(obj3
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27859 arg5
= (int) SWIG_AsInt(obj4
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27862 arg6
= (int) SWIG_AsInt(obj5
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27872 Py_INCREF(Py_None
); resultobj
= Py_None
;
27879 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27880 PyObject
*resultobj
;
27881 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27884 PyObject
* obj0
= 0 ;
27885 PyObject
* obj1
= 0 ;
27886 PyObject
* obj2
= 0 ;
27887 char *kwnames
[] = {
27888 (char *) "self",(char *) "width",(char *) "height", NULL
27891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27894 arg2
= (int) SWIG_AsInt(obj1
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27896 arg3
= (int) SWIG_AsInt(obj2
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27905 Py_INCREF(Py_None
); resultobj
= Py_None
;
27912 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27913 PyObject
*resultobj
;
27914 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27917 PyObject
* obj0
= 0 ;
27918 PyObject
* obj1
= 0 ;
27919 PyObject
* obj2
= 0 ;
27920 char *kwnames
[] = {
27921 (char *) "self",(char *) "x",(char *) "y", NULL
27924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27927 arg2
= (int) SWIG_AsInt(obj1
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27929 arg3
= (int) SWIG_AsInt(obj2
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27935 wxPyEndAllowThreads(__tstate
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27938 Py_INCREF(Py_None
); resultobj
= Py_None
;
27945 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27948 int *arg2
= (int *) 0 ;
27949 int *arg3
= (int *) 0 ;
27952 PyObject
* obj0
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self", NULL
27959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27966 wxPyEndAllowThreads(__tstate
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27969 Py_INCREF(Py_None
); resultobj
= Py_None
;
27971 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27972 resultobj
= t_output_helper(resultobj
,o
);
27975 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27976 resultobj
= t_output_helper(resultobj
,o
);
27984 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
;
27986 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27987 int *arg2
= (int *) 0 ;
27988 int *arg3
= (int *) 0 ;
27991 PyObject
* obj0
= 0 ;
27992 char *kwnames
[] = {
27993 (char *) "self", NULL
27998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28008 Py_INCREF(Py_None
); resultobj
= Py_None
;
28010 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28011 resultobj
= t_output_helper(resultobj
,o
);
28014 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28015 resultobj
= t_output_helper(resultobj
,o
);
28023 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28024 PyObject
*resultobj
;
28025 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28026 int *arg2
= (int *) 0 ;
28027 int *arg3
= (int *) 0 ;
28030 PyObject
* obj0
= 0 ;
28031 char *kwnames
[] = {
28032 (char *) "self", NULL
28037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28042 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28044 wxPyEndAllowThreads(__tstate
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28047 Py_INCREF(Py_None
); resultobj
= Py_None
;
28049 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28050 resultobj
= t_output_helper(resultobj
,o
);
28053 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28054 resultobj
= t_output_helper(resultobj
,o
);
28062 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28063 PyObject
*resultobj
;
28064 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28066 PyObject
* obj0
= 0 ;
28067 char *kwnames
[] = {
28068 (char *) "self", NULL
28071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28076 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28078 wxPyEndAllowThreads(__tstate
);
28079 if (PyErr_Occurred()) SWIG_fail
;
28082 wxSize
* resultptr
;
28083 resultptr
= new wxSize((wxSize
&) result
);
28084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28092 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
;
28094 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28096 PyObject
* obj0
= 0 ;
28097 char *kwnames
[] = {
28098 (char *) "self", NULL
28101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28112 wxSize
* resultptr
;
28113 resultptr
= new wxSize((wxSize
&) result
);
28114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28122 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
;
28124 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28125 PyObject
* obj0
= 0 ;
28126 char *kwnames
[] = {
28127 (char *) "self", NULL
28130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28135 (arg1
)->base_InitDialog();
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28140 Py_INCREF(Py_None
); resultobj
= Py_None
;
28147 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
;
28149 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28151 PyObject
* obj0
= 0 ;
28152 char *kwnames
[] = {
28153 (char *) "self", NULL
28156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 result
= (bool)(arg1
)->base_TransferDataToWindow();
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28175 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28176 PyObject
*resultobj
;
28177 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28179 PyObject
* obj0
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self", NULL
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28203 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
;
28205 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28207 PyObject
* obj0
= 0 ;
28208 char *kwnames
[] = {
28209 (char *) "self", NULL
28212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (bool)(arg1
)->base_Validate();
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28231 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28232 PyObject
*resultobj
;
28233 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28235 PyObject
* obj0
= 0 ;
28236 char *kwnames
[] = {
28237 (char *) "self", NULL
28240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28245 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28259 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28261 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28263 PyObject
* obj0
= 0 ;
28264 char *kwnames
[] = {
28265 (char *) "self", NULL
28268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28275 wxPyEndAllowThreads(__tstate
);
28276 if (PyErr_Occurred()) SWIG_fail
;
28279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28287 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28288 PyObject
*resultobj
;
28289 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28291 PyObject
* obj0
= 0 ;
28292 char *kwnames
[] = {
28293 (char *) "self", NULL
28296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28301 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28303 wxPyEndAllowThreads(__tstate
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28307 wxSize
* resultptr
;
28308 resultptr
= new wxSize((wxSize
&) result
);
28309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28317 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28318 PyObject
*resultobj
;
28319 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28320 wxWindow
*arg2
= (wxWindow
*) 0 ;
28321 PyObject
* obj0
= 0 ;
28322 PyObject
* obj1
= 0 ;
28323 char *kwnames
[] = {
28324 (char *) "self",(char *) "child", NULL
28327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 (arg1
)->base_AddChild(arg2
);
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 Py_INCREF(Py_None
); resultobj
= Py_None
;
28346 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28347 PyObject
*resultobj
;
28348 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28349 wxWindow
*arg2
= (wxWindow
*) 0 ;
28350 PyObject
* obj0
= 0 ;
28351 PyObject
* obj1
= 0 ;
28352 char *kwnames
[] = {
28353 (char *) "self",(char *) "child", NULL
28356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 (arg1
)->base_RemoveChild(arg2
);
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28368 Py_INCREF(Py_None
); resultobj
= Py_None
;
28375 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28376 PyObject
*resultobj
;
28377 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28379 PyObject
* obj0
= 0 ;
28380 char *kwnames
[] = {
28381 (char *) "self", NULL
28384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 result
= (bool)(arg1
)->base_ShouldInheritColours();
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28403 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
;
28405 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28406 wxColour
*arg2
= 0 ;
28408 PyObject
* obj0
= 0 ;
28409 PyObject
* obj1
= 0 ;
28410 char *kwnames
[] = {
28411 (char *) "self",(char *) "c", NULL
28414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28419 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28423 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28425 wxPyEndAllowThreads(__tstate
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28428 Py_INCREF(Py_None
); resultobj
= Py_None
;
28435 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
28437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28438 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28440 return Py_BuildValue((char *)"");
28442 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28445 int arg2
= (int) 0 ;
28446 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28447 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28448 wxHelpEvent
*result
;
28450 PyObject
* obj0
= 0 ;
28451 PyObject
* obj1
= 0 ;
28452 PyObject
* obj2
= 0 ;
28453 char *kwnames
[] = {
28454 (char *) "type",(char *) "winid",(char *) "pt", NULL
28457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28459 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28463 arg2
= (int) SWIG_AsInt(obj1
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28469 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28486 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
;
28488 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28490 PyObject
* obj0
= 0 ;
28491 char *kwnames
[] = {
28492 (char *) "self", NULL
28495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28506 wxPoint
* resultptr
;
28507 resultptr
= new wxPoint((wxPoint
&) result
);
28508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28516 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28517 PyObject
*resultobj
;
28518 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28519 wxPoint
*arg2
= 0 ;
28521 PyObject
* obj0
= 0 ;
28522 PyObject
* obj1
= 0 ;
28523 char *kwnames
[] = {
28524 (char *) "self",(char *) "pos", NULL
28527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28536 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28538 wxPyEndAllowThreads(__tstate
);
28539 if (PyErr_Occurred()) SWIG_fail
;
28541 Py_INCREF(Py_None
); resultobj
= Py_None
;
28548 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
;
28550 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28552 PyObject
* obj0
= 0 ;
28553 char *kwnames
[] = {
28554 (char *) "self", NULL
28557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28563 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28564 result
= (wxString
*) &_result_ref
;
28567 wxPyEndAllowThreads(__tstate
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28572 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28574 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28583 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28584 PyObject
*resultobj
;
28585 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28586 wxString
*arg2
= 0 ;
28587 bool temp2
= False
;
28588 PyObject
* obj0
= 0 ;
28589 PyObject
* obj1
= 0 ;
28590 char *kwnames
[] = {
28591 (char *) "self",(char *) "link", NULL
28594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28598 arg2
= wxString_in_helper(obj1
);
28599 if (arg2
== NULL
) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 (arg1
)->SetLink((wxString
const &)*arg2
);
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 Py_INCREF(Py_None
); resultobj
= Py_None
;
28624 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28625 PyObject
*resultobj
;
28626 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28628 PyObject
* obj0
= 0 ;
28629 char *kwnames
[] = {
28630 (char *) "self", NULL
28633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28639 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28640 result
= (wxString
*) &_result_ref
;
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28648 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28650 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28659 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28660 PyObject
*resultobj
;
28661 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28662 wxString
*arg2
= 0 ;
28663 bool temp2
= False
;
28664 PyObject
* obj0
= 0 ;
28665 PyObject
* obj1
= 0 ;
28666 char *kwnames
[] = {
28667 (char *) "self",(char *) "target", NULL
28670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28674 arg2
= wxString_in_helper(obj1
);
28675 if (arg2
== NULL
) SWIG_fail
;
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 (arg1
)->SetTarget((wxString
const &)*arg2
);
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28685 Py_INCREF(Py_None
); resultobj
= Py_None
;
28700 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
28702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28703 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28705 return Py_BuildValue((char *)"");
28707 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28708 PyObject
*resultobj
;
28709 wxWindow
*arg1
= (wxWindow
*) NULL
;
28710 bool arg2
= (bool) True
;
28711 wxContextHelp
*result
;
28712 PyObject
* obj0
= 0 ;
28713 PyObject
* obj1
= 0 ;
28714 char *kwnames
[] = {
28715 (char *) "window",(char *) "doNow", NULL
28718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28724 arg2
= (bool) SWIG_AsBool(obj1
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28741 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28743 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28744 PyObject
* obj0
= 0 ;
28745 char *kwnames
[] = {
28746 (char *) "self", NULL
28749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 Py_INCREF(Py_None
); resultobj
= Py_None
;
28766 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
;
28768 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28769 wxWindow
*arg2
= (wxWindow
*) NULL
;
28771 PyObject
* obj0
= 0 ;
28772 PyObject
* obj1
= 0 ;
28773 char *kwnames
[] = {
28774 (char *) "self",(char *) "window", NULL
28777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28800 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
;
28802 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28804 PyObject
* obj0
= 0 ;
28805 char *kwnames
[] = {
28806 (char *) "self", NULL
28809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 result
= (bool)(arg1
)->EndContextHelp();
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28828 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
28830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28831 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28833 return Py_BuildValue((char *)"");
28835 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28836 PyObject
*resultobj
;
28837 wxWindow
*arg1
= (wxWindow
*) 0 ;
28838 int arg2
= (int) wxID_CONTEXT_HELP
;
28839 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28840 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28841 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28842 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28843 long arg5
= (long) wxBU_AUTODRAW
;
28844 wxContextHelpButton
*result
;
28847 PyObject
* obj0
= 0 ;
28848 PyObject
* obj1
= 0 ;
28849 PyObject
* obj2
= 0 ;
28850 PyObject
* obj3
= 0 ;
28851 PyObject
* obj4
= 0 ;
28852 char *kwnames
[] = {
28853 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28860 arg2
= (int) SWIG_AsInt(obj1
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28872 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28876 arg5
= (long) SWIG_AsLong(obj4
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
28893 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
28895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28896 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28898 return Py_BuildValue((char *)"");
28900 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28901 PyObject
*resultobj
;
28902 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28903 wxHelpProvider
*result
;
28904 PyObject
* obj0
= 0 ;
28905 char *kwnames
[] = {
28906 (char *) "helpProvider", NULL
28909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28926 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
;
28928 wxHelpProvider
*result
;
28929 char *kwnames
[] = {
28933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28936 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
28948 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28949 PyObject
*resultobj
;
28950 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28951 wxWindow
*arg2
= (wxWindow
*) 0 ;
28953 PyObject
* obj0
= 0 ;
28954 PyObject
* obj1
= 0 ;
28955 char *kwnames
[] = {
28956 (char *) "self",(char *) "window", NULL
28959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28968 wxPyEndAllowThreads(__tstate
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28984 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28985 PyObject
*resultobj
;
28986 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28987 wxWindow
*arg2
= (wxWindow
*) 0 ;
28989 PyObject
* obj0
= 0 ;
28990 PyObject
* obj1
= 0 ;
28991 char *kwnames
[] = {
28992 (char *) "self",(char *) "window", NULL
28995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
28997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29002 result
= (bool)(arg1
)->ShowHelp(arg2
);
29004 wxPyEndAllowThreads(__tstate
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29016 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29017 PyObject
*resultobj
;
29018 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29019 wxWindow
*arg2
= (wxWindow
*) 0 ;
29020 wxString
*arg3
= 0 ;
29021 bool temp3
= False
;
29022 PyObject
* obj0
= 0 ;
29023 PyObject
* obj1
= 0 ;
29024 PyObject
* obj2
= 0 ;
29025 char *kwnames
[] = {
29026 (char *) "self",(char *) "window",(char *) "text", NULL
29029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29035 arg3
= wxString_in_helper(obj2
);
29036 if (arg3
== NULL
) SWIG_fail
;
29040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29041 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29046 Py_INCREF(Py_None
); resultobj
= Py_None
;
29061 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29062 PyObject
*resultobj
;
29063 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29065 wxString
*arg3
= 0 ;
29066 bool temp3
= False
;
29067 PyObject
* obj0
= 0 ;
29068 PyObject
* obj1
= 0 ;
29069 PyObject
* obj2
= 0 ;
29070 char *kwnames
[] = {
29071 (char *) "self",(char *) "id",(char *) "text", NULL
29074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29077 arg2
= (int) SWIG_AsInt(obj1
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29080 arg3
= wxString_in_helper(obj2
);
29081 if (arg3
== NULL
) SWIG_fail
;
29085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29091 Py_INCREF(Py_None
); resultobj
= Py_None
;
29106 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
;
29108 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29109 wxWindow
*arg2
= (wxWindow
*) 0 ;
29110 PyObject
* obj0
= 0 ;
29111 PyObject
* obj1
= 0 ;
29112 char *kwnames
[] = {
29113 (char *) "self",(char *) "window", NULL
29116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29123 (arg1
)->RemoveHelp(arg2
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 Py_INCREF(Py_None
); resultobj
= Py_None
;
29135 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29136 PyObject
*resultobj
;
29137 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29138 PyObject
* obj0
= 0 ;
29139 char *kwnames
[] = {
29140 (char *) "self", NULL
29143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 wxHelpProvider_Destroy(arg1
);
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 Py_INCREF(Py_None
); resultobj
= Py_None
;
29160 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
29162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29163 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29165 return Py_BuildValue((char *)"");
29167 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29168 PyObject
*resultobj
;
29169 wxSimpleHelpProvider
*result
;
29170 char *kwnames
[] = {
29174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29177 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29189 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
29191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29192 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29194 return Py_BuildValue((char *)"");
29196 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29197 PyObject
*resultobj
;
29198 wxBitmap
*arg1
= 0 ;
29199 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29200 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29201 wxGenericDragImage
*result
;
29202 PyObject
* obj0
= 0 ;
29203 PyObject
* obj1
= 0 ;
29204 char *kwnames
[] = {
29205 (char *) "image",(char *) "cursor", NULL
29208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29212 if (arg1
== NULL
) {
29213 PyErr_SetString(PyExc_TypeError
,"null reference");
29217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29220 if (arg2
== NULL
) {
29221 PyErr_SetString(PyExc_TypeError
,"null reference");
29226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29227 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29229 wxPyEndAllowThreads(__tstate
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29239 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
;
29242 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29243 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29244 wxGenericDragImage
*result
;
29245 PyObject
* obj0
= 0 ;
29246 PyObject
* obj1
= 0 ;
29247 char *kwnames
[] = {
29248 (char *) "image",(char *) "cursor", NULL
29251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29255 if (arg1
== NULL
) {
29256 PyErr_SetString(PyExc_TypeError
,"null reference");
29260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29263 if (arg2
== NULL
) {
29264 PyErr_SetString(PyExc_TypeError
,"null reference");
29269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29270 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29272 wxPyEndAllowThreads(__tstate
);
29273 if (PyErr_Occurred()) SWIG_fail
;
29275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29282 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29283 PyObject
*resultobj
;
29284 wxString
*arg1
= 0 ;
29285 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29286 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29287 wxGenericDragImage
*result
;
29288 bool temp1
= False
;
29289 PyObject
* obj0
= 0 ;
29290 PyObject
* obj1
= 0 ;
29291 char *kwnames
[] = {
29292 (char *) "str",(char *) "cursor", NULL
29295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29297 arg1
= wxString_in_helper(obj0
);
29298 if (arg1
== NULL
) SWIG_fail
;
29302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29305 if (arg2
== NULL
) {
29306 PyErr_SetString(PyExc_TypeError
,"null reference");
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29332 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29333 PyObject
*resultobj
;
29334 wxPyTreeCtrl
*arg1
= 0 ;
29335 wxTreeItemId
*arg2
= 0 ;
29336 wxGenericDragImage
*result
;
29337 PyObject
* obj0
= 0 ;
29338 PyObject
* obj1
= 0 ;
29339 char *kwnames
[] = {
29340 (char *) "treeCtrl",(char *) "id", NULL
29343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29347 if (arg1
== NULL
) {
29348 PyErr_SetString(PyExc_TypeError
,"null reference");
29351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29354 if (arg2
== NULL
) {
29355 PyErr_SetString(PyExc_TypeError
,"null reference");
29359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29360 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29362 wxPyEndAllowThreads(__tstate
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29372 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29373 PyObject
*resultobj
;
29374 wxPyListCtrl
*arg1
= 0 ;
29376 wxGenericDragImage
*result
;
29377 PyObject
* obj0
= 0 ;
29378 PyObject
* obj1
= 0 ;
29379 char *kwnames
[] = {
29380 (char *) "listCtrl",(char *) "id", NULL
29383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29387 if (arg1
== NULL
) {
29388 PyErr_SetString(PyExc_TypeError
,"null reference");
29391 arg2
= (long) SWIG_AsLong(obj1
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29407 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
;
29409 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29410 PyObject
* obj0
= 0 ;
29411 char *kwnames
[] = {
29412 (char *) "self", NULL
29415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 Py_INCREF(Py_None
); resultobj
= Py_None
;
29432 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
;
29434 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29435 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29436 PyObject
* obj0
= 0 ;
29437 PyObject
* obj1
= 0 ;
29438 char *kwnames
[] = {
29439 (char *) "self",(char *) "bitmap", NULL
29442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 (arg1
)->SetBackingBitmap(arg2
);
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29454 Py_INCREF(Py_None
); resultobj
= Py_None
;
29461 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
;
29463 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29464 wxPoint
*arg2
= 0 ;
29465 wxWindow
*arg3
= (wxWindow
*) 0 ;
29466 bool arg4
= (bool) False
;
29467 wxRect
*arg5
= (wxRect
*) NULL
;
29470 PyObject
* obj0
= 0 ;
29471 PyObject
* obj1
= 0 ;
29472 PyObject
* obj2
= 0 ;
29473 PyObject
* obj3
= 0 ;
29474 PyObject
* obj4
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29486 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29489 arg4
= (bool) SWIG_AsBool(obj3
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29493 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29500 wxPyEndAllowThreads(__tstate
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29512 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
;
29514 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29515 wxPoint
*arg2
= 0 ;
29516 wxWindow
*arg3
= (wxWindow
*) 0 ;
29517 wxWindow
*arg4
= (wxWindow
*) 0 ;
29520 PyObject
* obj0
= 0 ;
29521 PyObject
* obj1
= 0 ;
29522 PyObject
* obj2
= 0 ;
29523 PyObject
* obj3
= 0 ;
29524 char *kwnames
[] = {
29525 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29535 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29537 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29555 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
;
29557 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29559 PyObject
* obj0
= 0 ;
29560 char *kwnames
[] = {
29561 (char *) "self", NULL
29564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= (bool)(arg1
)->EndDrag();
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29583 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29584 PyObject
*resultobj
;
29585 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29586 wxPoint
*arg2
= 0 ;
29589 PyObject
* obj0
= 0 ;
29590 PyObject
* obj1
= 0 ;
29591 char *kwnames
[] = {
29592 (char *) "self",(char *) "pt", NULL
29595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29604 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29606 wxPyEndAllowThreads(__tstate
);
29607 if (PyErr_Occurred()) SWIG_fail
;
29610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29618 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29619 PyObject
*resultobj
;
29620 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29622 PyObject
* obj0
= 0 ;
29623 char *kwnames
[] = {
29624 (char *) "self", NULL
29627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 result
= (bool)(arg1
)->Show();
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29646 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29647 PyObject
*resultobj
;
29648 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29650 PyObject
* obj0
= 0 ;
29651 char *kwnames
[] = {
29652 (char *) "self", NULL
29655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29660 result
= (bool)(arg1
)->Hide();
29662 wxPyEndAllowThreads(__tstate
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29674 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29675 PyObject
*resultobj
;
29676 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29677 wxPoint
*arg2
= 0 ;
29680 PyObject
* obj0
= 0 ;
29681 PyObject
* obj1
= 0 ;
29682 char *kwnames
[] = {
29683 (char *) "self",(char *) "pos", NULL
29686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29691 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29695 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29697 wxPyEndAllowThreads(__tstate
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29701 wxRect
* resultptr
;
29702 resultptr
= new wxRect((wxRect
&) result
);
29703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29711 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
;
29713 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29715 wxPoint
*arg3
= 0 ;
29718 PyObject
* obj0
= 0 ;
29719 PyObject
* obj1
= 0 ;
29720 PyObject
* obj2
= 0 ;
29721 char *kwnames
[] = {
29722 (char *) "self",(char *) "dc",(char *) "pos", NULL
29725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29731 if (arg2
== NULL
) {
29732 PyErr_SetString(PyExc_TypeError
,"null reference");
29737 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29743 wxPyEndAllowThreads(__tstate
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29755 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29756 PyObject
*resultobj
;
29757 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29759 wxMemoryDC
*arg3
= 0 ;
29765 PyObject
* obj0
= 0 ;
29766 PyObject
* obj1
= 0 ;
29767 PyObject
* obj2
= 0 ;
29768 PyObject
* obj3
= 0 ;
29769 PyObject
* obj4
= 0 ;
29770 char *kwnames
[] = {
29771 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29780 if (arg2
== NULL
) {
29781 PyErr_SetString(PyExc_TypeError
,"null reference");
29784 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
29785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29787 if (arg3
== NULL
) {
29788 PyErr_SetString(PyExc_TypeError
,"null reference");
29793 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29797 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29801 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29803 wxPyEndAllowThreads(__tstate
);
29804 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29815 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29816 PyObject
*resultobj
;
29817 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29818 wxPoint
*arg2
= 0 ;
29819 wxPoint
*arg3
= 0 ;
29825 PyObject
* obj0
= 0 ;
29826 PyObject
* obj1
= 0 ;
29827 PyObject
* obj2
= 0 ;
29828 PyObject
* obj3
= 0 ;
29829 PyObject
* obj4
= 0 ;
29830 char *kwnames
[] = {
29831 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29839 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29843 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29845 arg4
= (bool) SWIG_AsBool(obj3
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29847 arg5
= (bool) SWIG_AsBool(obj4
);
29848 if (PyErr_Occurred()) SWIG_fail
;
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*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
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
29867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29868 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29870 return Py_BuildValue((char *)"");
29872 static PyMethodDef SwigMethods
[] = {
29873 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29874 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29875 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29876 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29877 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29878 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
29879 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29880 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29881 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29882 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29883 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29884 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29885 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29886 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29887 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29888 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29889 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29890 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29891 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29892 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29893 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
29894 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29895 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29896 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29897 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29898 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29899 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29900 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29901 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29902 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29903 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29904 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
29905 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29906 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29907 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29908 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29909 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29910 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29911 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
29912 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29913 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29914 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29915 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29916 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29917 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29918 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29919 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29920 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29921 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29922 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29923 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29924 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29925 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29926 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29927 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29928 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29929 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
29930 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29931 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29932 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29933 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29934 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29935 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29936 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29937 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29938 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29939 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29940 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29941 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29942 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
29943 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29944 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29945 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29946 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
29947 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29948 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29949 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29950 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29951 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29952 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
29953 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29954 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29955 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29956 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
29957 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29958 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29959 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29960 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29961 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29962 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29963 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
29964 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29965 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29966 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29967 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29968 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29969 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29970 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29971 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29972 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29973 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29974 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29975 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29976 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29977 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29978 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29979 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29980 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29981 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29982 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29983 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29984 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29985 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
29986 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29987 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29988 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29989 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29990 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29991 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29992 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29993 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
29994 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
, NULL
},
29995 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29996 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29997 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29998 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29999 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30000 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30001 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30002 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30003 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30004 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30005 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30006 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30007 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30008 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30009 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30010 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30011 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30012 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30013 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30014 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30015 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30016 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30017 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30018 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30019 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30020 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30021 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30022 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30023 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
30024 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30025 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30026 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30027 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30028 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30029 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30030 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30031 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30032 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30033 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30034 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30035 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30036 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30037 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30038 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30039 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30040 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30041 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30042 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30043 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30044 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30045 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30046 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30047 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30048 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30049 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30050 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30051 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30052 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30053 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30054 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30055 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30056 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30057 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30058 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30059 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30060 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30061 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30062 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30063 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30064 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30065 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30066 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30067 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30068 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30069 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30070 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30071 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30072 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30073 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30074 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30075 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30076 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30077 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
30078 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30079 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30080 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30081 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30082 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
30083 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30084 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30085 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30086 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30087 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30088 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30089 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30090 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30091 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30092 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30093 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
30094 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30095 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30096 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30097 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30098 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30099 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30100 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30101 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30102 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30103 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30104 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30105 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
30106 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30107 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30108 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30109 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30110 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30111 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30112 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30113 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30114 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30115 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30116 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
30117 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30118 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30119 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30120 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
30121 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30122 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30123 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30124 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30125 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30126 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30127 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30128 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30129 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30130 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30131 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30132 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30133 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30134 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30135 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30136 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30137 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
30138 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30139 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30140 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30141 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30142 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30143 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
30144 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30145 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30146 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30147 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30148 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30149 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30150 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30151 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30152 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30153 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30154 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30155 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30156 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30157 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30158 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30159 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30160 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30161 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30162 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30163 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30164 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30165 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30166 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30167 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30168 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
30169 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30170 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30171 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
30172 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30173 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30174 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30175 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30176 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30177 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30178 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30179 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30180 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30181 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30182 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30183 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30184 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30185 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30186 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30187 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30188 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30189 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30190 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30191 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
30192 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30193 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30194 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30195 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30196 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30197 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
30198 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30199 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30200 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30201 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30202 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30203 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30204 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30205 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30206 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
30207 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30208 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
30209 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30210 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30211 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30212 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30213 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
30214 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30215 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
30216 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30217 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30218 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30219 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30220 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
30221 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30222 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30223 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30224 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30225 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
30226 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30227 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30228 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30229 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30230 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30231 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30232 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30233 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30234 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30235 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30236 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30237 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30238 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30239 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30240 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30241 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30242 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30243 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30244 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30245 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30246 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30247 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30248 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30249 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30250 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30251 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30252 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30253 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30254 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30255 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
30256 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30257 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30258 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30259 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30260 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30261 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30262 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30263 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30264 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30265 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30266 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30267 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30268 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30269 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30270 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30271 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30272 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30273 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30274 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30275 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30276 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30277 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30278 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30279 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30280 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30281 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30282 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30283 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30284 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30285 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30286 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30287 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30288 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30289 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30290 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30291 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30292 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30293 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30294 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30295 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30296 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30297 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30298 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30299 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30300 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
30301 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30302 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30303 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30304 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30305 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
30306 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30307 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30308 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30309 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30310 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30311 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30312 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30313 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30314 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30315 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30316 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30317 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
30318 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30319 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30320 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30321 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30322 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30323 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30324 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30325 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30326 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30327 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30328 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30329 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30330 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30331 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30332 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30333 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30334 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30335 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30336 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30337 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30338 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30339 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30340 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30341 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30342 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30343 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30344 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30345 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30346 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30347 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30348 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30349 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30350 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30351 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30352 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30353 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30354 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30355 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30356 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30357 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30358 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30359 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30360 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30361 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30362 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30363 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30364 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30365 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30366 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30367 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30368 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30369 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
30370 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30371 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30372 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30373 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30374 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30375 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30376 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30377 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30378 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30379 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30380 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30381 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30382 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30383 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30384 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30385 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30386 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30387 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30388 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30389 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30390 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30391 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30392 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30393 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30394 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30395 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30396 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
30397 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30398 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30399 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30400 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30401 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30402 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30403 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30404 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30405 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30406 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30407 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30408 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30409 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30410 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30411 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30412 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30413 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30414 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30415 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30416 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30417 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30418 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30419 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30420 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30421 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30422 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30423 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30424 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30425 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30426 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30427 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30428 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30429 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30430 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30431 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30432 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30433 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30434 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30435 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30436 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30437 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30438 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30439 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30440 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30441 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30442 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30443 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30444 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30445 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30446 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30447 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30448 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30449 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30450 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30451 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30452 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30453 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30454 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30455 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30456 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30457 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30458 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30459 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30460 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30461 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30462 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30463 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30464 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30465 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30466 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
30467 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30468 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30469 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30470 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30471 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30472 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30473 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30474 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30475 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30476 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30477 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30478 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
30479 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30480 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30481 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30482 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30483 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30484 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30485 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30486 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
30487 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30488 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30489 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30490 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30491 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30492 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30493 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
30494 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30495 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30496 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30497 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30498 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30499 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30500 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30501 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30502 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30503 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30504 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30505 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30506 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30507 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30508 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30509 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
30510 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30511 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30512 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30513 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30514 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30515 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30516 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30517 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30518 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30519 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30520 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30521 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30522 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30523 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30524 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30525 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30526 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30527 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30528 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30530 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30531 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30532 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30533 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30534 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30535 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30537 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30538 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30539 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30540 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30541 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30543 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30544 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30545 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30546 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30548 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30550 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30551 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30552 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30553 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30554 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30555 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30557 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30558 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30559 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30561 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30562 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30563 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30564 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30565 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30566 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30567 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30569 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30571 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30574 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30575 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30576 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30578 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30579 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30582 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30583 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
30584 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30585 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30586 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30588 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30590 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30596 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30598 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30599 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30601 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30602 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30603 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30605 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
30606 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30607 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30609 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
30611 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30613 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30616 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30617 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30618 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30621 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30622 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30624 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30625 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30626 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30627 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30628 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30629 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30631 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30632 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30633 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30634 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
30635 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30637 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30638 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30641 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
30643 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30644 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30645 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30646 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30647 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
30648 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30649 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
30650 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30651 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30652 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30653 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30654 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30656 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30657 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30658 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
30659 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30660 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
30661 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30662 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30665 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30667 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30671 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30672 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30674 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30675 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30676 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30678 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
30679 { NULL
, NULL
, 0, NULL
}
30683 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30685 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30686 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30688 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30689 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30691 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30692 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30694 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30695 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30697 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30698 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30700 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30701 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30703 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30704 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30706 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30707 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30709 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30710 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30712 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30713 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30715 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30716 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30718 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30719 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30721 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30722 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30724 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30725 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30727 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30728 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30730 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30731 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30733 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30734 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30736 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30737 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30739 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30740 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30742 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30743 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30745 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30746 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30748 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30749 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30751 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30752 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30754 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30755 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30757 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30758 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30760 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30761 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30763 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30764 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30766 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30767 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30769 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30770 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30772 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30773 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30775 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30776 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30778 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30779 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30781 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30782 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30784 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30785 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30787 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30788 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30790 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30791 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30793 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30794 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30796 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30797 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30799 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30800 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30802 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30803 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30805 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30806 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30808 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30809 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30811 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30812 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30814 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30815 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30817 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30818 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30820 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30821 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30823 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30824 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30826 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30827 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30829 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30830 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30832 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30833 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30835 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30836 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30838 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30839 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30841 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30842 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30844 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30845 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30847 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30848 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30850 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30851 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30853 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30854 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30856 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30857 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30859 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30860 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30862 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30863 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30865 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30866 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30868 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30869 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30871 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30872 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30874 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30875 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30877 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30878 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30880 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30881 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30883 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30884 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30886 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30887 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30889 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30890 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30892 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30893 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30895 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30896 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30898 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30899 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30901 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30902 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30904 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30905 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30907 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30908 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30910 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30911 return (void *)((wxControl
*) ((wxGauge
*) x
));
30913 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30914 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30916 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30917 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30919 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30920 return (void *)((wxControl
*) ((wxButton
*) x
));
30922 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30923 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30925 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30926 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30928 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30929 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30931 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30932 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30934 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30935 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30937 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30938 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30940 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30941 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30943 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30944 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30946 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30947 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30949 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30950 return (void *)((wxControl
*) ((wxSlider
*) x
));
30952 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30953 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30955 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30956 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30958 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30959 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30961 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30962 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30964 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30965 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30967 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30968 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30970 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30971 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30973 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30974 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30976 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30977 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30979 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30980 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30982 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30983 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30985 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30986 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30988 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30989 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30991 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30992 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30994 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30995 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30997 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30998 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31000 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31001 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31003 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31004 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31006 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31007 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31009 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31010 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31012 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31013 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31015 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31016 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31018 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31019 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31021 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31022 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31024 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31025 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31027 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31028 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31030 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31031 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31033 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31034 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31036 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31037 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31039 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31040 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31042 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31043 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31045 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31048 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31051 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31052 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31054 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31057 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31060 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31063 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31066 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31069 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31072 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31075 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31078 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31079 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31081 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31084 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31087 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31090 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31093 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31096 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31099 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31102 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31105 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31108 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31109 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31111 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31112 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31114 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31115 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31117 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31118 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31120 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31121 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31123 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31124 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31126 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31127 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31129 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31130 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31132 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31133 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31135 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31136 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31138 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31141 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31142 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31144 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31147 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31148 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31150 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31151 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31153 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31154 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31156 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31157 return (void *)((wxObject
*) ((wxSizer
*) x
));
31159 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31160 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31162 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31165 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31168 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31169 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31171 static void *_p_wxEventTo_p_wxObject(void *x
) {
31172 return (void *)((wxObject
*) ((wxEvent
*) x
));
31174 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31175 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31177 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31178 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31180 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31181 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31183 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31186 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31189 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31192 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31193 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31195 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31196 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31198 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31199 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31201 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31202 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31204 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31205 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31207 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31208 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31210 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31213 static void *_p_wxControlTo_p_wxObject(void *x
) {
31214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31216 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31219 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31222 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31225 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31228 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31231 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31232 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31234 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31237 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31238 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31240 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31241 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31243 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31246 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31249 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31252 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31253 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31255 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31256 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31258 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31261 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31262 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31264 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31267 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31270 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31271 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31273 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31274 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31276 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31279 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31280 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31282 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31283 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31285 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31286 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31288 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31289 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31291 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31292 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31294 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31295 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31297 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31300 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31301 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31303 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31304 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31306 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31307 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31309 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31310 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31312 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31313 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31315 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31316 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31318 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31319 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31321 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31322 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31324 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31325 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31327 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31328 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31330 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31331 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31333 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31334 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31336 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31337 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31339 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31340 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31342 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31343 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31345 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31348 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31351 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31354 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31357 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31360 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31363 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31366 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31367 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31369 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31372 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31375 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31378 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31381 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31382 return (void *)((wxObject
*) ((wxListItem
*) x
));
31384 static void *_p_wxImageTo_p_wxObject(void *x
) {
31385 return (void *)((wxObject
*) ((wxImage
*) x
));
31387 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31388 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31390 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31391 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31393 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31396 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31397 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31399 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31402 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31403 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31405 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31408 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31411 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31412 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31414 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31415 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31417 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31418 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31420 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31421 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31423 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31426 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31427 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31429 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31432 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31433 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31435 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31436 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31438 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31439 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31441 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31442 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31444 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31445 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31447 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31450 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31453 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31454 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31456 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31459 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31460 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31462 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31463 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31465 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31468 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31471 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31472 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31474 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31477 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31480 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31481 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31483 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31484 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31486 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31487 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31489 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31490 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31492 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31493 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31495 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31496 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31498 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31499 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31501 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31502 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31504 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31505 return (void *)((wxWindow
*) ((wxControl
*) x
));
31507 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31508 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31510 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31511 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31513 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31514 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31516 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31517 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31519 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31520 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31522 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31523 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31525 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31526 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31528 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31529 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31531 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31532 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31534 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31535 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31537 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31538 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31540 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31541 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31543 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31544 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31546 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31547 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31549 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31550 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31552 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31553 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31555 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31556 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31558 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31559 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31561 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31562 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31564 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31565 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31567 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31568 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31570 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31571 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31573 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31574 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31576 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31577 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31579 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31580 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31582 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31583 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31585 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31586 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31588 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31589 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31591 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31592 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31594 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31595 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31597 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31598 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31600 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31601 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31603 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31604 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31606 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31607 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31609 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31610 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31612 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31613 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31615 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31616 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31618 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31619 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31621 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31622 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31624 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31625 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31627 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31628 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31630 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31631 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31633 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31634 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31636 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31637 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31639 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31640 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31642 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31643 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31645 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31646 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31648 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31649 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31651 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31652 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31654 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}};
31655 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}};
31656 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}};
31657 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}};
31658 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}};
31659 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}};
31660 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}};
31661 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}};
31662 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}};
31663 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}};
31664 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}};
31665 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}};
31666 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}};
31667 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}};
31668 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}};
31669 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}};
31670 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}};
31671 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}};
31672 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}};
31673 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}};
31674 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}};
31675 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}};
31676 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}};
31677 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}};
31678 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}};
31679 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}};
31680 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}};
31681 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}};
31682 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}};
31683 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}};
31684 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}};
31685 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}};
31686 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}};
31687 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}};
31688 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}};
31689 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}};
31690 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}};
31691 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}};
31692 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}};
31693 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}};
31694 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}};
31695 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}};
31696 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}};
31697 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}};
31698 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}};
31699 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}};
31700 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}};
31701 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}};
31702 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}};
31703 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}};
31704 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}};
31705 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}};
31706 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}};
31707 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}};
31708 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}};
31709 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}};
31710 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}};
31711 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}};
31712 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}};
31713 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}};
31714 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}};
31715 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}};
31716 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}};
31717 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}};
31718 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}};
31719 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}};
31720 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}};
31721 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}};
31722 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}};
31723 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}};
31724 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}};
31725 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}};
31726 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}};
31727 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}};
31728 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}};
31729 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}};
31730 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}};
31731 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}};
31732 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}};
31733 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}};
31734 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}};
31735 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}};
31736 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}};
31737 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}};
31739 static swig_type_info
*swig_types_initial
[] = {
31740 _swigt__p_wxTextUrlEvent
,
31741 _swigt__p_wxBookCtrlEvent
,
31743 _swigt__p_wxCheckBox
,
31744 _swigt__p_wxPyTreeCtrl
,
31746 _swigt__p_wxGenericDirCtrl
,
31748 _swigt__p_wxPyTreeItemData
,
31749 _swigt__p_wxItemContainer
,
31750 _swigt__p_wxDirFilterListCtrl
,
31751 _swigt__p_wxPyListCtrl
,
31752 _swigt__p_wxStaticLine
,
31753 _swigt__p_wxControl
,
31754 _swigt__p_wxPyControl
,
31756 _swigt__p_wxToolBarBase
,
31758 _swigt__p_wxToggleButton
,
31759 _swigt__p_wxRadioButton
,
31760 _swigt__p_wxChoice
,
31761 _swigt__p_wxMemoryDC
,
31762 _swigt__p_wxListItemAttr
,
31767 _swigt__p_wxListView
,
31769 _swigt__p_wxTextCtrl
,
31770 _swigt__p_wxNotebook
,
31771 _swigt__p_wxNotifyEvent
,
31772 _swigt__p_wxArrayString
,
31773 _swigt__p_wxListbook
,
31774 _swigt__p_wxStaticBitmap
,
31775 _swigt__p_wxSlider
,
31776 _swigt__p_wxStaticBox
,
31777 _swigt__p_wxArrayInt
,
31778 _swigt__p_wxContextHelp
,
31780 _swigt__p_wxEvtHandler
,
31781 _swigt__p_wxListEvent
,
31782 _swigt__p_wxListBox
,
31783 _swigt__p_wxCheckListBox
,
31784 _swigt__p_wxBookCtrl
,
31785 _swigt__p_wxSpinButton
,
31786 _swigt__p_wxButton
,
31787 _swigt__p_wxBitmapButton
,
31789 _swigt__p_wxContextHelpButton
,
31790 _swigt__p_wxRadioBox
,
31791 _swigt__p_wxScrollBar
,
31793 _swigt__p_wxTreeItemId
,
31794 _swigt__p_wxComboBox
,
31795 _swigt__p_wxHelpEvent
,
31796 _swigt__p_wxListItem
,
31797 _swigt__p_wxNotebookSizer
,
31798 _swigt__p_wxSpinEvent
,
31799 _swigt__p_wxGenericDragImage
,
31800 _swigt__p_wxSpinCtrl
,
31801 _swigt__p_wxImageList
,
31802 _swigt__p_wxHelpProvider
,
31803 _swigt__p_wxTextAttr
,
31804 _swigt__p_wxSimpleHelpProvider
,
31806 _swigt__p_wxListbookEvent
,
31807 _swigt__p_wxNotebookEvent
,
31808 _swigt__p_wxObject
,
31809 _swigt__p_wxCursor
,
31810 _swigt__p_wxKeyEvent
,
31811 _swigt__p_wxWindow
,
31812 _swigt__p_wxString
,
31813 _swigt__p_wxBitmap
,
31814 _swigt__p_wxTreeEvent
,
31815 _swigt__p_wxMouseEvent
,
31816 _swigt__p_wxCommandEvent
,
31817 _swigt__p_wxStaticText
,
31818 _swigt__p_wxControlWithItems
,
31819 _swigt__p_wxToolBarToolBase
,
31820 _swigt__p_wxColour
,
31821 _swigt__p_wxToolBar
,
31822 _swigt__p_wxBookCtrlSizer
,
31823 _swigt__p_wxValidator
,
31828 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31830 static swig_const_info swig_const_table
[] = {
31831 {0, 0, 0, 0.0, 0, 0}};
31840 SWIGEXPORT(void) SWIG_init(void) {
31841 static PyObject
*SWIG_globals
= 0;
31842 static int typeinit
= 0;
31845 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31846 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31847 d
= PyModule_GetDict(m
);
31850 for (i
= 0; swig_types_initial
[i
]; i
++) {
31851 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31855 SWIG_InstallConstants(d
,swig_const_table
);
31857 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31858 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31859 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
31860 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
31861 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
31862 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
31863 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
31864 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
31865 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31866 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
31867 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
31868 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31869 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
31870 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
31871 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
31872 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31873 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31874 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31875 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
31876 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
31877 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
31878 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
31879 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31880 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31881 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31882 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31883 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31884 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
31885 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
31886 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
31887 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
31888 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
31889 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
31890 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
31891 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
31892 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
31893 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
31894 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
31895 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
31896 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
31897 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
31898 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
31899 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
31900 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
31901 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
31902 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31903 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31904 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31905 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31906 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31907 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31908 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31909 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31910 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31911 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31912 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31913 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31914 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31915 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
31916 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31917 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31918 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31919 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
31920 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
31921 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
31922 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
31923 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
31924 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
31925 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31926 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31927 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31928 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31929 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31930 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31931 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31932 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
31933 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
31934 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
31935 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
31936 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31937 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31938 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31939 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31940 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31941 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31942 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31943 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
31944 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
31945 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
31946 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
31947 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
31948 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
31949 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
31950 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
31951 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
31952 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
31953 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31954 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31955 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
31956 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
31957 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
31958 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
31959 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
31960 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
31961 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31962 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31963 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
31964 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31965 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
31966 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
31967 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
31968 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
31969 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
31970 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
31971 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
31972 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
31973 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
31974 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
31975 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
31976 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
31977 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31978 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
31979 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
31980 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
31981 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
31982 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
31983 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
31984 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
31985 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
31986 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
31987 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
31988 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
31989 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
31990 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
31991 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
31992 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
31993 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
31994 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
31995 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
31996 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
31997 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
31998 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
31999 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32000 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32001 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32002 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32003 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32004 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32005 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32006 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32007 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32008 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32009 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32010 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32011 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32012 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32013 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32014 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32015 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32016 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32017 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32018 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32019 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32020 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32021 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32022 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32023 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32024 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32025 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32026 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32027 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32028 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32029 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32030 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32031 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32032 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32033 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32034 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32035 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32036 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32037 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32038 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32039 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32040 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32041 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32042 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32043 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32044 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32045 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32046 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32047 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32048 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32049 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32050 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32051 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32052 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32053 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32054 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32055 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32056 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32057 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32058 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32059 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32060 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32061 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32062 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32063 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32064 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32065 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32066 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32067 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32069 // Map renamed classes back to their common name for OOR
32070 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32072 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32073 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32074 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32075 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32076 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32077 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32078 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32079 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32080 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32081 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32082 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32083 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32084 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32085 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32086 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32087 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32088 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32089 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32090 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32091 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32092 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32093 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32094 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32095 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32096 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32097 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32098 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32099 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32100 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32101 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32102 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32103 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32104 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32105 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32106 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32107 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32108 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32109 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32110 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32111 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32112 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32113 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32114 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32115 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32116 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32117 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32118 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32119 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32120 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32121 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32122 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32123 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32124 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32125 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32126 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32127 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32129 // Map renamed classes back to their common name for OOR
32130 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32131 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32133 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32134 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32135 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32136 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32137 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32138 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32139 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32140 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32141 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32142 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32144 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");